Good notes posted by ledermann
RSS feed
16 thanks
Scoped using - more simple way
Regarding to the example from james, there is a more simple way to do this:
user.messages.update_all(:read => true)
Regarding to the example from james, there is a more simple way to do this:
user.messages.update_all(:read => true)