2017-07-23 15:36:41 +00:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
2013-04-16 22:06:11 +00:00
|
|
|
class Developer < ActiveRecord::Base
|
|
|
|
has_and_belongs_to_many :projects
|
|
|
|
has_many :replies
|
2016-08-06 17:36:34 +00:00
|
|
|
has_many :topics, through: :replies
|
2013-04-16 22:06:11 +00:00
|
|
|
accepts_nested_attributes_for :projects
|
|
|
|
end
|