Method: Sequel::Model::Associations::ManyToManyAssociationReflection#cloneable?
- Defined in:
- lib/sequel/model/associations.rb
#cloneable?(ref) ⇒ Boolean
one_through_one and many_to_many associations can be clones
1273 1274 1275 |
# File 'lib/sequel/model/associations.rb', line 1273 def cloneable?(ref) ref[:type] == :many_to_many || ref[:type] == :one_through_one end |