rails-edc0b2b80b55/activerecord/lib/active_record/railtie.rb:102:in block in <class:Railtie>': undefined methodeach' for "[MISSING] activerecord.attributes":String (NoMethodError)
block in <class:Railtie>': undefined method
My key value backed automatically stores missing key with stub translation. For example here I18n.t(:"activerecord.attributes") stores and returns "[MISSING] activerecord.attributes" translation. So it returns string, and each method fails. Code that fails added in c19bd4f. before this commit it was ok.
@josevalim this is the problem that is breaking the build also ❤️
I thought "activerecord.attributes" is some kind of a "reserved" namespace that is used by rails internally, isn´t it?! Therefor I find it a bit strange to treat this key as a normal key in which you store (stub) translations.
Make sure to have a Hash under the i18n keys 'activerecord.attributes…
…' and 'activerecord.models' as this might not always be the case. See issue #1662.
Do you think this is enough? @josevalim
This issue can be closed due to #1675
Fix JSON decoder date-converter regexp [#1662 state:resolved] [Jonath…
…an del Strother]