Class: Adminable::Fields::BelongsTo

Inherits:
Base
  • Object
show all
Defined in:
lib/adminable/fields/belongs_to.rb

Instance Attribute Summary

Attributes inherited from Base

#name, #options

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

#keyObject



4
5
6
# File 'lib/adminable/fields/belongs_to.rb', line 4

def key
  "#{name}_id"
end