lib/ransack/nodes/attribute.rb in ransack-1.6.6 vs lib/ransack/nodes/attribute.rb in ransack-1.7.0

- old
+ new

@@ -20,10 +20,10 @@ end def valid? bound? && attr && context.klassify(parent).ransackable_attributes(context.auth_object) - .include?(attr_name) + .include?(attr_name.split('.').last) end def type if ransacker return ransacker.type