Method: Ransack::Nodes::Attribute#associated_collection?

Defined in:
lib/ransack/nodes/attribute.rb

#associated_collection?Boolean

Returns:

  • (Boolean)


27
28
29
# File 'lib/ransack/nodes/attribute.rb', line 27

def associated_collection?
  parent.respond_to?(:reflection) && parent.reflection.collection?
end