On Tuesday, November 25, 2014 9:02:29 PM UTC, der_tom wrote:
>
> hi, 
>
> im having this:
>   alias_attribute "id" , "No_"
>   alias_attribute "name" , "Name"
>   alias_attribute "name2" , "Name 2"
>   alias_attribute "address" , "Address"
> #  alias_attribute "no_series" , "No Series"
> #  alias_attribute "property_no" , "Property N
>

Model.attribute_aliases returns a hash with all the aliases.

Fred

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/rubyonrails-talk/5e7b82d5-552a-406a-a4a9-103cba7ce093%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to