In the MySQL table there is an Employees table with the following fields:

legalname : string
phonename : string
nickname : string

and here's my app.en.yml file:

en:
  hello: "Hello world"

  activerecord:
    attributes:
      employee: legalname
        legalname: Legal Name

The idea is to make it so that when I first enter the Employees tab, it will 
use 
the field legalname instead of looking for a field called "name". And to 
relabel 
the field legalname, when viewing or editing an individual employee, to 
something more readable like Legal Name.

The last working file was missing the part "legalname" after "employee:" and it 
did relabel Legal Name correctly.  So I know I'm close.  Instead of seeing 
Employee1 on the intro list...I would like to see "Arthur E. Baldwin" from the 
contents of the database field legalname.

Arthur


      

-- 
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