Sha256: 4774ccd90ff1bebdc08a412bcf3aaa059eb2fafc2daf8a74756362b39f484f1d
Contents?: true
Size: 596 Bytes
Versions: 10
Compression:
Stored size: 596 Bytes
Contents
module EnjuCirculation module EnjuUserGroup extend ActiveSupport::Concern included do has_many :user_group_has_checkout_types, dependent: :destroy has_many :checkout_types, through: :user_group_has_checkout_types has_many :lending_policies accepts_nested_attributes_for :user_group_has_checkout_types, :allow_destroy => true, :reject_if => :all_blank validates_numericality_of :number_of_day_to_notify_due_date, :number_of_day_to_notify_overdue, :number_of_time_to_notify_overdue, :greater_than_or_equal_to => 0 end end end
Version data entries
10 entries across 10 versions & 1 rubygems