Ruby on Rails
Tuesday, November 25, 2014
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:
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 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