On May 30, 5:31 pm, Jonathan Rochkind <rails-mailing-l...@andreas-
s.net> wrote:
> Curious if someone in the Rails community has figured out a good way to
> accomplish what Rails helpers do (controller logic in the controller
> instead of view, DRY for js idioms, etc) but in an "unobtrusive" idiom
> where no JS (apart from <script src> to load external js) is embedded in
> the HTML. It's not entirely obvious how to accomplish this, but I think
> it's probably possible, probably using some design where the actual
> external js files are dynamically created themselves, not just static on
> disk.
That's what the UJS plugin does/did (and the rails helpers in rails 3
will apparently be more unobtrusive)
Fred
> --
> Posted viahttp://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
-~----------~----~----~----~------~----~------~--~---