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 1746075779
Your system is just a path for moving data along.
Home
Notebook
Contact us