1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/activerecord/test/fixtures/post.rb
2005-04-19 05:24:50 +00:00

8 lines
No EOL
165 B
Ruby

class Post < ActiveRecord::Base
belongs_to :author
has_many :comments, :order => "body"
has_and_belongs_to_many :categories
end
class SpecialPost < Post
end