Sha256: a8d7be406988411a49b45dec78461631211d16cf5d38a6f6da8c666545260131

Contents?: true

Size: 239 Bytes

Versions: 4

Compression:

Stored size: 239 Bytes

Contents

# RailsSettings Model
class <%= class_name %> < RailsSettings::Base
  source Rails.root.join("config/app.yml")

  # When config/app.yml has changed, you need change this prefix to v2, v3 ... to expires caches
  # cache_prefix { "v1" }
end

Version data entries

4 entries across 4 versions & 2 rubygems

Version Path
jdx-rails-settings-0.7.4 lib/generators/settings/templates/model.rb
rails-settings-cached-0.7.2 lib/generators/settings/templates/model.rb
rails-settings-cached-0.7.1 lib/generators/settings/templates/model.rb
rails-settings-cached-0.7.0 lib/generators/settings/templates/model.rb