Sha256: c97e8d1bff6b9c2c4501eebe1cba7802508a60a1db456fcd8a7ab87971dd1527

Contents?: true

Size: 172 Bytes

Versions: 18

Compression:

Stored size: 172 Bytes

Contents

class Issue < Superstore::Base
  string :description
  string :title

  before_create { self.description ||= 'funny' }

  def self.for_key key
    where_ids(key)
  end
end

Version data entries

18 entries across 18 versions & 1 rubygems

Version Path
superstore-1.2.0 test/support/issue.rb
superstore-1.1.4 test/support/issue.rb
superstore-1.1.3 test/support/issue.rb
superstore-1.1.2 test/support/issue.rb
superstore-1.1.1 test/support/issue.rb
superstore-1.1.0 test/support/issue.rb
superstore-1.0.12 test/support/issue.rb
superstore-1.0.11 test/support/issue.rb
superstore-1.0.10 test/support/issue.rb
superstore-1.0.9 test/support/issue.rb
superstore-1.0.8 test/support/issue.rb
superstore-1.0.7 test/support/issue.rb
superstore-1.0.6 test/support/issue.rb
superstore-1.0.5 test/support/issue.rb
superstore-1.0.4 test/support/issue.rb
superstore-1.0.3 test/support/issue.rb
superstore-1.0.2 test/support/issue.rb
superstore-1.0.0 test/support/issue.rb