lib/ransack/nodes/attribute.rb in ransack-2.4.1 vs lib/ransack/nodes/attribute.rb in ransack-2.4.2
- old
+ new
@@ -28,10 +28,10 @@
parent.respond_to?(:reflection) && parent.reflection.collection?
end
def type
if ransacker
- return ransacker.type
+ ransacker.type
else
context.type_for(self)
end
end