204 205 206 207 208 209 210
# File 'lib/ransack/nodes/condition.rb', line 204 def predicate_name=(name) self.predicate = Predicate.named(name) unless negative? attributes.each { |a| context.lock_association(a.parent) } end @predicate end