lib/generators/settings/templates/model.rb in rails-settings-cached-0.6.6 vs lib/generators/settings/templates/model.rb in rails-settings-cached-0.7.0
- old
+ new
@@ -1,5 +1,7 @@
# RailsSettings Model
class <%= class_name %> < RailsSettings::Base
source Rails.root.join("config/app.yml")
- namespace Rails.env
+
+ # When config/app.yml has changed, you need change this prefix to v2, v3 ... to expires caches
+ # cache_prefix { "v1" }
end