You should be able to replace "this_field.to_s.titleize" with "this_field_name".

Bryan


On Wed, Jan 4, 2012 at 1:21 PM, Ricardo Mejia <[email protected]> wrote:
> Hello everyone, i'm in need of a little help.
>
> I was following this post on how to make attributes with the attr_readonly
> property show in an edit form, and everything worked.
> However, my application is in Spanish. I have edited the app.en.yml and
> hobo.en.yml so that all the attributes' name appear in Spanish. If I use the
> code Tom provided in that post, all the attributes' name return to defaults
> as if the yml files are being ignored. Any suggestions?
>
> --
> You received this message because you are subscribed to the Google Groups
> "Hobo Users" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected].
> For more options, visit this group at
> http://groups.google.com/group/hobousers?hl=en.

-- 
You received this message because you are subscribed to the Google Groups "Hobo 
Users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/hobousers?hl=en.

Reply via email to