In an effort to keep our application.rb file as close to a default rails app as possible, we chose to configure console1984 in an initializer using a Rails.application.reloader.to_prepare block.
Rails.application.reloader.to_preparse do
Rails.application.configure do
config.console1984.incinerate = false
end
end
What we found out though is that the falsey values are not persisted. The current behavior of set_from is such that not present values are not assigned. I've opened a PR that aligns the behavior of console1984 with the behavior in audits1984.
In an effort to keep our
application.rbfile as close to a default rails app as possible, we chose to configure console1984 in an initializer using aRails.application.reloader.to_prepareblock.What we found out though is that the
falseyvalues are not persisted. The current behavior ofset_fromis such that not present values are not assigned. I've opened a PR that aligns the behavior of console1984 with the behavior in audits1984.