Forum: Ruby on Rails sanitize_name

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
Newb N. (Guest)
on 2009-04-10 10:31
Hi ...

i found this below code somewhere...

And Curious to know

UserInfo.sanitize_name( first_name ) \
                       unless name.nil? or name.blank?

Actually what it does and wht it returns...
Kindly Guide Me...

Thanks
This topic is locked and can not be replied to.