lib/extend_at/models/column.rb in extend_at-0.1.0 vs lib/extend_at/models/column.rb in extend_at-0.1.1

- old
+ new

@@ -1,7 +1,6 @@ class Column < ActiveRecord::Base - set_table_name "extend_at_columns" -# belongs_to :extend_at + self.table_name = "extend_at_columns" belongs_to :column, :polymorphic => true belongs_to :extend_at, :class_name => 'ExtendAt' scope :for_model, lambda { |model| where(:model_id => model.try(:id) || model.to_i) }