Skip to content

Latest commit

 

History

History
71 lines (38 loc) · 1.28 KB

File metadata and controls

71 lines (38 loc) · 1.28 KB

For Rails 4.1 +

0.5.2

  • Gem spec require Ruby 2.0+; @alexanderadam
  • Include defaults in get_all call; @alexanderadam

0.5.0

  • Allow setting dynamic cache prefix. So that settings can be arbitrarily scoped based on some context (e.g. current tenant). @artemave

0.4.6

  • Fix scoped cache key name.

0.4.5

  • Cache db values that does not exist within rails cache.

0.4.4

  • Add cached to model scoped settings.

0.4.3

  • Fix Rails 4.2.4 after_rollback/after_commit depreciation warnings. @miks

0.4.2

  • Ruby new hash syntax and do not support Ruby 1.9.2 from now.
  • Cache key has changed with rails_settings_cached prefix.

0.4.1

  • ActiveRecord table_name_prefix support; #31

0.4.0

  • Rails 4.1.0 compatibility.
  • Setting.all -> Setting.get_all

For Rails 4.0 +

0.3.2

  • Enable destroy-ing a key with falsy data; #32
  • Require Rails 4.0.0+;

0.3.1

  • false value can't got back bug has fixed.

0.3.0

  • Fix to work with Rails 4.0.0

For Rails 3.x

0.2.4

  • Setting.save_default method to direct write default value in database.
  • fix mass-update bug.

0.2.3

  • Fix bug with when key has cached a nil value, and then set a default value for that key, the default value can't right return.

0.2.2

  • Add auto cache feature to all key visit.