enum

Ralph::DependentBehavior

Inherits Enum / Comparable / Value / Object

Dependent behavior options for associations

Constants

None = 0
Destroy = 1
Delete = 2
Nullify = 3
RestrictWithError = 4
RestrictWithException = 5

Instance methods

delete?

Returns true if this enum value equals Delete

Source
destroy?

Returns true if this enum value equals Destroy

Source
none?

Returns true if this enum value equals None

Source
nullify?

Returns true if this enum value equals Nullify

Source
restrict_with_error?

Returns true if this enum value equals RestrictWithError

Source
restrict_with_exception?

Returns true if this enum value equals RestrictWithException

Source