Sha256: ac7356922365d1b86b599f6641e44a270a5c21cf69f24e97640549db5fde297d

Contents?: true

Size: 165 Bytes

Versions: 6

Compression:

Stored size: 165 Bytes

Contents

class User < ActiveRecord::Base
  has_many :events

  has_many :collaborated_events,
    through: :collaborations,
    source: :user
  has_many :collaborations

end

Version data entries

6 entries across 6 versions & 2 rubygems

Version Path
lazy_crud-0.9.2 spec/support/rails_app/app/models/user.rb
lazy_crud-0.9.1 spec/support/rails_app/app/models/user.rb
lazy_crud-0.9.0 spec/support/rails_app/app/models/user.rb
authorizable-0.9.2 spec/support/rails_app/app/models/user.rb
authorizable-0.9.1 spec/support/rails_app/app/models/user.rb
authorizable-0.9.0 spec/support/rails_app/app/models/user.rb