Sha256: a3925e33a51cb2d3fed3d9605c4f81428bb5f985ebb7721d1977095e532d76de
Contents?: true
Size: 394 Bytes
Versions: 1
Compression:
Stored size: 394 Bytes
Contents
class User < ActiveRecord::Base attr_accessible :email, :password has_many :threads, :class_name => 'Discussion::Thread' has_many :discussion_concernses, :class_name => 'Discussion::Concerns' has_many :received_comments, :class_name => 'Discussion::Comment', through: :discussion_concernses has_many :sent_comments, :class_name => 'Discussion::Comment', foreign_key: 'author_id' end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
discussion-0.0.1 | test/dummy/app/models/user.rb |