ms
unread,Nov 11, 2008, 9:33:55 AM11/11/08Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Ruby on Rails: Talk
Hello,
thanks for reading this. :) I've got some problems with RJS in
separate files. What's the correct extension? When I name it *.rjs /
*.js.rjs, Ruby on Rails complains that it in not able to find a
*.js.erb template. But when I name it *.js.erb, nothing is translated
to javascript, only the raw text is given back to the client. When I
try inline RJS directly in my controllers with "render :update ...",
it runs perfectly. What am I doing wrong?
Really thank you for any answers.
ms