module CustomFields::Types::BelongsTo::Field
Public Instance Methods
belongs_to_is_relationship?()
click to toggle source
# File lib/custom_fields/types/belongs_to.rb, line 14 def belongs_to_is_relationship? type == 'belongs_to' end
belongs_to_to_recipe()
click to toggle source
# File lib/custom_fields/types/belongs_to.rb, line 10 def belongs_to_to_recipe { 'class_name' => class_name, 'inverse_of' => inverse_of } end