I assume you are using a linux system or something like that. I would
just use grep. Something like 'find . -name \*rb|xargs grep
alias_attribute'.
Of course I am an old Unix guy and there might be some other way of
getting it.
Norm
On 11/25/2014 02:01 PM, 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
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 [email protected]
<mailto:[email protected]>.
To post to this group, send email to [email protected]
<mailto:[email protected]>.
To view this discussion on the web visit
https://groups.google.com/d/msgid/rubyonrails-talk/CADQqhMdJ5%3D4YbwbOoArJKXi-ZbRGpTxduaTTQp%2BLDvbQ1TvHHg%40mail.gmail.com
<https://groups.google.com/d/msgid/rubyonrails-talk/CADQqhMdJ5%3D4YbwbOoArJKXi-ZbRGpTxduaTTQp%2BLDvbQ1TvHHg%40mail.gmail.com?utm_medium=email&utm_source=footer>.
For more options, visit https://groups.google.com/d/optout.
--
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/547500B7.9060805%40earthlink.net.
For more options, visit https://groups.google.com/d/optout.