Sha256: 24ef0b05188315a9cc355aa56925e1e45fa70da6f6b07b8dc7155a3387a107a2

Contents?: true

Size: 293 Bytes

Versions: 13

Compression:

Stored size: 293 Bytes

Contents

=begin

  This model is not enabled in typus but is used to test things things like:

    - Single Table Inheritance

=end

class Entry < ActiveRecord::Base

  ##
  # Validations
  #

  validates :title, :presence => true

  ##
  # Associations
  #

  has_and_belongs_to_many :categories

end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
typus-3.0.11.rc5 test/fixtures/rails_app/app/models/entry.rb
typus-3.0.11.rc4 test/fixtures/rails_app/app/models/entry.rb
typus-3.0.11.rc3 test/fixtures/rails_app/app/models/entry.rb
typus-3.1.0.rc4 test/fixtures/rails_app/app/models/entry.rb
typus-3.1.0.rc3 test/fixtures/rails_app/app/models/entry.rb
typus-3.1.0.rc2 test/fixtures/rails_app/app/models/entry.rb
typus-3.0.11.rc2 test/fixtures/rails_app/app/models/entry.rb
typus-3.0.11.rc1 test/fixtures/rails_app/app/models/entry.rb
typus-3.1.0.rc1 test/fixtures/rails_app/app/models/entry.rb
typus-3.0.10 test/fixtures/rails_app/app/models/entry.rb
typus-3.0.9 test/fixtures/rails_app/app/models/entry.rb
typus-3.0.8 test/fixtures/rails_app/app/models/entry.rb
typus-3.0.7 test/fixtures/rails_app/app/models/entry.rb