Class: Adminable::Fields::BelongsTo
- Defined in:
- lib/adminable/fields/belongs_to.rb
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
Methods inherited from Base
#form_partial_path, #index_partial_path, #initialize, #ransack_name, #strong_parameter, #type
Constructor Details
This class inherits a constructor from Adminable::Fields::Base
Instance Method Details
#key ⇒ Object
4 5 6 |
# File 'lib/adminable/fields/belongs_to.rb', line 4 def key "#{name}_id" end |