I’m having some trouble overriding/defining the default_field_options
constant without raising a warning. I’ve tried adding the code to do
it in an initializer but that produces a warning (because the constant
is already frozen), after some googling I found a recommendation to
put it in the environment.rb file but that then that throws
uninitialized constant ActionView (NameError)
which prevents the app from starting all together.
Any solution to this would be excellent. Thanks.