Displaying 1 result from an estimated 1 matches for "attribute_column_nam".
Did you mean:
  attribute_column_names
  
2010 Nov 19
1
Help: delegated association 'App' returning ActionDispatch::Integration::Session instead
class Foo < ActiveRecord::Base
  has_one :bar
  delegate :app, :to => :bar
end
class Bar < ActiveRecord::Base
  belongs_to :app
  def self.attribute_column_names
    return @@attr_columns if defined?(@@attr_columns)
    readers = content_columns.map { |n| n.name.intern } -
[:created_at,:updated_at]
    @@attr_columns ||= readers.map { |k| [k, "#{k}=".to_sym] }.flatten
  end
end
This all worked fine until in the console in my staging and produc...