app/models/katalyst/tables/suggestions/database_value.rb in katalyst-tables-3.6.2 vs app/models/katalyst/tables/suggestions/database_value.rb in katalyst-tables-3.7.0
- old
+ new
@@ -2,19 +2,15 @@
module Katalyst
module Tables
module Suggestions
class DatabaseValue < Base
- attr_reader :model, :column
-
delegate :to_param, to: :@attribute_type
- def initialize(name:, type:, model:, column:, value:)
+ def initialize(name:, type:, value:)
super(value)
@attribute_type = type
- @model = model
- @column = column
@name = name
end
def type
:database_value