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 1732363994
Using text data files.
Home
Notebook
Contact us