Sha256: c5b1b9f1627dac9b9f839d9d40554f079c0ed596cc3c68f906d60793e85b64df

Contents?: true

Size: 246 Bytes

Versions: 16

Compression:

Stored size: 246 Bytes

Contents

=begin

  This model is used to test polymorphic associations.

=end

class Animal < ActiveRecord::Base

  ##
  # Validations
  #

  validates :name, :presence => true

  ##
  # Associations
  #

  has_many :image_holders, :as => :imageable

end

Version data entries

16 entries across 16 versions & 1 rubygems

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