[Rails] Re: Moving a record
by Matthew Isleb other posts by this author
Aug 13 2007 2:27PM messages near this date
[Rails] Re: Moving a record
|
[Rails] self. vs. @
wiz561@[...].com wrote:
>
> MainArchive.create(Response.find(params[:id]).destroy.attributes).save
You shouldn't have to do that final save. create() saves for you.
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Ta
lk" group.
To post to this group, send email to rubyonrails-talk@[...].com
To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe@[...].com
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---
Thread:
Wiz561@Gmail.Com
Matthew Isleb
Wiz561@Gmail.Com
Matthew Isleb
|