Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
tree: b437eee41d
Fetching contributors…

Cannot retrieve contributors at this time

16 lines (11 sloc) 0.23 kB
class Category < ActiveRecord::Base
has_and_belongs_to_many :posts
def self.what_are_you
'a category...'
end
end
class SpecialCategory < Category
def self.what_are_you
'a special category...'
end
end
Jump to Line
Something went wrong with that request. Please try again.