nolifetillpleather
2007-Jan-24 00:27 UTC
Is it bad to create a lot of instance variables from a view?
I have this need to use in_place_editor on a page that shows/edits many objects of the same model. the easy way I found to do this (using a basic example): <% for @posts in @topic.posts %> <%= in_place_editor_field :post, :title %> <% end %> sinful? --~--~---------~--~----~------------~-------~--~----~ 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---