lib/ransack/nodes/attribute.rb in ransack-1.2.3 vs lib/ransack/nodes/attribute.rb in ransack-1.3.0

- old
+ new

@@ -3,11 +3,11 @@ class Attribute < Node include Bindable attr_reader :name - delegate :blank?, :present?, :==, to: :name - delegate :engine, to: :context + delegate :blank?, :present?, :==, :to => :name + delegate :engine, :to => :context def initialize(context, name = nil) super(context) self.name = name unless name.blank? end