- 27 2月, 2018 13 次提交
-
-
由 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 8 次提交
-
-
由 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
-
由 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 6 次提交
-
-
由 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 提交于
-
由 George Claghorn 提交于
Closes #32096.
-
- 24 2月, 2018 6 次提交
-
-
由 Kasper Timm Hansen 提交于
-
由 yuuji.yaginuma 提交于
`content_security_policy_nonce_generator` specifies request as an argument when calling. https://github.com/rails/rails/blob/ddb7da8535b07f51b7a8f5e3062cc8ffbd4ff23b/actionpack/lib/action_dispatch/http/content_security_policy.rb#L100 So without this fix, will raise `ArgumentError` when start server.
-
由 Yuji Yaginuma 提交于
Correct method documentation
-
由 Rafael França 提交于
Improve generated file `app/assets/javascripts/application.js` of plugin
-
由 bogdanvlviv 提交于
Add `//= require rails-ujs` Closes #32094
-
由 Gabriel Sobrinho 提交于
Fixes #31909. Closes #31911.
-
- 23 2月, 2018 7 次提交
-
-
由 John Fragoulis 提交于
The callback parameters need to reflect changes after https://github.com/rails/rails/pull/28800
-
由 Ryuta Kamizono 提交于
* Add test case for open-ended range. * Add test case for numeric range for string column.
-
由 Ryuta Kamizono 提交于
BC dates are supported by both date and datetime types. https://www.postgresql.org/docs/current/static/datatype-datetime.html Since #1097, new datetime allows year zero as 1 BC, but new date does not. It should be allowed even in new date consistently.
-
由 Ryuta Kamizono 提交于
The values infinity and -infinity are supported by both date and timestamp types. https://www.postgresql.org/docs/current/static/datatype-datetime.html#DATATYPE-DATETIME-SPECIAL-TABLE And also, it can not be known whether a value is infinity correctly unless cast a value. I've added `QueryAttribute#infinity?` to handle that case. Closes #27585.
-
由 Ryuta Kamizono 提交于
Since #32028, Rails 6 requires Ruby 2.3+. No longer needed workaround for Ruby 2.2 "private attribute?" warning.
-
由 Rafael França 提交于
Use `rubocop-0-52` channel
-
由 Yasuo Honda 提交于
Since https://github.com/rails/rails/pull/32091 expects RuboCop 0.52.1
-