Displaying 1 result from an estimated 1 matches for "sometable_id".
2006 Jan 30
1
how to get column_for_attribute?
.... Why column_for_attribute method is not working (no such method?) even
if SomeTable is subclass of ActiveRecord::Base which have public
column_for_attribute method?
> class SomeTable < ActiveRecord::Base
>
> def self.content_columns
> column = column_for_attribute(''sometable_id'')
> super
> end
> end
Any help is appreciated.
Bojan Mihelac
--
Bojan Mihelac
Informatika Mihelac, Bojan Mihelac s.p. | www.informatikamihelac.com
-> tools, scripts, tricks from our code lab: http://source.mihelac.org