Hi. I’d like to know how can i do a rollback after a
Table.new(params:id)?
thank you
Hi. I’d like to know how can i do a rollback after a
Table.new(params:id)?
thank you
On 11/30/05, Christian G. [email protected]
[email protected] wrote:
Hi. I’d like to know how can i do a rollback after a
Table.new(params:id)?
You need to put it into a transaction:
Table.transaction do
Table.new(…)
end
Thanks christian!
It worked like charm!
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.
Sponsor our Newsletter | Privacy Policy | Terms of Service | Remote Ruby Jobs