- 26 7月, 2019 8 次提交
-
-
由 Rafael França 提交于
Ability to test activejobs with relative delay
-
由 Rafael França 提交于
fix filenames of attachments created via the inbound email conductor
-
由 y-yagi 提交于
Add mention about `active_record.collection_cache_versioning` to the `new_framework_defaults.rb`
-
由 Eileen M. Uchitelle 提交于
Only merge DATABASE_URL settings into the current env
-
由 John Hawthorn 提交于
Use connection.error_number in MySQLDatabaseTasks
-
由 Rafael Mendonça França 提交于
Add a warning for enum elements with 'not_' prefix.
-
由 Xavier Noria 提交于
-
由 Andrew Kress 提交于
* read config/webpacker.yml to determine which path to exclude for zeitwerk:check * fix test errors * more changes to fix test errors * refactor webpacker_path [Andrew Kress + Rafael Mendonça França]
-
- 25 7月, 2019 5 次提交
-
-
由 eileencodes 提交于
In #36560 I accidentally re-introduced a bug where ActiveRecord can't be used without Rails. This returns an empty hash if we're outside the context of Rails since we can't create the database tasks without loading and reading the database yaml which is something only Railties can do.
-
由 Rafael França 提交于
Fix index_exists? for PostgreSQL expression indexes
-
由 Eileen M. Uchitelle 提交于
Fix multiple database support for DATABASE_URL env variable
-
由 Rafael França 提交于
Make ActiveSupport::Logger Fiber-safe
-
由 Eileen M. Uchitelle 提交于
Don't validate non dirty association targets
-
- 24 7月, 2019 3 次提交
-
-
由 Rafael França 提交于
fix a typo in 5_2_release_notes.md
-
由 Eileen M. Uchitelle 提交于
Fixed db:prepare task to not touch schema when it is disabled
-
由 Rafael França 提交于
Add support for Proc based parameter filtering on arrays of values
-
- 23 7月, 2019 7 次提交
-
-
由 Rafael Mendonça França 提交于
Make currency symbols optional for money column type in PostgreSQL
-
由 Rafael França 提交于
Add pidfile option to puma config template
-
由 Rafael França 提交于
Fix host for ActiveStorage DiskService
-
由 Rafael França 提交于
Fix cache_timestamp_format default value in guides
-
由 Rafael Mendonça França 提交于
-
由 Aaron Lipman 提交于
Exclude missing marshal_dump and _dump methods from being delegated to an object's delegation target via the delegate_missing_to extension. This avoids unintentionally adding instance variables to an object during marshallization, should the delegation target be a method which would otherwise add them. In current versions of Ruby, a bug exists in the way objects are marshalled, allowing for instance variables to be added or removed during marshallization (see https://bugs.ruby-lang.org/issues/15968). This results in a corrupted serialized byte stream, causing an object's instance variables to "leak" into subsequent serialized objects during demarshallization. In Rails, this behavior may be triggered when marshalling an object that uses the delegate_missing_to extension, if the delegation target is a method which adds or removes instance variables to an object being marshalled - when calling Marshal.dump(object), Ruby's built in behavior will check whether the object responds to :marshal_dump or :_dump, which in turn triggers the delegation target method in the responds_to_missing? function defined in activesupport/lib/active_support/core_ext/module/delegation.rb While future versions of Ruby will resolve this bug by raising a RuntimeError, the underlying cause of this error may not be readily apparent when encountered by Rails developers. By excluding marshal_dump and _dump from being delegated to an object's target, this commit eliminates a potential cause of unexpected behavior and/or RuntimeErrors. Fixes #36522
-
由 Rafael França 提交于
Move the deprecation call after the new class has been defined:
-
- 20 7月, 2019 2 次提交
-
-
由 George Claghorn 提交于
Assigning to a collection of attachments appends rather than replacing, as in 5.2. Existing 5.2 apps that rely on this behavior will no longer break when they're upgraded to 6.0. For apps generated on 6.0 or newer, assigning replaces the existing attachments in the collection. #attach should be used to add new attachments to the collection without removing existing ones. I expect that we'll deprecate the old behavior in 6.1. Closes #36374.
-
由 Ryuta Kamizono 提交于
[ActiveRecord] Deduplicate optimizer hints
-
- 18 7月, 2019 1 次提交
-
-
由 Eileen M. Uchitelle 提交于
Revert "Make UTF-8 string requirement explicit for `ActiveSupport::Inflector.transliterate`"
-
- 17 7月, 2019 1 次提交
-
-
由 Eileen M. Uchitelle 提交于
Make UTF-8 string requirement explicit for `ActiveSupport::Inflector.transliterate`
-
- 16 7月, 2019 7 次提交
-
-
由 Rafael França 提交于
Fix Loadable.exclude_from to also reset Kernel#require
-
由 Matthew Draper 提交于
Fix problem with accessing deprecated constant proxy's subclass
-
由 Ryuta Kamizono 提交于
In older Ruby, nil, Symbol, Fixnum, Rational, and Complex were not duplicable. In Ruby 2.5, all of them are duplicable.
-
由 Ryuta Kamizono 提交于
Remove dead code in duplicable.rb
-
由 Akira Matsuda 提交于
-
由 Ryuta Kamizono 提交于
Fix activestorage CI failure due to ffprove version differece
-
由 Eileen M. Uchitelle 提交于
Delete mention of Ruby 1.9 [skip ci]
-
- 15 7月, 2019 1 次提交
-
-
由 Eileen M. Uchitelle 提交于
Prevent exception of loading database yaml with blank config file
-
- 14 7月, 2019 2 次提交
-
-
由 John Hawthorn 提交于
Most of this section was written from the time that render file: was the default, before CVE-2016-0752. This updates the guide to the Rails 6 `render file:` behaviour, moves it to a more appropriate part of the file. [ci skip]
-
由 John Hawthorn 提交于
Most of these examples no longer work. The ability to render an absolute path was removed as part of CVE-2016-0752. In Rails 6 we changed `render file:` to only take exact paths and always to render them as raw files. Rendering a template with its extensions _is_ supported, but I don't think should be recommended. This also removes `render file:` from an example where it isn't relevant. [ci skip]
-
- 13 7月, 2019 3 次提交
-
-
由 Xavier Noria 提交于
-
由 Xavier Noria 提交于
All this has been simplified.
-
由 Xavier Noria 提交于
-