lib/ransack/adapters/active_record/3.0/context.rb
def type_for(attr)
          return nil unless attr && attr.valid?
          klassify(attr.parent)
          .columns_hash[attr.arel_attribute.name.to_s]
          .type
        end
# Because the AR::Associations namespace is insane
Because the AR::Associations namespace is insane
Because the AR :: Associations namespace is insane
def type_for(attr)
          return nil unless attr && attr.valid?
          klassify(attr.parent)
          .columns_hash[attr.arel_attribute.name.to_s]
          .type
        end
def type_for ( attr ) return nil unless attr && attr . valid? klassify ( attr . parent ) . columns_hash [ attr . arel_attribute . name . to_s ] . type end
Because the AR::Associations namespace is insane
Because the AR :: Associations namespace is insane
attr