Notes posted by ledermann
RSS feed
ledermann -
September 17, 2010 - (<= v2.3.8)
1 thank
No Layout (fixed typo)
@wiseleyb: Seems to be a typo, should be:
render_to_string(:action => "users/profile", :layout => false)
ledermann -
July 29, 2008 - (v2.1.0)
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)