Multiple ActiveRecord updates on one form

Nov 07, 2005 15:23

I have seen the question posed about how to update multiple ActiveRecord object in one form post using the rails way of doing things... Well you can't quite do it natively, but close enough that it isn't much hassle. Just use non-model tags on the page, but id them like an ActiveRecord tag would. So instead of: <%= text_field :object, :attr, :size ( Read more... )

Leave a comment

Comments 1

jimmytheweak November 7 2005, 22:10:34 UTC
This makes me sick. Just sick!

Reply


Leave a comment

Up