In the code below I don’t understand:
- Why I have to prepend overriden method content_columns with “self.”
to get it working?
- Why column_for_attribute method is not working (no such method?) even
if SomeTable is subclass of ActiveRecord::Base which have public
class SomeTable < ActiveRecord::Base
column = column_for_attribute(‘sometable_id’)
Any help is appreciated.