Forum: Ruby on Rails newbie question about .titlecase of .titleize

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
Mark S. (Guest)
on 2006-01-03 13:43
i just started to work with ROR, and made a form with scaffolding.
I achieved to add some extra inputvalidation but i also want to add some
code that changes some specific textfields with the .titlecase /
.titleize and then stores it to the database.

I had to add the validation code to the model file, is this also the
place to add the titlecase ?
the columname of the regarding textfield is last_name(db)/lastname(ror)
This topic is locked and can not be replied to.