Sha256: 0220fa31455b6de16128016f8c98259a7fabaea3b24701d6791171a4865dae53
Contents?: true
Size: 391 Bytes
Versions: 2
Compression:
Stored size: 391 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 ## # Macros # has_trash ## # Validations # validates :title, :presence => true ## # Associations # has_and_belongs_to_many :categories ## # Scopes # default_scope where(:deleted_at => nil) end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
typus-3.1.0.rc6 | test/fixtures/rails_app/app/models/entry.rb |
typus-3.1.0.rc5 | test/fixtures/rails_app/app/models/entry.rb |