Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
16 lines (11 sloc) 230 Bytes
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.