module CustomFields::Types::HasMany::Field

Public Instance Methods

has_many_is_relationship?() click to toggle source
# File lib/custom_fields/types/has_many.rb, line 14
def has_many_is_relationship?
  type == 'has_many'
end
has_many_to_recipe() click to toggle source
# File lib/custom_fields/types/has_many.rb, line 10
def has_many_to_recipe
  { 'class_name' => class_name, 'inverse_of' => inverse_of, 'order_by' => order_by }
end