Sha256: 1ad32393280ea17a1876bd6a80a60dc1ac10e016aaac0148bde5de8c29b9f7e5

Contents?: true

Size: 298 Bytes

Versions: 3

Compression:

Stored size: 298 Bytes

Contents

class Article < StaticRecord::Base
  table       :articles
  path        Rails.root.join('app', 'models', 'articles', '**', '*.rb')
  primary_key :name

  columns     name:       :string,
              author:     :string,
              rank:       :integer,
              important:  :boolean
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
static-record-1.0.1 spec/test_app/app/models/article.rb
static-record-1.0.0 spec/test_app/app/models/article.rb
static-record-1.0.0.pre.4 spec/test_app/app/models/article.rb