Ruby on Rails
Tuesday, November 25, 2014
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
in my active record model.
now i need a list of all the columnames which have been aliased.
any ideas?
thx
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 rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CADQqhMdJ5%3D4YbwbOoArJKXi-ZbRGpTxduaTTQp%2BLDvbQ1TvHHg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment