@user.role = "moderator" if current_user.admin?
Sent with Sparrow (http://www.sparrowmailapp.com/?sig)
On Thursday, November 3, 2011 at 5:09 PM, newrails user wrote:--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to email@example.com.
To unsubscribe from this group, send email to firstname.lastname@example.org.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.