Sha256: dafe855088b518946b2ce2cb74715ede1514015a91a503697e65c7c6c8bea3c2

Contents?: true

Size: 107 Bytes

Versions: 8

Compression:

Stored size: 107 Bytes

Contents

class UserMeeting < ActiveRecord::Base
  validates :starts_at, :ends_at, overlap: { scope: 'user_id' }
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
validates_overlap-1.0.0 spec/dummy/app/models/user_meeting.rb
validates_overlap-0.8.6 spec/dummy/app/models/user_meeting.rb
validates_overlap-0.8.5 spec/dummy/app/models/user_meeting.rb
validates_overlap-0.8.4 spec/dummy/app/models/user_meeting.rb
validates_overlap-0.8.2 spec/dummy/app/models/user_meeting.rb
validates_overlap-0.8.1 spec/dummy/app/models/user_meeting.rb
validates_overlap-0.8.0 spec/dummy/app/models/user_meeting.rb
validates_overlap-0.7.0 spec/dummy/app/models/user_meeting.rb