- 28 2月, 2018 1 次提交
-
-
由 Rafael França 提交于
Move rake routes task to rails command
-
- 27 2月, 2018 25 次提交
-
-
由 Andrew White 提交于
Don't enforce UTF-8 by default
-
由 Ryuta Kamizono 提交于
Use column alias of primary_key in limited_ids_for
-
由 Andrew White 提交于
With the disabling of TLS 1.0 by most major websites, continuing to run IE8 or lower becomes increasingly difficult so default to not enforcing UTF-8 encoding as it's not relevant to other browsers.
-
由 Ryuta Kamizono 提交于
Don't accidentally lose includes in serialization
-
由 Benoit Tigeot 提交于
After a discussion with matthewd. It was mentioned that rake tasks need to be moved to rails command. See: https://github.com/rails/rails/issues/32117
-
由 kg8m 提交于
Prevent `ActiveRecord::FinderMethods#limited_ids_for` from using correct primary key values even if `ORDER BY` columns include other table's primary key. Fixes #28364.
-
由 Ryuta Kamizono 提交于
Active Record distinct & order #count regression
-
由 Rafael França 提交于
Merge pull request #32126 from marceloperini/marceloperini/add-nodoc-to-ActionView__Helpers__FormBuilder#emitted_hidden_id Add :nodoc: to ActionView::Helpers::FormBuilder#emitted_hidden_id?
-
由 Marcelo Perini Veloso 提交于
-
由 Rafael França 提交于
Raise an error if advisory lock in migrator was not released.
-
由 Yuji Yaginuma 提交于
[ci skip]Change requring order of files in doc
-
由 Rafael França 提交于
Support i18n key at translation of value in submit tag
-
由 Rafael França 提交于
Correct `to` option's value of the route in the Bound Parameters sect…
-
由 Rui Onodera 提交于
Currently submit_tag value translation does not support i18n key style locale key. It confuses me a bit because many other components support i18n key style locale key. I added i18n key style locale key support to submit tag.
-
由 Rafael França 提交于
Remove extra changelog added by #31944
-
由 bogdanvlviv 提交于
Previously it was removed by #32106 since it was backported to `5-2-stable`. [ci skip]
-
由 George Claghorn 提交于
Prevent older versions of Chrome from appending a Content-Type header containing the Blob type, rendering the request invalid if we intend not to provide a Content-Type. This behavior was observed in Chrome 58.
-
由 Kasper Timm Hansen 提交于
delegate to, with private: true option
-
由 Tomas Valent 提交于
-
由 George Claghorn 提交于
-
由 Ryuta Kamizono 提交于
Actually `reflection.klass` should be valid AR model unless `polymorphic?`. Previously it worked limitedly by ignoring `NameError` even if `reflection.klass` is invalid, and our isolated testing depends on the limited working. Probably we should also check the klass validity in `check_validity!` properly. Until that time, I restored the error suppression for now. Closes #32113.
-
由 Sean Griffin 提交于
See 948b9319 for context
-
由 Sean Griffin 提交于
Currently the place where we limit what gets sent to the database is in the implementation for `partial_writes`. We should also be restricting it to column names when partial writes are turned off. Note that we're using `&` instead of just defaulting to `self.class.column_names`, as the instance version of `attribute_names` does not include attributes which are uninitialized (were not included in the select clause)
-
由 George Claghorn 提交于
Fix customizing the download Content-Type for a directly-uploaded blob via a signed URL. See e8286ee2.
-
- 26 2月, 2018 9 次提交
-
-
由 Avneet Singh Malhotra 提交于
-
由 yuuji.yaginuma 提交于
Since #31895, build of 2.5 and AR combination failed. https://travis-ci.org/rails/rails/jobs/346064349#L1638 It seems to be the reason that model is not loading properly, so I added require. But I'm not sure if this is correct
-
由 Max Schwenk 提交于
-
由 Ryuta Kamizono 提交于
Remove changelogs for Rails 6.0 since they were backported to `5-2-stable` [ci skip]
-
由 bogdanvlviv 提交于
Remove railties' changelog added by 7340596d since it was backported to `5-2-stable` via ac99916f Remove activesupport's changelog added by 1077ae96 since it was backported to `5-2-stable` via a2b97e4f Remove activesupport's changelog added by 0d41a76d since it was backported to `5-2-stable` via cdce6a70 Remove activestorage's changelog added by d57c52a3 since it was backported to `5-2-stable` via 5292cdf5 Follow up c113bdc9
-
由 Ryuta Kamizono 提交于
Follow up of 6d63b5e4.
-
由 Ryuta Kamizono 提交于
Make `reflection.klass` raise if `polymorphic?` not to be misused
-
由 Ryuta Kamizono 提交于
This is an alternative of #29722, and revert of #29601 and a1fcbd97. Currently, association creation and normal association finding doesn't respect `store_full_sti_class`. But eager loading and preloading respect the setting. This means that if set `store_full_sti_class = false` (`true` by default), eager loading and preloading can not find created polymorphic records. Association creation and finding should work consistently.
-
由 Ryuta Kamizono 提交于
Since #32034, Rails 6 requires Ruby 2.4.1+.
-
- 25 2月, 2018 5 次提交
-
-
由 George Claghorn 提交于
Use lazy load hook to configure ActiveStorage::Blob
-
由 Eugene Kenny 提交于
`to_prepare` callbacks are run during initialization; using one here meant that `ActiveStorage::Blob` would be loaded when the app boots, which would in turn load `ActiveRecord::Base`. By using a lazy load hook to configure `ActiveStorage::Blob` instead, we can avoid loading `ActiveRecord::Base` unnecessarily.
-
由 Guillermo Iguaran 提交于
Update default HSTS max-age value to 1 year
-
由 Guillermo Iguaran 提交于
-
由 Guillermo Iguaran 提交于
-