Skip to navigation
How to delete an activerecord result with rails?
07.12.13
The activerecord is a hash, so by using a ruby hash method you can delete or manipulate the results. example: @myGirlFriendsObj.delete_if { |key, value| key.age > 40 }
Reply
Anonymous
How to delete a activerecord result with rails?
The activerecord is a hash so by using a ruby hash method you can delete or manipulate the results. example: @myGirlFriendsObj.delete_if { |key, value| key.age > 40 }
07.12.13
Reply
Anonymous
Information Epoch 1784157387
Design for the future, because it will be here sooner than you think.
Home
Notebook
Contact us