diff options
author | Ryuta Kamizono <kamipo@gmail.com> | 2018-02-06 10:45:06 +0900 |
---|---|---|
committer | Ryuta Kamizono <kamipo@gmail.com> | 2018-02-06 22:32:03 +0900 |
commit | 06d04bc237600c9a524e45609280c1b46c271e18 (patch) | |
tree | 86c401e837931bcbc5101a86924f15093b3eff31 /railties/exe | |
parent | 83c1ed9a1a11196cab66d9c44a56a902ca0710e4 (diff) | |
download | rails-06d04bc237600c9a524e45609280c1b46c271e18.tar.gz rails-06d04bc237600c9a524e45609280c1b46c271e18.tar.bz2 rails-06d04bc237600c9a524e45609280c1b46c271e18.zip |
Invoke `load_schema` in `_default_attributes`
Currently `_default_attributes` doesn't work unless `load_schema` is
called before.
The `MissingAttributeError` is caused by `reload_schema_from_cache` is
invoked by `serialize`.
I added `load_schema` in `_default_attributes` to `_default_attributes`
works without any dependency like `attribute_types` etc.
Closes #31905.
Diffstat (limited to 'railties/exe')
0 files changed, 0 insertions, 0 deletions