huacnlee / rails-settings-cached

Global settings for your Rails application.
Other
1.06k stars 202 forks source link

update cache when setting a value #88

Closed mameier closed 8 years ago

mameier commented 8 years ago

Update the Rails cache as soon as a value is set.

This solves the transaction issues especially in Rails 4.2 tests.

miks commented 8 years ago

1) there is no tests for you changes 2) what kind of issues do you have with Rails 4.2 and cached settings tests?

mameier commented 8 years ago

My changes are included in #86. justin808 also wrote a test for it (thanx). So this change is already in the current gem 0.5.4