Sha256: 750b139e5d313fbeed3f9c79680bb77375ad9d0e7f07fe3409604c2985a7b30f

Contents?: true

Size: 230 Bytes

Versions: 5

Compression:

Stored size: 230 Bytes

Contents

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

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
activerecord-1.13.0 test/fixtures/category.rb
activerecord-1.12.2 test/fixtures/category.rb
activerecord-1.12.1 test/fixtures/category.rb
activerecord-1.13.1 test/fixtures/category.rb
activerecord-1.13.2 test/fixtures/category.rb