abc895b828
f8783abf0c
cdf88b7b04
057cf4918b
fdd268138a
1
2
3
4
5 6
7 8
class Post < ActiveRecord::Base belongs_to :author has_many :comments, :order => "body" has_and_belongs_to_many :categories end class SpecialPost < Post end