Is it possible to titleize in IRB?

Posted by Trip on Stack Overflow See other posts from Stack Overflow or by Trip
Published on 2010-06-14T16:38:17Z Indexed on 2010/06/14 16:42 UTC
Read the original article Hit count: 182

Filed under:
|

I tried this :

User.find(1).update_attribute('first_name', '#{first.name.titleize}')

=> /#{first.name.titleize}

I am not sure any other way to do this.

Many thanks

© Stack Overflow or respective owner

Related posts about ruby-on-rails

Related posts about irb