aboutsummaryrefslogblamecommitdiffstats
path: root/actionview/test/fixtures/developer.rb
blob: 1a686a33ce787681fd6aa0c3c4773fba4b15eaf7 (plain) (tree)
1
2
3
4
5
6


                                    
                                     

                                         
class Developer < ActiveRecord::Base
  has_and_belongs_to_many :projects
  has_many :replies
  has_many :topics, through: :replies
  accepts_nested_attributes_for :projects
end