[Rails] .rjs template doesn't load?

Tom Wilcoxen tomwilcoxen at gmail.com
Tue Feb 7 15:22:28 GMT 2006


Josh,

Just a couple other quick notes.

* Make sure you don't have an .rhtml template with the same name as it
would obscure the .rjs template.

* If in your controller you might render different views depending on
something, be sure to call it with a return, e.g.:

  render :partial => "myview" and return

-Tom

On 2/6/06, Joshua Gitlin <josh at digitalfruition.com> wrote:
> Ok. Scratch that. Part of the problem was bad file permissions! =o
>
> I am still having trouble but will play around a little more.
>
> -Josh
> -----------


More information about the Rails mailing list