- 15 2月, 2018 2 次提交
-
-
由 Rafael Mendonça França 提交于
[ci skip]
-
由 Rafael Mendonça França 提交于
-
- 14 2月, 2018 3 次提交
-
-
由 Ryuta Kamizono 提交于
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.
-
由 Rafael Mendonça França 提交于
-
由 Rafael França 提交于
Bump i18n to 1.0
-
- 13 2月, 2018 6 次提交
-
-
由 George Claghorn 提交于
-
由 Yuji Yaginuma 提交于
Don't overwrite config/master.key even on --force
-
由 Rafael França 提交于
Add ActiveStorage::Blob.unattached scope
-
由 Joseph Page 提交于
[ci skip] Closes #31967 cherry-pick c01c38ef
-
由 Yuji Yaginuma 提交于
Incompatible settings are included in the settings set by `load_defaults`. So, I think that target version should be updated by a user when becomes available, and should not be updated with `app:update`.
-
由 Rafael França 提交于
ActiveStorage: use full class names when including concerns to avoid collisions
-
- 12 2月, 2018 4 次提交
-
-
由 Ryuta Kamizono 提交于
Fix marshaling of models with `has_many :through` associations
-
由 George Claghorn 提交于
-
由 Yuji Yaginuma 提交于
Respect --force option for config/master.key
-
由 fatkodima 提交于
-
- 10 2月, 2018 2 次提交
-
-
由 Yuji Yaginuma 提交于
Use heredoc with credentials template
-
由 Rafael Mendonça França 提交于
Before, if the application defined after an engine this method would not recognize the route since it was not defined insdie the engine.
-
- 09 2月, 2018 1 次提交
-
-
由 Eileen M. Uchitelle 提交于
Document :combine_options
-
- 08 2月, 2018 8 次提交
-
-
由 George Claghorn 提交于
Add docs on how to configure Active Storage
-
由 yuuji.yaginuma 提交于
Without this require, an error occurs when executing only `duration_test.rb`. Ref: https://travis-ci.org/rails/rails/jobs/338817558#L2205-L2210
-
由 Yuji Yaginuma 提交于
Fixes #31917
-
由 claudiob 提交于
[ci skip]
-
由 George Claghorn 提交于
Fix `blob.service_url` for supports string type `:filename` option
-
由 Javan Makhmali 提交于
Include source code in published activestorage npm package
-
由 Matthew Draper 提交于
Refer to a stable release of SDoc
-
由 Rafael França 提交于
Fix yaml deserialization of ActiveSupport::Duration
-
- 06 2月, 2018 4 次提交
-
-
由 fatkodima 提交于
-
由 fatkodima 提交于
-
由 Jeremy Daer 提交于
Use `serialize_entry` throughout and introduce `serialize_entries`.
-
由 fatkodima 提交于
Closes #31886 Fixes #31884
-
- 05 2月, 2018 2 次提交
-
-
由 Ryuta Kamizono 提交于
* PERF: Recover marshaling dump/load performance This performance regression which is described in #30680 was caused by f0ddf87e due to force materialized `LazyAttributeHash`. Since 95b86e57, default proc has been removed in the class, so it is no longer needed that force materialized. Avoiding force materialized will recover marshaling dump/load performance. Benchmark: https://gist.github.com/blimmer/1360ea51cd3147bae8aeb7c6d09bff17 Before: ``` it took 0.6248569069430232 seconds to unmarshal the objects Total allocated: 38681544 bytes (530060 objects) allocated memory by class ----------------------------------- 12138848 Hash 10542384 String 7920000 ActiveModel::Attribute::Uninitialized 5600000 ActiveModel::Attribute::FromDatabase 1200000 Foo 880000 ActiveModel::LazyAttributeHash 400000 ActiveModel::AttributeSet 80 Integer 72 ActiveRecord::ConnectionAdapters::SQLite3Adapter::SQLite3Integer 40 ActiveModel::Type::String 40 ActiveRecord::Type::DateTime 40 Object 40 Range allocated objects by class ----------------------------------- 250052 String 110000 ActiveModel::Attribute::Uninitialized 70001 Hash 70000 ActiveModel::Attribute::FromDatabase 10000 ActiveModel::AttributeSet 10000 ActiveModel::LazyAttributeHash 10000 Foo 2 Integer 1 ActiveModel::Type::String 1 ActiveRecord::ConnectionAdapters::SQLite3Adapter::SQLite3Integer 1 ActiveRecord::Type::DateTime 1 Object 1 Range ``` After: ``` it took 0.1660824950085953 seconds to unmarshal the objects Total allocated: 13883811 bytes (220090 objects) allocated memory by class ----------------------------------- 5743371 String 4940008 Hash 1200000 Foo 880000 ActiveModel::LazyAttributeHash 720000 Array 400000 ActiveModel::AttributeSet 80 ActiveModel::Attribute::FromDatabase 80 Integer 72 ActiveRecord::ConnectionAdapters::SQLite3Adapter::SQLite3Integer 40 ActiveModel::Type::String 40 ActiveModel::Type::Value 40 ActiveRecord::Type::DateTime 40 Object 40 Range allocated objects by class ----------------------------------- 130077 String 50004 Hash 10000 ActiveModel::AttributeSet 10000 ActiveModel::LazyAttributeHash 10000 Array 10000 Foo 2 Integer 1 ActiveModel::Attribute::FromDatabase 1 ActiveModel::Type::String 1 ActiveModel::Type::Value 1 ActiveRecord::ConnectionAdapters::SQLite3Adapter::SQLite3Integer 1 ActiveRecord::Type::DateTime 1 Object 1 Range ``` Fixes #30680. * Keep the `@delegate_hash` to avoid to lose any mutations that have been made to the record
-
由 Ryuta Kamizono 提交于
These are internally used only. [ci skip]
-
- 03 2月, 2018 3 次提交
-
-
由 yuuji.yaginuma 提交于
These classes are internally used only.
-
由 yuuji.yaginuma 提交于
Follow up of 16b92eed
-
由 yuuji.yaginuma 提交于
I'm not sure cause, but due to the influence of `gem clean`, the expected gem seems not to be installed correctly. In order to avoid a test failure due to this, I fixed that `gem clean` not be executed. Ref: https://github.com/travis-ci/travis-ci/issues/2518#issuecomment-121168856 This is a workaround. If Travis fixes something, please revert this.
-
- 02 2月, 2018 2 次提交
-
-
由 Eileen M. Uchitelle 提交于
Removed "private" generators from command list.
-
由 George Claghorn 提交于
Allow ActiveStorage::Blob#service_url to pass addition options to service.url
-
- 01 2月, 2018 3 次提交
-
-
由 George Claghorn 提交于
ActiveStorage: use the full class name for the JSON coder
-
由 Ryuta Kamizono 提交于
Use Oracle enhanced adapter `release52` to support Rails `5-2-stable`
-
由 Yasuo Honda 提交于
-