This app is to reproduce activeadmin/activeadmin#697.
git clone git@github.com:activeadmin/activeadmin_helper_reload_bug.gitbundle installrake db:migraterails server
- go to http://localhost:3000/admin or what ever your host / port is
- you should see
23as value - edit
app/helpers/application_helper.rband change23to42 - reload the dashboard in the browser and you still see
23and not the expected42
- go to http://localhost:3000/admin or what ever your host / port is
- you should see
23as value - edit
app/admin/dashboard.rband renamea_static_valuetoa_other_static_value - edit
app/helpers/application_helper.rband renamea_static_valuetoa_other_static_value - reload the dashboard in the browser and you get this error:
undefined local variable or method `a_other_static_value' for #<ActiveAdmin::Views::Pages::Page:0x007fab52f82ac8>