Method: Sequel::Plugins::ManyThroughMany::ManyThroughManyAssociationReflection#cloneable?

Defined in:
lib/sequel/plugins/many_through_many.rb

#cloneable?(ref) ⇒ Boolean

many_through_many and one_through_many associations can be clones

Returns:

  • (Boolean)


87
88
89
# File 'lib/sequel/plugins/many_through_many.rb', line 87

def cloneable?(ref)
  ref[:type] == :many_through_many || ref[:type] == :one_through_many
end