File tree Expand file tree Collapse file tree 2 files changed +7
-0
lines changed
Expand file tree Collapse file tree 2 files changed +7
-0
lines changed Original file line number Diff line number Diff line change 22
33## master
44
5+ - Address NameError: instance variable @secrets not defined issue ([ @fbuys ] [ ] )
6+
57## 2.7.1 (2025-02-24)
68
79- Suppress required validations when running Rails credentials commands. ([ @palkan ] [ ] )
Original file line number Diff line number Diff line change @@ -28,6 +28,11 @@ def secrets
2828 # Reset secrets state if the app hasn't been initialized
2929 # See https://github.com/palkan/anyway_config/issues/14
3030 next if ::Rails . application . initialized?
31+
32+ # Address unable to load application: NameError: instance variable @secrets
33+ # not defined
34+ next unless ::Rails . application . instance_variable_defined? ( :@secrets )
35+
3136 ::Rails . application . remove_instance_variable ( :@secrets )
3237 end
3338 end
You can’t perform that action at this time.
0 commit comments