Displaying 1 result from an estimated 1 matches for "find_for_create_modifi".
Did you mean:
find_for_create_modify
2006 May 27
2
ActiveRecord::Base::find_for_create_modify
Hi,
for some models I found that it''s easier to share the controller new and
update code just to share the view code. At the front of every such
action function I have to lookup if the object already exists, if so
"find" it from the database and update the "attributes=". If there is no
such object, "new" it with the attributes I''ve got from the