rails/actionpack/test/fixtures/developer.rb

10 lines
213 B
Ruby

class Developer < ActiveRecord::Base
has_and_belongs_to_many :projects
has_many :replies
has_many :topics, :through => :replies
end
class DeVeLoPeR < ActiveRecord::Base
self.table_name = "developers"
end