lib/avo/fields/has_base_field.rb in avo-2.5.2.pre.6 vs lib/avo/fields/has_base_field.rb in avo-2.5.2.pre.7
- old
+ new
@@ -1,17 +1,15 @@
module Avo
module Fields
class HasBaseField < BaseField
attr_accessor :display
attr_accessor :scope
- attr_accessor :attach_scope
attr_accessor :description
def initialize(id, **args, &block)
super(id, **args, &block)
@scope = args[:scope].present? ? args[:scope] : nil
- @attach_scope = args[:attach_scope].present? ? args[:attach_scope] : nil
@display = args[:display].present? ? args[:display] : :show
@searchable = args[:searchable] == true
@description = args[:description]
end