Class: Compony::ModelFields::Integer

Inherits:
Base
  • Object
show all
Defined in:
lib/compony/model_fields/integer.rb

Instance Attribute Summary

Attributes inherited from Base

#extra_attrs, #model_class, #name, #schema_key

Instance Method Summary collapse

Methods inherited from Base

#association?, #initialize, #label, #multi?, #ransack_filter_input, #schema_line, #simpleform_input, #simpleform_input_hidden, #transform_and_join, #value_for

Constructor Details

This class inherits a constructor from Compony::ModelFields::Base

Instance Method Details

#ransack_filter_nameObject



4
5
6
# File 'lib/compony/model_fields/integer.rb', line 4

def ransack_filter_name
  :"#{@name}_eq"
end