deleted settings are cached in the front end until another setting is created
gajeev opened this issue · 1 comments
gajeev commented
- Through the admin backend I create a setting call s1 and set it to true
- I look at <%= debug ::Refinery::Setting.get(:s1) %> and I get ---true ...so far so good
- I then delete the setting through the admin back end and reload the view and I still get ---true - even though looking at the refinery_settings table the record is gone, i've even tried restarting the rails server process
- If I then create a new arbitrary setting called something else and then reload the <%= debug ::Refinery::Setting.get(:s1) %> view, I now get --- !!null - which I was expecting in step 3