Joshua Mckinney wrote:
[...]
> Personally I don't like working with rjs , unless I have to, and I
> usually convert that code over to a js.erb file if I can.

Just a short note.  I think I share your dislike of RJS (though I have 
recently noticed a few things that may make me rethink that opinion), 
but I believe that js.erb is a bigger problem.  If you're dynamically 
building your JavaScript, something is wrong.  You should be able to 
pass in variables through the DOM and leave your JS files completely 
static (with no need for ERb).

Best,
--
Marnen Laibow-Koser
http://www.marnen.org
[email protected]
-- 
Posted via http://www.ruby-forum.com/.

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to