New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
5 1 stable #32423
5 1 stable #32423
Commits on Jul 16, 2017
-
Merge pull request #29817 from koic/replace_erubis_with_erubi_in_guide
Replace Erubis with Erubi in a part of guide [ci skip]
Configuration menu - View commit details
-
Copy full SHA for 1dc2344 - Browse repository at this point
Copy the full SHA 1dc2344View commit details
Commits on Jul 17, 2017
-
Post.joins(:users) should not be affected by
User.current_scope
This change was introduced by #18109. The intent of that change was to specifically apply `unscoped`, not to allow all changes to `current_scope` to affect the join. The idea of allowing `current_scope` to affect joins is interesting and potentially more consistent, but has sever problems associated with it. The fact that we're specifically stripping out joins indicates one such problem (and potentially leads to invalid queries). Ultimately it's difficult to reason about what `Posts.joins(:users)` actually means if it's affected by `User.current_scope`, and it's difficult to specifically control what does or doesn't get added. If we were starting from scratch, I don't think I'd have `joins` be affected by `default_scope` either, but that's too big of a breaking change to make at this point. With this change, we no longer apply `current_scope` when bringing in joins, with the singular exception of the motivating use case which introduced this bug, which is providing a way to *opt-out* of having the default scope apply to joins. Fixes #29338.
Configuration menu - View commit details
-
Copy full SHA for 3630d63 - Browse repository at this point
Copy the full SHA 3630d63View commit details -
Merge pull request #29056 from juliusdelta/29055-missing-links-in-act…
…ivesupport-railsguide Added fixed links to code for Rails Guides ActiveSupport
Configuration menu - View commit details
-
Copy full SHA for 05d278c - Browse repository at this point
Copy the full SHA 05d278cView commit details -
Merge pull request #29793 from arthurnn/arthurnn/param_encoding_error…
…_msg Scrub the invalid paramter value before using it in the error
Configuration menu - View commit details
-
Copy full SHA for 6d16ab8 - Browse repository at this point
Copy the full SHA 6d16ab8View commit details -
Merge pull request #29757 from lugray/hash_with_indifferent_access_de…
…fault Fix HashWithIndifferentAccess#default when include?(nil)
Configuration menu - View commit details
-
Copy full SHA for 1a2870c - Browse repository at this point
Copy the full SHA 1a2870cView commit details -
Merge pull request #29829 from lugray/hash_with_indifferent_access_de…
…fault_5_1 Merge pull request #29757 from lugray/hash_with_indifferent_access_default
Configuration menu - View commit details
-
Copy full SHA for 3024727 - Browse repository at this point
Copy the full SHA 3024727View commit details -
Merge pull request #29821 from y-yagi/set_rails_env_before_load_appli…
…cation_file Set `RAILS_ENV` before load application file
Configuration menu - View commit details
-
Copy full SHA for 1940bce - Browse repository at this point
Copy the full SHA 1940bceView commit details
Commits on Jul 18, 2017
-
Merge pull request #29831 from y-yagi/backport-29821-5-1
Backport #29821 to 5-1-stable
Configuration menu - View commit details
-
Copy full SHA for 26458e0 - Browse repository at this point
Copy the full SHA 26458e0View commit details
Commits on Jul 19, 2017
-
Configuration menu - View commit details
-
Copy full SHA for 0605e7f - Browse repository at this point
Copy the full SHA 0605e7fView commit details -
Merge pull request #29844 from kamipo/create_rails_user_on_travis_ci
Create `rails@localhost` user on travis ci
Configuration menu - View commit details
-
Copy full SHA for f66cbf6 - Browse repository at this point
Copy the full SHA f66cbf6View commit details -
Configuration menu - View commit details
-
Copy full SHA for b6e24db - Browse repository at this point
Copy the full SHA b6e24dbView commit details
Commits on Jul 20, 2017
-
Don't cache queries for schema statements
`test_middleware_caches` is sometimes failed since #29454. The failure is due to schema statements are affected by query caching. Bypassing query caching for schema statements to avoid the issue.
Configuration menu - View commit details
-
Copy full SHA for 188c4bb - Browse repository at this point
Copy the full SHA 188c4bbView commit details -
Fix extracting MariaDB version
Currently `version` method always returns `5.5.5` because the `full_version` is `5.5.5-10.x.y-MariaDB...` since MariaDB 10.x. It should be ignored if the prefix is `5.5.5-`.
Configuration menu - View commit details
-
Copy full SHA for f822ec3 - Browse repository at this point
Copy the full SHA f822ec3View commit details -
Use
information_schema
to extractgeneration_expression
for MariaDBSince MariaDB 10.2.5, `information_schema` supports Virtual Columns. Fixes #29670.
Configuration menu - View commit details
-
Copy full SHA for 9e5205d - Browse repository at this point
Copy the full SHA 9e5205dView commit details -
Fix default
CURRENT_TIMESTAMP
in schema dumping for MariaDB 10.2Since MariaDB 10.2, `CURRENT_TIMESTAMP` is shown as a function (`current_timestamp()`). Fix matching column default to address that case. Fixes #29698.
Configuration menu - View commit details
-
Copy full SHA for aa44945 - Browse repository at this point
Copy the full SHA aa44945View commit details -
Fix unscoping
default_scope
in STI associationsSince 5c71000, it has lost to be able to unscope `default_scope` in STI associations. This change will use `.empty_scope?` instead of `.values.empty?` to regard as an empty scope if only have `type_condition`.
Configuration menu - View commit details
-
Copy full SHA for 305d03d - Browse repository at this point
Copy the full SHA 305d03dView commit details -
Configuration menu - View commit details
-
Copy full SHA for c24015f - Browse repository at this point
Copy the full SHA c24015fView commit details
Commits on Jul 21, 2017
-
bugfix: unscope(where: [columns]) would not remove the correct binds …
…sometimes Post.where(id: 1).or(Post.where(id: 2)).where(foo: 3).unscope(where: :foo).where_clause.binds.map(&:value) Would return [2, 3] instead of the expected [1,2]
Configuration menu - View commit details
-
Copy full SHA for d378fcb - Browse repository at this point
Copy the full SHA d378fcbView commit details -
Merge pull request #29855 from lugray/has_one_destroyed_by_association
Match destroyed_by_association for has_one to has_many
Configuration menu - View commit details
-
Copy full SHA for 8254a8b - Browse repository at this point
Copy the full SHA 8254a8bView commit details -
Merge pull request #29884 from padi/update_rails_5_upgrade_guide
Updates Rails upgrade guide on `ActionView::Helpers::RecordTagHelper`
Configuration menu - View commit details
-
Copy full SHA for 2de5822 - Browse repository at this point
Copy the full SHA 2de5822View commit details -
Merge pull request #29877 from kamipo/backport_29834
5-1-stable: Fix unscoping `default_scope` in STI associations
Configuration menu - View commit details
-
Copy full SHA for 5d777f9 - Browse repository at this point
Copy the full SHA 5d777f9View commit details -
Merge pull request #29875 from kamipo/backport_29634
5-1-stable: Don't cache queries for schema statements
Configuration menu - View commit details
-
Copy full SHA for 1059d2b - Browse repository at this point
Copy the full SHA 1059d2bView commit details -
Merge pull request #29876 from kamipo/fix_default_current_timestamp_a…
…nd_virtual_columns 5-1-stable: Fix default `CURRENT_TIMESTAMP` and Virtual Columns for MariaDB 10.2
Configuration menu - View commit details
-
Copy full SHA for 8572c8e - Browse repository at this point
Copy the full SHA 8572c8eView commit details -
Merge pull request #29881 from MaxLap/fix_unscope_where_column_with_o…
…r_5-1 5-1-stable: bugfix: unscope(where: [columns]) would not remove the correct binds sometimes
Configuration menu - View commit details
-
Copy full SHA for 2299149 - Browse repository at this point
Copy the full SHA 2299149View commit details
Commits on Jul 23, 2017
-
Configuration menu - View commit details
-
Copy full SHA for fa1fa72 - Browse repository at this point
Copy the full SHA fa1fa72View commit details
Commits on Jul 24, 2017
-
Merge pull request #29792 from lugray/delegate_respond_to
Delegate respond_to? in ActionView::Helpers::ControllerHelper
Configuration menu - View commit details
-
Copy full SHA for f67015c - Browse repository at this point
Copy the full SHA f67015cView commit details -
Merge pull request #29902 from y-yagi/fix_29880
Do not show URL in boot info when using Puma
Configuration menu - View commit details
-
Copy full SHA for 3975313 - Browse repository at this point
Copy the full SHA 3975313View commit details -
Merge pull request #29848 from kamipo/fix_distinct_count_with_order_a…
…nd_limit Fix `COUNT(DISTINCT ...)` with `ORDER BY` and `LIMIT`
Configuration menu - View commit details
-
Copy full SHA for 0e8d4ed - Browse repository at this point
Copy the full SHA 0e8d4edView commit details -
Merge pull request #29875 from kamipo/backport_29634
5-1-stable: Don't cache queries for schema statements
Configuration menu - View commit details
-
Copy full SHA for 31f3f3a - Browse repository at this point
Copy the full SHA 31f3f3aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4dafc72 - Browse repository at this point
Copy the full SHA 4dafc72View commit details -
Merge pull request #29898 from deivid-rodriguez/follow_up_to_multiple…
…_location_engine_mounting Fix regression introduced by fixing mounting the same engine in multiple locations
Configuration menu - View commit details
-
Copy full SHA for b0206dd - Browse repository at this point
Copy the full SHA b0206ddView commit details -
Merge pull request #29898 from deivid-rodriguez/follow_up_to_multiple…
…_location_engine_mounting Fix regression introduced by fixing mounting the same engine in multiple locations
Configuration menu - View commit details
-
Copy full SHA for cba4e53 - Browse repository at this point
Copy the full SHA cba4e53View commit details
Commits on Jul 25, 2017
-
Configuration menu - View commit details
-
Copy full SHA for f2bd6d8 - Browse repository at this point
Copy the full SHA f2bd6d8View commit details -
Configuration menu - View commit details
-
Copy full SHA for b1b6839 - Browse repository at this point
Copy the full SHA b1b6839View commit details -
Configuration menu - View commit details
-
Copy full SHA for cba9d56 - Browse repository at this point
Copy the full SHA cba9d56View commit details -
Configuration menu - View commit details
-
Copy full SHA for 039dd11 - Browse repository at this point
Copy the full SHA 039dd11View commit details -
Configuration menu - View commit details
-
Copy full SHA for af5ec3d - Browse repository at this point
Copy the full SHA af5ec3dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 885b692 - Browse repository at this point
Copy the full SHA 885b692View commit details
Commits on Jul 27, 2017
-
Merge pull request #29971 from rails/fix-duration-division
Fix division where a duration is the denominator
Configuration menu - View commit details
-
Copy full SHA for 4d82e2a - Browse repository at this point
Copy the full SHA 4d82e2aView commit details -
Merge pull request #29971 from rails/fix-duration-division
Fix division where a duration is the denominator
Configuration menu - View commit details
-
Copy full SHA for c66baaf - Browse repository at this point
Copy the full SHA c66baafView commit details -
Eager load the association classes on boot
We were expecting those classes to be loaded when an association is defined but they are not. If you add a debugger on the first line of any of those classes and try to define the corresponding association you will see that the classes are not loaded. Fixes #26273
Configuration menu - View commit details
-
Copy full SHA for 2089bdb - Browse repository at this point
Copy the full SHA 2089bdbView commit details
Commits on Jul 30, 2017
-
Add missing support for modulo operations on durations
Rails 5.1 introduce an `ActiveSupport::Duration::Scalar` class as a wrapper around a numeric value as a way of ensuring a duration was the outcome of an expression. However the implementation was missing support for modulo operations. This commit adds support for those operations and should result in a duration being returned from expressions involving them. Fixes #29603 and #29743.
Configuration menu - View commit details
-
Copy full SHA for 5fb8b1f - Browse repository at this point
Copy the full SHA 5fb8b1fView commit details -
Add missing support for modulo operations on durations
Rails 5.1 introduce an `ActiveSupport::Duration::Scalar` class as a wrapper around a numeric value as a way of ensuring a duration was the outcome of an expression. However the implementation was missing support for modulo operations. This commit adds support for those operations and should result in a duration being returned from expressions involving them. Fixes #29603 and #29743.
Configuration menu - View commit details
-
Copy full SHA for 233fa7e - Browse repository at this point
Copy the full SHA 233fa7eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 71f6848 - Browse repository at this point
Copy the full SHA 71f6848View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4af6b09 - Browse repository at this point
Copy the full SHA 4af6b09View commit details
Commits on Jul 31, 2017
-
Configuration menu - View commit details
-
Copy full SHA for 57ff548 - Browse repository at this point
Copy the full SHA 57ff548View commit details -
Configuration menu - View commit details
-
Copy full SHA for 83fe6a6 - Browse repository at this point
Copy the full SHA 83fe6a6View commit details
Commits on Aug 1, 2017
-
Configuration menu - View commit details
-
Copy full SHA for f4142c8 - Browse repository at this point
Copy the full SHA f4142c8View commit details -
Path parameters should default to UTF8
This commit changes the behavior such the path_params now default to UTF8 just like regular parameters. This also changes the behavior such that if a path parameter contains invalid UTF8 it returns a 400 bad request. Previously the behavior was to encode the path params as binary but that's not the same as query params. So this commit makes path params behave the same as query params. It's important to test with a path that's encoded as binary because that's how paths are encoded from the socket. The test that was altered was changed to make the behavior for bad encoding the same as query params. We want to treat path params the same as query params. The params in the test are invalid UTF8 so they should return a bad request. Fixes #29669 *Eileen M. Uchitelle, Aaron Patterson, & Tsukuru Tanimichi*
Configuration menu - View commit details
-
Copy full SHA for 9668cc3 - Browse repository at this point
Copy the full SHA 9668cc3View commit details -
Since this test changed in 9220935 I noticed that it really doesn't make sense anymore. I split the tests into 2 groups to explain what each one does. First these routes should throw a `bad_request` when the encoding isn't valid. We're expecting UTF8 encoding and passing binary, that should be a bad request. For the second test we are setting the `show` route to set `self.binary_params_for?` for that route which will convert the parameters and return a `:ok` instead of a `:bad_request`.
Configuration menu - View commit details
-
Copy full SHA for b5ef7d2 - Browse repository at this point
Copy the full SHA b5ef7d2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8b89415 - Browse repository at this point
Copy the full SHA 8b89415View commit details
Commits on Aug 2, 2017
-
Merge pull request #29984 from colorfulfool/form-helpers-unicode-sani…
…tization Allow non-English values for collection_radio_buttons
Configuration menu - View commit details
-
Copy full SHA for 7a300f8 - Browse repository at this point
Copy the full SHA 7a300f8View commit details -
Merge pull request #29561 from samphippen/samphippen/add-option-to-si…
…lence-puma-in-system-test Add an option to silence puma in system tests.
Configuration menu - View commit details
-
Copy full SHA for a47be5a - Browse repository at this point
Copy the full SHA a47be5aView commit details
Commits on Aug 3, 2017
-
Maintain original encoding from path
When the path info is read from the socket it's encoded as ASCII 8BIT. The unescape method changes the encoding to UTF8 but it should maintain the encoding of the string that's passed in. This causes parameters to be force encoded to UTF8 when we don't actually know what the encoding of the parameter should be.
Configuration menu - View commit details
-
Copy full SHA for 620d40b - Browse repository at this point
Copy the full SHA 620d40bView commit details -
Revert "Load the Parameters configurations on the right time"
Configuration menu - View commit details
-
Copy full SHA for eba78cb - Browse repository at this point
Copy the full SHA eba78cbView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4aaa053 - Browse repository at this point
Copy the full SHA 4aaa053View commit details -
Configuration menu - View commit details
-
Copy full SHA for c338c66 - Browse repository at this point
Copy the full SHA c338c66View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4d56efd - Browse repository at this point
Copy the full SHA 4d56efdView commit details
Commits on Aug 5, 2017
-
Revert "Merge pull request #15446 from akshay-vishnoi/doc_changes"
It was right as originally written in #15440.
Configuration menu - View commit details
-
Copy full SHA for 27e0a38 - Browse repository at this point
Copy the full SHA 27e0a38View commit details
Commits on Aug 8, 2017
-
Merge pull request #29536 from nickrivadeneira/fix-yaml
Ensure `false` is preserved in attr serialization
Configuration menu - View commit details
-
Copy full SHA for cb5a586 - Browse repository at this point
Copy the full SHA cb5a586View commit details -
Merge pull request #29859 from dwightwatson/feature/rack-test
Update rack-test dependency constraint
Configuration menu - View commit details
-
Copy full SHA for e2e4229 - Browse repository at this point
Copy the full SHA e2e4229View commit details -
Merge pull request #30125 from yukideluxe/add-reload-to-associations-…
…docs add reload_association to documentation
Configuration menu - View commit details
-
Copy full SHA for 78c487b - Browse repository at this point
Copy the full SHA 78c487bView commit details -
Document
ActiveRecord::AttributeMethods::Dirty
This module has behavior that is not present in `ActiveModel::Dirty`, which is intended to be public API.
Configuration menu - View commit details
-
Copy full SHA for a77dd1f - Browse repository at this point
Copy the full SHA a77dd1fView commit details -
Merge pull request #30115 from intrip/30049-application-controller-re…
…nderer-defaults-automatic-reload-in-dev Fix ApplicationController.renderer.defaults overriding in development
Configuration menu - View commit details
-
Copy full SHA for 7807bd8 - Browse repository at this point
Copy the full SHA 7807bd8View commit details
Commits on Aug 9, 2017
-
Both `mysql2/json_test.rb` and `postgresql/json_test.rb` have same test cases.
Configuration menu - View commit details
-
Copy full SHA for 2f2e470 - Browse repository at this point
Copy the full SHA 2f2e470View commit details -
Deserialize a raw value from the database in
changed_in_place?
for ……`AbstractJson` Structured type values sometimes caused representation problems (keys sort order, spaces, etc). A raw value from the database should be deserialized (normalized) to prevent the problems.
Configuration menu - View commit details
-
Copy full SHA for 8bd5099 - Browse repository at this point
Copy the full SHA 8bd5099View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6f616a7 - Browse repository at this point
Copy the full SHA 6f616a7View commit details -
Specify branch in the benchmark template
Because other bug report templates specify branch. https://github.com/rails/rails/blob/5-1-stable/guides/bug_report_templates/action_controller_master.rb#L10 https://github.com/rails/rails/blob/5-1-stable/guides/bug_report_templates/active_job_master.rb#L10 https://github.com/rails/rails/blob/5-1-stable/guides/bug_report_templates/active_record_master.rb#L10 https://github.com/rails/rails/blob/5-1-stable/guides/bug_report_templates/active_record_migrations_master.rb#L10 https://github.com/rails/rails/blob/5-1-stable/guides/bug_report_templates/generic_master.rb#L10 This also fixes broken tests. Ref: https://travis-ci.org/rails/rails/jobs/262443113
Configuration menu - View commit details
-
Copy full SHA for 7a7f3f9 - Browse repository at this point
Copy the full SHA 7a7f3f9View commit details
Commits on Aug 10, 2017
-
Merge pull request #30173 from y-yagi/specify_branch
Specify branch in the benchmark template
Configuration menu - View commit details
-
Copy full SHA for ec5781e - Browse repository at this point
Copy the full SHA ec5781eView commit details -
Configuration menu - View commit details
-
Copy full SHA for c0347ad - Browse repository at this point
Copy the full SHA c0347adView commit details
Commits on Aug 11, 2017
-
Configuration menu - View commit details
-
Copy full SHA for 7c0547e - Browse repository at this point
Copy the full SHA 7c0547eView commit details -
Merge pull request #30193 from zverok/robust-postgres-duplicate-db
More robust PostgreSQL database duplication check
Configuration menu - View commit details
-
Copy full SHA for 88357da - Browse repository at this point
Copy the full SHA 88357daView commit details -
Merge pull request #30154 from kamipo/backport_29273
5-1-stable: Deserialize a raw value from the database in `changed_in_place?` for `AbstractJson`
Configuration menu - View commit details
-
Copy full SHA for 80ddd68 - Browse repository at this point
Copy the full SHA 80ddd68View commit details
Commits on Aug 14, 2017
-
Merge pull request #27609 from kamipo/fix_association_primary_key
Fix `reflection.association_primary_key` for `has_many` association
Configuration menu - View commit details
-
Copy full SHA for 5ade89e - Browse repository at this point
Copy the full SHA 5ade89eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5184a56 - Browse repository at this point
Copy the full SHA 5184a56View commit details -
Merge pull request #29010 from y-yagi/fix_28988
Allow irb options to be passed from `rails console` command
Configuration menu - View commit details
-
Copy full SHA for b53a846 - Browse repository at this point
Copy the full SHA b53a846View commit details -
Merge pull request #30169 from awortham/awortham/awortham/fix-sql-dis…
…tinct-bug Ensure sum honors distinct on has_many through
Configuration menu - View commit details
-
Copy full SHA for c0a1dc2 - Browse repository at this point
Copy the full SHA c0a1dc2View commit details
Commits on Aug 15, 2017
-
Merge pull request #30257 from y-yagi/backport_29010
Backport #29010 to 5-1-stable
Configuration menu - View commit details
-
Copy full SHA for e91b483 - Browse repository at this point
Copy the full SHA e91b483View commit details -
Merge pull request #30271 from kamipo/through_scope_should_not_be_aff…
…ected_by_scoping Through scope should not be affected by scoping
Configuration menu - View commit details
-
Copy full SHA for 143991e - Browse repository at this point
Copy the full SHA 143991eView commit details -
Merge pull request #30045 from albertoalmagro/fix-raise-unpermitted-p…
…arameters-regression Load Parameters configurations on :action_controller only once
Configuration menu - View commit details
-
Copy full SHA for 2aca09e - Browse repository at this point
Copy the full SHA 2aca09eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6893de7 - Browse repository at this point
Copy the full SHA 6893de7View commit details -
Merge pull request #29918 from xtina-starr/suppress-warning-from-acti…
…onview-controller-helper Suppress warning from actionview controller helper.
Configuration menu - View commit details
-
Copy full SHA for 4aaebc4 - Browse repository at this point
Copy the full SHA 4aaebc4View commit details
Commits on Aug 16, 2017
-
Merge pull request #30277 from y-yagi/backport_29918
Backport #29918 to 5-1-stable
Configuration menu - View commit details
-
Copy full SHA for 5049632 - Browse repository at this point
Copy the full SHA 5049632View commit details -
Merge pull request #30285 from albertoalmagro/pass-missing-name-attri…
…bute Pass missing name attribute to execute_hook
Configuration menu - View commit details
-
Copy full SHA for 4bf9d85 - Browse repository at this point
Copy the full SHA 4bf9d85View commit details
Commits on Aug 17, 2017
-
Add note about JSON/JSONB serialization changes
The initial commit (efaa6e4) that changed this behavior was intended to be a minor change, but ended up becoming a large-ish breaking change within Active Record. This is because instead of only JSON encoding `Hash`es or `Array`s in `#serialize`, we now encode all values passed in. This is an issue if you're passing in a `String`, that has already been transformed from a `Hash` to a `String`, since your data is now being double encoded. Unfortunately, the change was included in one of the v5.0.0 beta releases, and it is too late to revert without huge ripple effects. Thus, all we can do is update the documentation (via this commit), and add some test coverage (coming soon in a PR) for the new behavior. Please note that in the documentation I talk about deserialization, not about serialization, where the actual change occurred. This is because you won't notice any changes in serialized data until you try and deserialize it. Also to make the change itself (confusing until you read through everything multiple times) easier to understand. Related #27788, #25594, #26101, #24234, #28292, #28285, #28285, and probably others. [ci skip]
Configuration menu - View commit details
-
Copy full SHA for 077367f - Browse repository at this point
Copy the full SHA 077367fView commit details
Commits on Aug 21, 2017
-
Merge pull request #28912 from kaspth/getting-started-form-with
[ci skip] form_with in the getting started guide.
Configuration menu - View commit details
-
Copy full SHA for bdc5816 - Browse repository at this point
Copy the full SHA bdc5816View commit details
Commits on Aug 24, 2017
-
Merge pull request #30376 from willnet/belongs-to-dependent-option
[ci skip]Revert commits changing wrong place
Configuration menu - View commit details
-
Copy full SHA for a10d559 - Browse repository at this point
Copy the full SHA a10d559View commit details -
Configuration menu - View commit details
-
Copy full SHA for b098c6b - Browse repository at this point
Copy the full SHA b098c6bView commit details -
Configuration menu - View commit details
-
Copy full SHA for df776aa - Browse repository at this point
Copy the full SHA df776aaView commit details
Commits on Aug 27, 2017
-
Configuration menu - View commit details
-
Copy full SHA for 8f900b7 - Browse repository at this point
Copy the full SHA 8f900b7View commit details
Commits on Aug 28, 2017
-
Merge pull request #30436 from y-yagi/backport_30421
Backport #30421 to 5-1-stable
Configuration menu - View commit details
-
Copy full SHA for 595a231 - Browse repository at this point
Copy the full SHA 595a231View commit details
Commits on Aug 29, 2017
-
Configuration menu - View commit details
-
Copy full SHA for 237f00c - Browse repository at this point
Copy the full SHA 237f00cView commit details
Commits on Aug 30, 2017
-
activerecord: Fix saved_changes for saves nested in after callbacks
Previously, saved_changes would return a hash of changes corresponding to the outermost save in the callbacks for the nested save, but now it will return the hash of changes for the nested save in its callbacks.
Configuration menu - View commit details
-
Copy full SHA for 600b91f - Browse repository at this point
Copy the full SHA 600b91fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7c27c76 - Browse repository at this point
Copy the full SHA 7c27c76View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5843162 - Browse repository at this point
Copy the full SHA 5843162View commit details
Commits on Sep 4, 2017
-
Configuration menu - View commit details
-
Copy full SHA for ad80256 - Browse repository at this point
Copy the full SHA ad80256View commit details -
Configuration menu - View commit details
-
Copy full SHA for 45291f0 - Browse repository at this point
Copy the full SHA 45291f0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8f2d211 - Browse repository at this point
Copy the full SHA 8f2d211View commit details -
add_reference
should respect column position for both reference id ……and type columns Fixes #30496.
Configuration menu - View commit details
-
Copy full SHA for 3fea231 - Browse repository at this point
Copy the full SHA 3fea231View commit details -
Should quote composite primary key names
Otherwise using reserved words as composite primary key names will be failed as an invalid SQL. Fixes #30518.
Configuration menu - View commit details
-
Copy full SHA for dbaf53d - Browse repository at this point
Copy the full SHA dbaf53dView commit details
Commits on Sep 5, 2017
-
Merge pull request #30472 from dylanahsmith/fix-ar-5.1-saved-changes
activerecord: Fix saved_changes for saves nested in after callbacks
Configuration menu - View commit details
-
Copy full SHA for fe0b904 - Browse repository at this point
Copy the full SHA fe0b904View commit details
Commits on Sep 6, 2017
-
Configuration menu - View commit details
-
Copy full SHA for f2c6443 - Browse repository at this point
Copy the full SHA f2c6443View commit details -
Merge pull request #30532 from muhammet/patch-1
Update CHANGELOG.md [ci skip]
Configuration menu - View commit details
-
Copy full SHA for f66b2a5 - Browse repository at this point
Copy the full SHA f66b2a5View commit details
Commits on Sep 7, 2017
-
Configuration menu - View commit details
-
Copy full SHA for 813af46 - Browse repository at this point
Copy the full SHA 813af46View commit details
Commits on Sep 8, 2017
-
Configuration menu - View commit details
-
Copy full SHA for 8f70c67 - Browse repository at this point
Copy the full SHA 8f70c67View commit details
Commits on Sep 13, 2017
-
Merge pull request #29146 from y-yagi/fix_29138
Correctly set user_supplied_options when there is no whitespace in option specification
Configuration menu - View commit details
-
Copy full SHA for c6c6519 - Browse repository at this point
Copy the full SHA c6c6519View commit details
Commits on Sep 14, 2017
-
Merge pull request #30597 from y-yagi/backport_29146
Backport #29146 to 5-1-stable
Configuration menu - View commit details
-
Copy full SHA for 581fd57 - Browse repository at this point
Copy the full SHA 581fd57View commit details
Commits on Sep 26, 2017
-
Merge pull request #30706 from tgxworld/fix_preload_memoization
PERF: Restore memoization when preloading associations.
Configuration menu - View commit details
-
Copy full SHA for ca77eb3 - Browse repository at this point
Copy the full SHA ca77eb3View commit details -
Merge pull request #30686 from metaskills/sqlserver-1as1fix
Ensure `1 AS one` for SQL Server with Calculations
Configuration menu - View commit details
-
Copy full SHA for d6efcc9 - Browse repository at this point
Copy the full SHA d6efcc9View commit details -
Merge pull request #30655 from kuzukuzu/fix_create_join_table_compati…
…bility make create_join_table compatible.
Configuration menu - View commit details
-
Copy full SHA for 09b4b90 - Browse repository at this point
Copy the full SHA 09b4b90View commit details -
Fix
test_should_sanitize_illegal_style_properties
failurehttps://travis-ci.org/rails/rails/jobs/279300966#L2600 The result of `Loofah::HTML5::Scrub.scrub_css` was changed since v2.1.0.rc1. flavorjones/loofah@ca56295
Configuration menu - View commit details
-
Copy full SHA for d0663d0 - Browse repository at this point
Copy the full SHA d0663d0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 90dd63a - Browse repository at this point
Copy the full SHA 90dd63aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 731c7f9 - Browse repository at this point
Copy the full SHA 731c7f9View commit details
Commits on Sep 27, 2017
-
PERF: Recover
ActiveRecord::pluck
performance.```ruby require 'active_record' require 'benchmark/ips' ActiveRecord::Base.establish_connection(ENV.fetch('DATABASE_URL')) ActiveRecord::Migration.verbose = false ActiveRecord::Schema.define do create_table :users, force: true do |t| t.string :name, :email t.timestamps null: false end end attributes = { name: 'Lorem ipsum dolor sit amet, consectetur adipiscing elit.', email: 'foobar@email.com' } class User < ActiveRecord::Base; end 1000.times do User.create!(attributes) end Benchmark.ips do |x| x.config(time: 10, warmup: 2) x.report('pluck 1 column') do User.pluck(:id) end x.report('pluck 2 columns') do User.pluck(:id, :email) end x.report('pluck 1 column with scope') do User.where(id: 1000).pluck(:id) end x.report('pluck 2 columns with scope') do User.where(id: 1000).pluck(:id, :email) end end ``` ``` Calculating ------------------------------------- pluck 1 column 122.000 i/100ms pluck 2 columns 74.000 i/100ms pluck 1 column with scope 615.000 i/100ms pluck 2 columns with scope 515.000 i/100ms ------------------------------------------------- pluck 1 column 1.272k (± 3.9%) i/s - 12.810k pluck 2 columns 750.096 (± 3.3%) i/s - 7.548k pluck 1 column with scope 6.074k (± 4.1%) i/s - 60.885k pluck 2 columns with scope 5.158k (± 2.7%) i/s - 52.015k ``` ``` Calculating ------------------------------------- pluck 1 column 126.000 i/100ms pluck 2 columns 78.000 i/100ms pluck 1 column with scope 457.000 i/100ms pluck 2 columns with scope 434.000 i/100ms ------------------------------------------------- pluck 1 column 1.266k (± 2.1%) i/s - 12.726k pluck 2 columns 795.061 (± 3.0%) i/s - 7.956k pluck 1 column with scope 4.660k (± 2.1%) i/s - 46.614k pluck 2 columns with scope 4.355k (± 2.3%) i/s - 43.834k ``` ``` Calculating ------------------------------------- pluck 1 column 126.000 i/100ms pluck 2 columns 78.000 i/100ms pluck 1 column with scope 539.000 i/100ms pluck 2 columns with scope 481.000 i/100ms ------------------------------------------------- pluck 1 column 1.308k (± 3.4%) i/s - 13.104k pluck 2 columns 798.604 (± 2.8%) i/s - 8.034k pluck 1 column with scope 5.530k (± 3.4%) i/s - 55.517k pluck 2 columns with scope 4.914k (± 2.7%) i/s - 49.543k ``` ``` Calculating ------------------------------------- pluck 1 column 139.000 i/100ms pluck 2 columns 79.000 i/100ms pluck 1 column with scope 580.000 i/100ms pluck 2 columns with scope 526.000 i/100ms ------------------------------------------------- pluck 1 column 1.337k (± 3.0%) i/s - 13.483k pluck 2 columns 806.776 (± 2.7%) i/s - 8.137k pluck 1 column with scope 5.924k (± 4.1%) i/s - 59.160k pluck 2 columns with scope 5.276k (± 3.1%) i/s - 53.126k ```
Configuration menu - View commit details
-
Copy full SHA for df71234 - Browse repository at this point
Copy the full SHA df71234View commit details -
PERF: Incorrect memoization in `ActiveRecord::Associations::Preloader…
…::Association`. ``` require 'active_record' require 'benchmark/ips' ActiveRecord::Base.establish_connection(ENV.fetch('DATABASE_URL')) ActiveRecord::Migration.verbose = false ActiveRecord::Schema.define do create_table :users, force: true do |t| t.string :name, :email t.integer :topic_id t.timestamps null: false end create_table :topics, force: true do |t| t.string :title t.timestamps null: false end end attributes = { name: 'Lorem ipsum dolor sit amet, consectetur adipiscing elit.', email: 'foobar@email.com' } class Topic < ActiveRecord::Base has_many :users end class User < ActiveRecord::Base belongs_to :topic end 100.times do User.create!(attributes) end users = User.first(50) 100.times do Topic.create!(title: 'This is a topic', users: users) end Benchmark.ips do |x| x.config(time: 10, warmup: 5) x.report("preload") do User.includes(:topic).all.to_a end end ``` ``` Calculating ------------------------------------- preload 25.000 i/100ms ------------------------------------------------- preload 251.772 (± 1.2%) i/s - 2.525k ``` ``` Calculating ------------------------------------- preload 26.000 i/100ms ------------------------------------------------- preload 270.392 (± 1.1%) i/s - 2.704k ```
Configuration menu - View commit details
-
Copy full SHA for 13364a8 - Browse repository at this point
Copy the full SHA 13364a8View commit details
Commits on Sep 28, 2017
-
Ensure local dev and prod puma configs do not clobber ActionDispatch:…
…:SystemTesting defaults
Configuration menu - View commit details
-
Copy full SHA for 87e085d - Browse repository at this point
Copy the full SHA 87e085dView commit details -
Merge pull request #30712 from maschwenk/5-1-stable
Backport Capybara :puma defaults to 5.1.x
Configuration menu - View commit details
-
Copy full SHA for bc02a01 - Browse repository at this point
Copy the full SHA bc02a01View commit details
Commits on Oct 5, 2017
-
Configuration menu - View commit details
-
Copy full SHA for ed6a0ff - Browse repository at this point
Copy the full SHA ed6a0ffView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4bd212f - Browse repository at this point
Copy the full SHA 4bd212fView commit details
Commits on Oct 13, 2017
-
Configuration menu - View commit details
-
Copy full SHA for 7089ee4 - Browse repository at this point
Copy the full SHA 7089ee4View commit details
Commits on Oct 14, 2017
-
Fix
COUNT(DISTINCT ...)
forGROUP BY
withORDER BY
andLIMIT
Configuration menu - View commit details
-
Copy full SHA for 87ca68e - Browse repository at this point
Copy the full SHA 87ca68eView commit details
Commits on Oct 15, 2017
-
MySQL: Don't lose
auto_increment: true
in thedb/schema.rb
Currently `AUTO_INCREMENT` is implicitly used in the default primary key definition. But `AUTO_INCREMENT` is not only used for single column primary key, but also for composite primary key. In that case, `auto_increment: true` should be dumped explicitly in the `db/schema.rb`. Fixes #30894.
Configuration menu - View commit details
-
Copy full SHA for 8b6e694 - Browse repository at this point
Copy the full SHA 8b6e694View commit details -
Fix collided sequence name detection
If collided named sequence already exists, newly created serial column will generate alternative sequence name. Fix sequence name detection to allow the alternative names.
Configuration menu - View commit details
-
Copy full SHA for 976f9c3 - Browse repository at this point
Copy the full SHA 976f9c3View commit details -
Fix longer sequence name detection for serial columns (#28339)
We already found the longer sequence name, but we could not consider whether it was the sequence name created by serial type due to missed a max identifier length limitation. I've addressed the sequence name consideration to respect the max identifier length. Fixes #28332.
Configuration menu - View commit details
-
Copy full SHA for af9c170 - Browse repository at this point
Copy the full SHA af9c170View commit details
Commits on Oct 18, 2017
-
Fix `bin/rails db:setup` and `bin/rails db:test:prepare` create wrong ar_internal_metadata's data for a test database. [Sean Griffin & bogdanvlviv]
Configuration menu - View commit details
-
Copy full SHA for 4ea7b49 - Browse repository at this point
Copy the full SHA 4ea7b49View commit details
Commits on Oct 22, 2017
-
Configuration menu - View commit details
-
Copy full SHA for bb67b5f - Browse repository at this point
Copy the full SHA bb67b5fView commit details -
Merge pull request #30727 from tgxworld/backport_perf_chanages
Backport perf changes
Configuration menu - View commit details
-
Copy full SHA for 9e9f4d1 - Browse repository at this point
Copy the full SHA 9e9f4d1View commit details
Commits on Oct 23, 2017
-
Fix deprecation warnings from with_lock
Currently `with_lock` checks whether the record has `changed?`, but when called within a callback `changed?` triggers deprecation warnings. Instead use `has_changes_to_save?`. Fixes #30307
Chris Stadler committedOct 23, 2017 Configuration menu - View commit details
-
Copy full SHA for 3b9b5c6 - Browse repository at this point
Copy the full SHA 3b9b5c6View commit details -
Merge pull request #30956 from CJStadler/with-lock-changed-deprecation
Fix deprecation warnings from with_lock
Configuration menu - View commit details
-
Copy full SHA for 9b466d4 - Browse repository at this point
Copy the full SHA 9b466d4View commit details -
Merge pull request #30959 from lostapathy/capybara_version
specify minimum capybara version for system tests
Configuration menu - View commit details
-
Copy full SHA for 5124ab7 - Browse repository at this point
Copy the full SHA 5124ab7View commit details
Commits on Oct 25, 2017
-
Merge pull request #30513 from y-yagi/fix_30444
Does not include disabled element in params
Configuration menu - View commit details
-
Copy full SHA for 7903fb4 - Browse repository at this point
Copy the full SHA 7903fb4View commit details
Commits on Oct 29, 2017
-
Configuration menu - View commit details
-
Copy full SHA for 439c746 - Browse repository at this point
Copy the full SHA 439c746View commit details -
Merge pull request #30928 from Altech/indifferent-ignored-columns
Allow symbol list for ignored_columns
Configuration menu - View commit details
-
Copy full SHA for d8c9c80 - Browse repository at this point
Copy the full SHA d8c9c80View commit details -
Merge pull request #29609 from tsukasaoishi/query_cache_from_beginning
Enable query cache if set a configurations
Configuration menu - View commit details
-
Copy full SHA for fd6c8cd - Browse repository at this point
Copy the full SHA fd6c8cdView commit details -
Merge pull request #29623 from kamipo/should_use_same_connection_in_q…
…uery_cache Should use the same connection in using query cache
Configuration menu - View commit details
-
Copy full SHA for 997922d - Browse repository at this point
Copy the full SHA 997922dView commit details -
Configuration menu - View commit details
-
Copy full SHA for dd691dd - Browse repository at this point
Copy the full SHA dd691ddView commit details -
Merge pull request #30909 from ahorek/compatibility_fix
42 compatibility - use int instead of bigint
Configuration menu - View commit details
-
Copy full SHA for c749be7 - Browse repository at this point
Copy the full SHA c749be7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6e998cd - Browse repository at this point
Copy the full SHA 6e998cdView commit details
Commits on Nov 11, 2017
-
Configuration menu - View commit details
-
Copy full SHA for a3b4ff2 - Browse repository at this point
Copy the full SHA a3b4ff2View commit details -
Specify bundler version in template files
We have already specified to install `bundler` 1.15.4 in `.travis.yml`. https://github.com/rails/rails/blob/master/.travis.yml#L31..L32 However, `bundler` 1.16.0 may be used in the test. https://travis-ci.org/rails/rails/jobs/296582467#L2208 The test failed due to this influence. In order to avoid this, specifying `bundler` version in bug report templates.
Configuration menu - View commit details
-
Copy full SHA for 3bec338 - Browse repository at this point
Copy the full SHA 3bec338View commit details -
Merge pull request #31125 from y-yagi/fix_5_1_stable_ci
Fix 5-1-stable CI
Configuration menu - View commit details
-
Copy full SHA for 72c3119 - Browse repository at this point
Copy the full SHA 72c3119View commit details
Commits on Nov 13, 2017
-
Merge pull request #30980 from sobrinho/sobrinho/arel-star-ignored-co…
…lumns Do not use `Arel.star` when `ignored_columns`
Configuration menu - View commit details
-
Copy full SHA for ce0787f - Browse repository at this point
Copy the full SHA ce0787fView commit details
Commits on Nov 17, 2017
-
Prevent deadlocks with load interlock and DB lock.
This fixes an issue where competing threads deadlock each other. - Thread A holds the load interlock but is blocked on getting the DB lock - Thread B holds the DB lock but is blocked on getting the load interlock (for example when there is a `Model.transaction` block that needs to autoload) This solution allows for dependency loading in other threads while a thread is waiting to acquire the DB lock. Fixes #31019
Configuration menu - View commit details
-
Copy full SHA for eccc533 - Browse repository at this point
Copy the full SHA eccc533View commit details -
Merge pull request #31174 from BrentWheeldon/bmw-db-load-deadlock-5-1
Backport prevent deadlocks with load interlock and DB lock to 5-1-stable
Configuration menu - View commit details
-
Copy full SHA for 567f703 - Browse repository at this point
Copy the full SHA 567f703View commit details
Commits on Nov 25, 2017
-
Merge pull request #30468 from greysteil/backport-changelog-links
Backport changelog links
Configuration menu - View commit details
-
Copy full SHA for 350f789 - Browse repository at this point
Copy the full SHA 350f789View commit details
Commits on Nov 29, 2017
-
Configuration menu - View commit details
-
Copy full SHA for e9b7795 - Browse repository at this point
Copy the full SHA e9b7795View commit details
Commits on Dec 7, 2017
-
Fix sqlite migrations with custom primary keys
Previously, if a record was created with a custom primary key, that table could not be migrated using sqlite. While attempting to copy the table, the type of the primary key was ignored. Once that was corrected, copying the indexes would fail because custom primary keys are autoindexed by sqlite by default. To correct that, this skips copying the index if the index name begins with "sqlite_". This is a reserved word that indicates that the index is an internal schema object. SQLite prohibits applications from creating objects whose names begin with "sqlite_", so this string should be safe to use as a check. ref https://www.sqlite.org/fileformat2.html#intschema
Configuration menu - View commit details
-
Copy full SHA for 832520c - Browse repository at this point
Copy the full SHA 832520cView commit details -
Merge pull request #31361 from aellispierce/backport-fix-custom-id-sq…
…lite Backport fix sqlite migrations with custom primary keys to 5-1-stable
Configuration menu - View commit details
-
Copy full SHA for 5f4b57d - Browse repository at this point
Copy the full SHA 5f4b57dView commit details -
Backport fix
test_session_store_with_expire_after
https://travis-ci.org/rails/rails/jobs/304428814#L1977 Backports the fix from master for the rack-test failure with some additional work. 1) 0.7.1 has been yanked so this updates rack test to 0.8.2 as does travis CI and 2) since `cookie_body` was changed in 5f37e16 also take that change and compare against the `cookies[SessionKey]` instead of cookie body. Fixes the following error on travis: ``` Failure: CookieStoreTest#test_session_store_with_expire_after [/home/travis/build/rails/rails/actionpack/test/dispatch/session/cookie_store_test.rb:300]: --- expected +++ actual @@ -1 +1 @@ -"_myapp_session=BAh7B0kiCGZvbwY6BkVGSSIIYmFyBjsAVEkiD3Nlc3Npb25faWQGOwBGSSIlNTRiODg2NDM3YzAxYThmYTA3YWRhYmIwNDI5NTg1OWIGOwBG--e92675cf54c0656741f780418801e207fdb1d4c8; path=/; expires=Fri, 25 Apr 2008 05:00:00 -0000; HttpOnly" +nil ```
Configuration menu - View commit details
-
Copy full SHA for 532c8a8 - Browse repository at this point
Copy the full SHA 532c8a8View commit details
Commits on Dec 8, 2017
-
Backport #30748 for redis-rb 4.0 support
Rails master adds support for redis-rb 4.0 but when Rails 5-1-stable branch gets an updated redis there are exceptions in the travis log. ``` Error: RedisAdapterTest#test_channel_filtered_broadcast: Gem::LoadError: Specified 'redis' for Action Cable pubsub adapter, but the gem is not loaded. Add `gem 'redis'` to your Gemfile (and ensure its version is at the minimum required by Action Cable). ``` This PR backports Jeremy's work so that the build can be green. [Eileen M. Uchitelle & Jeremy Daer]
Configuration menu - View commit details
-
Copy full SHA for 3789531 - Browse repository at this point
Copy the full SHA 3789531View commit details -
CI with the latest stable(GA) version of MariaDB 10.2
- Travis CI is migrating Ubuntu version to Trusty - MariaDB 10.2 is supported on Ubuntu Trusty
Configuration menu - View commit details
-
Copy full SHA for 400a37d - Browse repository at this point
Copy the full SHA 400a37dView commit details -
Merge pull request #29850 from yahonda/test_with_mariadb_102_on_trusty
CI with the latest stable(GA) version of MariaDB 10.2
Configuration menu - View commit details
-
Copy full SHA for 3059dee - Browse repository at this point
Copy the full SHA 3059deeView commit details -
Merge pull request #31355 from rails/fix-rails-env-with-ruby
Fix Rails environment when running tests with Ruby
Configuration menu - View commit details
-
Copy full SHA for c03a399 - Browse repository at this point
Copy the full SHA c03a399View commit details
Commits on Dec 12, 2017
-
Merge pull request #31403 from Edouard-chin/fix-quoted-columnname
Quote colum_names when building select:
Configuration menu - View commit details
-
Copy full SHA for aa38973 - Browse repository at this point
Copy the full SHA aa38973View commit details -
Merge pull request #31405 from bogdanvlviv/fix-conflicts-counter_cach…
…e-with-touch-by-optimistic_locking Fix conflicts `counter_cache` with `touch: true` by optimistic locking.
Configuration menu - View commit details
-
Copy full SHA for 5236dda - Browse repository at this point
Copy the full SHA 5236ddaView commit details
Commits on Dec 13, 2017
-
Configuration menu - View commit details
-
Copy full SHA for 44103bc - Browse repository at this point
Copy the full SHA 44103bcView commit details -
Merge pull request #31433 from jordan-brough/preserve-deprecated-meth…
…od-visibility Preserve original method visibility when deprecating a method
Configuration menu - View commit details
-
Copy full SHA for 461fc3e - Browse repository at this point
Copy the full SHA 461fc3eView commit details -
Merge pull request #31428 from yahonda/report_on_exception_true_in_ru…
…by25 Suppress expected exceptions by `report_on_exception` = `false`
Configuration menu - View commit details
-
Copy full SHA for b1d7cb4 - Browse repository at this point
Copy the full SHA b1d7cb4View commit details
Commits on Dec 14, 2017
-
Fix test for change to circular loading message
44103bc changed the circular loading message to include more details, but the corresponding test was not updated. This commit fixes the corresponding test to use `assert_match` so we don't need to build a bunch of file paths for the tests.
Configuration menu - View commit details
-
Copy full SHA for 97bc205 - Browse repository at this point
Copy the full SHA 97bc205View commit details -
Specify bundler version in template files
We have already specified to install `bundler` 1.15.4 in `.travis.yml`. https://github.com/rails/rails/blob/master/.travis.yml#L31..L32 However, `bundler` 1.16.0 may be used in the test. https://travis-ci.org/rails/rails/jobs/296582467#L2208 The test failed due to this influence. In order to avoid this, specifying `bundler` version in bug report templates.
Configuration menu - View commit details
-
Copy full SHA for e6fca71 - Browse repository at this point
Copy the full SHA e6fca71View commit details -
Revert "Specify bundler version in template files"
This reverts commit e6fca71. I didn't realize this was already cherry-picked. Reverting.
Configuration menu - View commit details
-
Copy full SHA for 963f051 - Browse repository at this point
Copy the full SHA 963f051View commit details -
Bundler 1.16.0 doesnt work with our executable test cases. This is causing travis to fail, so locking travis to use bundler 1.15.4.
Configuration menu - View commit details
-
Copy full SHA for 3efd1a9 - Browse repository at this point
Copy the full SHA 3efd1a9View commit details -
Revert "Add more info to the circular dependency error"
This reverts commit 44103bc. This should not be here
Configuration menu - View commit details
-
Copy full SHA for a33e934 - Browse repository at this point
Copy the full SHA a33e934View commit details
Commits on Dec 15, 2017
-
Configuration menu - View commit details
-
Copy full SHA for afae7f9 - Browse repository at this point
Copy the full SHA afae7f9View commit details -
`make_tmpname` was removed by ruby/ruby@25d56ea. In this case, we want a file name, not a `File`. So cannot use `Tempfile`. Fixes #31458
Configuration menu - View commit details
-
Copy full SHA for c4a1b11 - Browse repository at this point
Copy the full SHA c4a1b11View commit details
Commits on Dec 17, 2017
-
Merge pull request #29127 from DmytroVasin/rails-ujs-remote-callbacks
Fix callback in rails ujs
Configuration menu - View commit details
-
Copy full SHA for 8598e49 - Browse repository at this point
Copy the full SHA 8598e49View commit details
Commits on Dec 19, 2017
-
Backport `Fix to working before/after validation callbacks on multipl…
…e contexts.` Though the validation have supported multiple context since #21069, its callbacks don't support multiple context currently. So I regarded this as the bug and fixed. Example: ```ruby class Dog include ActiveModel::Validations include ActiveModel::Validations::Callbacks attr_accessor :history def initialize @history = [] end before_validation :set_before_validation_on_a, on: :a before_validation :set_before_validation_on_b, on: :b after_validation :set_after_validation_on_a, on: :a after_validation :set_after_validation_on_b, on: :b def set_before_validation_on_a; history << "before_validation on a"; end def set_before_validation_on_b; history << "before_validation on b"; end def set_after_validation_on_a; history << "after_validation on a" ; end def set_after_validation_on_b; history << "after_validation on b" ; end end ``` Before: ``` d = Dog.new d.valid?([:a, :b]) d.history # [] ``` After: ``` d = Dog.new d.valid?([:a, :b]) d.history # ["before_validation on a", "before_validation on b", "after_validation on a", "after_validation on b"] ```
Configuration menu - View commit details
-
Copy full SHA for 0f7046a - Browse repository at this point
Copy the full SHA 0f7046aView commit details -
Merge pull request #31516 from yhirano55/backport-31483
Backport #31483 to 5-1-stable
Configuration menu - View commit details
-
Copy full SHA for 35b8f0f - Browse repository at this point
Copy the full SHA 35b8f0fView commit details
Commits on Dec 20, 2017
-
Handle
FrozenError
if it is availableThis pull request handles `FrozenError` introduced by Ruby 2.5. Refer https://bugs.ruby-lang.org/projects/ruby-trunk/repository/revisions/61131 Since `FrozenError` is a subclass of `RuntimeError` minitest used by master branch can handle it, though it would be better to handle `FrozenError` explicitly if possible. `FrozenError` does not exist in Ruby 2.4 or lower, `frozen_error_class` handles which exception is expected to be raised.
Configuration menu - View commit details
-
Copy full SHA for 0806941 - Browse repository at this point
Copy the full SHA 0806941View commit details -
Fix
count(:all)
to correctly workdistinct
with custom SELECT listCurrently `count(:all)` with `distinct` doesn't work correctly because SELECT list is always replaced to `*` or primary key in that case even if having custom SELECT list. And also, PostgreSQL has a limitation that ORDER BY expressions must appear in select list for SELECT DISTINCT. Therefore, we should not replace custom SELECT list when using `count(:all)` with `distinct`. Closes #31277.
Configuration menu - View commit details
-
Copy full SHA for 6beb4de - Browse repository at this point
Copy the full SHA 6beb4deView commit details -
Merge pull request #31099 from nobu/patch-1
Use `Tempfile.create`
Configuration menu - View commit details
-
Copy full SHA for 85ef090 - Browse repository at this point
Copy the full SHA 85ef090View commit details -
Merge pull request #31525 from yahonda/5-1-stable_backport_31520
Handle `FrozenError` if it is available to 5-1-stable
Configuration menu - View commit details
-
Copy full SHA for cb7347a - Browse repository at this point
Copy the full SHA cb7347aView commit details -
Merge pull request #25346 from bogdan/correct-tags-count-in-fixtures
Set counter caches to correct values in fixtures
Configuration menu - View commit details
-
Copy full SHA for 9f54165 - Browse repository at this point
Copy the full SHA 9f54165View commit details
Commits on Dec 25, 2017
-
Merge pull request #31543 from hsbt/update-bundler-1-16
Relax bundler version on Travis CI
Configuration menu - View commit details
-
Copy full SHA for fa81f88 - Browse repository at this point
Copy the full SHA fa81f88View commit details -
Revert "Merge pull request #31543 from hsbt/update-bundler-1-16"
This reverts commit fa81f88.
Configuration menu - View commit details
-
Copy full SHA for 3dcc095 - Browse repository at this point
Copy the full SHA 3dcc095View commit details
Commits on Dec 26, 2017
-
Relax bundler version in 5-1-stable (#31565)
Relax bundler version in 5-1-stable
Configuration menu - View commit details
-
Copy full SHA for 44da91d - Browse repository at this point
Copy the full SHA 44da91dView commit details
Commits on Jan 3, 2018
-
SQLite: Fix
copy_table
with composite primary keys`connection.primary_key` also return composite primary keys, so `from_primary_key_column` may not be found even if `from_primary_key` is presented. ``` % ARCONN=sqlite3 be ruby -w -Itest test/cases/adapters/sqlite3/sqlite3_adapter_test.rb -n test_copy_table_with_composite_primary_keys Using sqlite3 Run options: -n test_copy_table_with_composite_primary_keys --seed 19041 # Running: E Error: ActiveRecord::ConnectionAdapters::SQLite3AdapterTest#test_copy_table_with_composite_primary_keys: NoMethodError: undefined method `type' for nil:NilClass /path/to/rails/activerecord/lib/active_record/connection_adapters/sqlite3_adapter.rb:411:in `block in copy_table' ``` This change fixes `copy_table` to do not lose composite primary keys.
Configuration menu - View commit details
-
Copy full SHA for 9ca3b01 - Browse repository at this point
Copy the full SHA 9ca3b01View commit details -
Merge pull request #31562 from fatkodima/sqlite_migration_compatibility
Fix `add_column` with :primary_key type compatibility for SQLite SQLite: Add more test cases for adding primary key
Configuration menu - View commit details
-
Copy full SHA for 4172571 - Browse repository at this point
Copy the full SHA 4172571View commit details -
Merge pull request #31607 from fatkodima/fix-sqlite-partial-indexes
Fix recreating partial indexes after alter table for sqlite
Configuration menu - View commit details
-
Copy full SHA for 49d6a10 - Browse repository at this point
Copy the full SHA 49d6a10View commit details -
Merge pull request #31521 from zinovyev/fix-mysql-get-lock-bigint
Fix Illegal parameter data type bigint for operation 'get_lock' error
Configuration menu - View commit details
-
Copy full SHA for e30a437 - Browse repository at this point
Copy the full SHA e30a437View commit details -
Merge pull request #31425 from chiastolite/optimize_foregin_keys_query
Optimizing information_schema query for `foreign_keys`
Configuration menu - View commit details
-
Copy full SHA for 9fe3a52 - Browse repository at this point
Copy the full SHA 9fe3a52View commit details -
Merge pull request #29785 from cswilliams/rescue_postgres_connection_…
…errors_on_dealloc Catch postgres connection errors when trying to dealloc
Configuration menu - View commit details
-
Copy full SHA for fedca47 - Browse repository at this point
Copy the full SHA fedca47View commit details -
Merge pull request #27780 from mikelikesbikes/fix-update-attribute-ca…
…llbacks-issue save attributes changed by callbacks after update_attribute
Configuration menu - View commit details
-
Copy full SHA for 6346683 - Browse repository at this point
Copy the full SHA 6346683View commit details -
Merge pull request #27561 from fishbrain/count-all-in-has-many-associ…
…ation Use `count(:all)` in HasManyAssociation#count_records
Configuration menu - View commit details
-
Copy full SHA for eef3c89 - Browse repository at this point
Copy the full SHA eef3c89View commit details -
Fix
cache_key
with a relation having distinct and orderWe can't replace existing SELECT list as long as having DISTINCT, it will cause incorrect result. And also, PostgreSQL has a limitation that ORDER BY expressions must appear in select list for SELECT DISTINCT. Therefore, we should not replace existing SELECT list when using DISTINCT. Fixes #29779.
Configuration menu - View commit details
-
Copy full SHA for 51a66dd - Browse repository at this point
Copy the full SHA 51a66ddView commit details -
Using table name qualified column names unless having SELECT list exp…
…licitly Previously table name qualified `*` is used in that case. If it is not qualified with a table name, an ambiguous column name error will occur when using JOINs.
Configuration menu - View commit details
-
Copy full SHA for b5300d9 - Browse repository at this point
Copy the full SHA b5300d9View commit details -
Merge pull request #31423 from bogdanvlviv/fix-protected_environments…
…-with-symbols Fix protected environments with symbols
Configuration menu - View commit details
-
Copy full SHA for 4cc2ea7 - Browse repository at this point
Copy the full SHA 4cc2ea7View commit details
Commits on Jan 11, 2018
-
Merge pull request #31671 from larskanis/pg-1.0
PostgreSQL: Allow pg-1.0 gem to be used with ActiveRecord
Configuration menu - View commit details
-
Copy full SHA for a9c06f6 - Browse repository at this point
Copy the full SHA a9c06f6View commit details -
Use my fork instead of an thrid-party fork
This will avoid the branch being deleted by mistake making all builds to fail.
Configuration menu - View commit details
-
Copy full SHA for e44c0d5 - Browse repository at this point
Copy the full SHA e44c0d5View commit details
Commits on Jan 13, 2018
-
Merge pull request #31624 from y-yagi/fix_minitest_511
Add support for Minitest 5.11
Configuration menu - View commit details
-
Copy full SHA for 0552bca - Browse repository at this point
Copy the full SHA 0552bcaView commit details -
Minitest::Result
can't use in 5-1-stableBecause Minitest is locked by 5.3.3.
Configuration menu - View commit details
-
Copy full SHA for f7e5f19 - Browse repository at this point
Copy the full SHA f7e5f19View commit details
Commits on Jan 19, 2018
-
Configuration menu - View commit details
-
Copy full SHA for 293be49 - Browse repository at this point
Copy the full SHA 293be49View commit details
Commits on Jan 22, 2018
-
Fix newly added reflection order when redefining association
Currently reflections keeps the order when first added even if when redefining association. As a result of the order, redefining through association which use newly added association will raise `HasManyThroughOrderError`. We need to redefine reflection order as well when redefining association. Fixes #31068.
Configuration menu - View commit details
-
Copy full SHA for 25586e0 - Browse repository at this point
Copy the full SHA 25586e0View commit details
Commits on Jan 25, 2018
-
Merge pull request #30391 from jbourassa/fix-actionmailer-lambda-default
Fix actionmailer lambda default
Configuration menu - View commit details
-
Copy full SHA for b2bedb1 - Browse repository at this point
Copy the full SHA b2bedb1View commit details -
Fix
count(:all)
with eager loading and having an order other than t……he driving table This is a regression caused by 6beb4de. In PostgreSQL, ORDER BY expressions must appear in SELECT list when using DISTINCT. When using `count(:all)` with eager loading, Active Record enforces DISTINCT to count the driving table records only. 6beb4de was caused the regression because `count(:all)` with DISTINCT path no longer removes ORDER BY. We need to ignore ORDER BY when DISTINCT is enforced, otherwise not always generated valid SQL for PostgreSQL. Fixes #31783.
Configuration menu - View commit details
-
Copy full SHA for 6df9b69 - Browse repository at this point
Copy the full SHA 6df9b69View commit details
Commits on Jan 26, 2018
-
Merge pull request #31803 from rmosolgo/rm-dependencies
Fix infinite loop when unloading autoloaded modules
Configuration menu - View commit details
-
Copy full SHA for fcb5ae3 - Browse repository at this point
Copy the full SHA fcb5ae3View commit details
Commits on Feb 1, 2018
-
Configuration menu - View commit details
-
Copy full SHA for f8c00c1 - Browse repository at this point
Copy the full SHA f8c00c1View commit details
Commits on Feb 5, 2018
-
Change how
AttributeSet::Builder
receives its defaultsThere are two concerns which are both being combined into one here, but both have the same goal. There are certain attributes which we want to always consider initialized. Previously, they were handled separately. The primary key (which is assumed to be backed by a database column) needs to be initialized, because there is a ton of code in Active Record that assumes `foo.id` will never raise. Additionally, we want attributes which aren't backed by a database column to always be initialized, since we would never receive a database value for them. Ultimately these two concerns can be combined into one. The old implementation hid a lot of inherent complexity, and is hard to optimize from the outside. We can simplify things significantly by just passing in a hash. This has slightly different semantics from the old behavior, in that `Foo.select(:bar).first.id` will return the default value for the primary key, rather than `nil` unconditionally -- however, the default value is always `nil` in practice.
Configuration menu - View commit details
-
Copy full SHA for 1fd6750 - Browse repository at this point
Copy the full SHA 1fd6750View commit details -
PERF: Recover marshaling dump/load performance (#31827)
* PERF: Recover marshaling dump/load performance This performance regression which is described in #30680 was caused by f0ddf87 due to force materialized `LazyAttributeHash`. Since 95b86e5, 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
Configuration menu - View commit details
-
Copy full SHA for f45de5d - Browse repository at this point
Copy the full SHA f45de5dView commit details
Commits on Feb 6, 2018
-
Merge pull request #31894 from kamipo/backport-31827
5-1-stable: PERF: Recover marshaling dump/load performance
Configuration menu - View commit details
-
Copy full SHA for 5b4ad7d - Browse repository at this point
Copy the full SHA 5b4ad7dView commit details
Commits on Feb 7, 2018
-
Merge pull request #31923 from jdelStrother/duration-deserialization
Fix yaml deserialization of ActiveSupport::Duration
Configuration menu - View commit details
-
Copy full SHA for da41b34 - Browse repository at this point
Copy the full SHA da41b34View commit details
Commits on Feb 14, 2018
-
Merge pull request #31991 from radar/bump-i18n-to-one-dot-oh
Bump i18n to 1.0
Configuration menu - View commit details
-
Copy full SHA for e6ee1ac - Browse repository at this point
Copy the full SHA e6ee1acView commit details -
Configuration menu - View commit details
-
Copy full SHA for 90f30ec - Browse repository at this point
Copy the full SHA 90f30ecView commit details -
Without this require, an error occurs when executing only `duration_test.rb`. Ref: https://travis-ci.org/rails/rails/jobs/338817558#L2205-L2210
Configuration menu - View commit details
-
Copy full SHA for 569302b - Browse repository at this point
Copy the full SHA 569302bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5bb7319 - Browse repository at this point
Copy the full SHA 5bb7319View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6406502 - Browse repository at this point
Copy the full SHA 6406502View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6ccd2b0 - Browse repository at this point
Copy the full SHA 6ccd2b0View commit details -
Configuration menu - View commit details
-
Copy full SHA for eb92dd7 - Browse repository at this point
Copy the full SHA eb92dd7View commit details
Commits on Feb 17, 2018
-
Merge pull request #31901 from Kevinrob/patch-1
Use SuppressedSummaryReporter and Rails::TestUnitReporter only if needed
Configuration menu - View commit details
-
Copy full SHA for caa7695 - Browse repository at this point
Copy the full SHA caa7695View commit details
Commits on Feb 18, 2018
-
Configuration menu - View commit details
-
Copy full SHA for ff137ec - Browse repository at this point
Copy the full SHA ff137ecView commit details
Commits on Feb 19, 2018
-
Return all mappings for a timezone id in
country_zones
Some timezones like `Europe/London` have multiple mappings in `ActiveSupport::TimeZone::MAPPING` so return all of them instead of the first one found by using `Hash#value`. e.g: # Before ActiveSupport::TimeZone.country_zones("GB") # => ["Edinburgh"] # After ActiveSupport::TimeZone.country_zones("GB") # => ["Edinburgh", "London"] Fixes #31668. (cherry picked from commit 2d95956)
Configuration menu - View commit details
-
Copy full SHA for 0222ebb - Browse repository at this point
Copy the full SHA 0222ebbView commit details
Commits on Feb 20, 2018
-
Configuration menu - View commit details
-
Copy full SHA for 6186f9c - Browse repository at this point
Copy the full SHA 6186f9cView commit details
Commits on Feb 21, 2018
-
Although not a direct dependency, it's pulled in by Resque for Active Job integration tests so we need to update because the rack-protection gem has a security vulnerability[1]. [1]: https://nvd.nist.gov/vuln/detail/CVE-2018-7212
Configuration menu - View commit details
-
Copy full SHA for 5e03e7b - Browse repository at this point
Copy the full SHA 5e03e7bView commit details
Commits on Feb 28, 2018
-
Merge pull request #32005 from maschwenk/ar-distinct-order-count-regr…
…ession Active Record distinct & order #count regression
Configuration menu - View commit details
-
Copy full SHA for 3ec2498 - Browse repository at this point
Copy the full SHA 3ec2498View commit details
Commits on Mar 3, 2018
-
Configuration menu - View commit details
-
Copy full SHA for 51bbc4c - Browse repository at this point
Copy the full SHA 51bbc4cView commit details
Commits on Mar 5, 2018
-
Merge pull request #32161 from aried3r/patch-3
Add pg 1.0.0 compatibility to 5.1.5 Changelog [ci skip]
Configuration menu - View commit details
-
Copy full SHA for 9b553ff - Browse repository at this point
Copy the full SHA 9b553ffView commit details -
Merge pull request #28926 from bogdanvlviv/fix-destroy-with-locking_c…
…olumn-value-null Fix destroy with locking_column value null
Configuration menu - View commit details
-
Copy full SHA for e498052 - Browse repository at this point
Copy the full SHA e498052View commit details -
Merge pull request #28914 from bogdanvlviv/fix-touch-with-optimistic-…
…locking Fix ActiveRecord::Persistence#touch with locking
Configuration menu - View commit details
-
Copy full SHA for 1e2f63d - Browse repository at this point
Copy the full SHA 1e2f63dView commit details -
Never attempt to write virtual attributes to the database
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)
Configuration menu - View commit details
-
Copy full SHA for 8103ca0 - Browse repository at this point
Copy the full SHA 8103ca0View commit details -
Ensure we don't write virtual attributes on update, too
See 948b931 for context
Configuration menu - View commit details
-
Copy full SHA for a941a57 - Browse repository at this point
Copy the full SHA a941a57View commit details -
Merge pull request #31435 from yahonda/deprecated_bigdecimal_new
Suppress `warning: BigDecimal.new is deprecated` in activerecord
Configuration menu - View commit details
-
Copy full SHA for 4a46ba9 - Browse repository at this point
Copy the full SHA 4a46ba9View commit details -
Configuration menu - View commit details
-
Copy full SHA for aa2b1ab - Browse repository at this point
Copy the full SHA aa2b1abView commit details -
Introduce
_update_row
to decouple optimistic locking concern from `……Persistence` module
Configuration menu - View commit details
-
Copy full SHA for fa779b3 - Browse repository at this point
Copy the full SHA fa779b3View commit details -
Fix that after commit callbacks on update does not triggered when opt…
…imistic locking is enabled This issue is caused by `@_trigger_update_callback` won't be updated due to `_update_record` in `Locking::Optimistic` doesn't call `super` when optimistic locking is enabled. Now optimistic locking concern when updating is supported by `_update_row` low level API, therefore overriding `_update_record` is no longer necessary. Removing the method just fix the issue. Closes #29096. Closes #29321. Closes #30823.
Configuration menu - View commit details
-
Copy full SHA for aaee10e - Browse repository at this point
Copy the full SHA aaee10eView commit details -
Merge pull request #32176 from kamipo/fix_after_update_commit
5-1-stable: Fix that after commit callbacks on update does not triggered when optimistic locking is enabled
Configuration menu - View commit details
-
Copy full SHA for 03f4e90 - Browse repository at this point
Copy the full SHA 03f4e90View commit details
Commits on Mar 14, 2018
-
Configuration menu - View commit details
-
Copy full SHA for 5dfb3a2 - Browse repository at this point
Copy the full SHA 5dfb3a2View commit details
Commits on Mar 15, 2018
-
Merge pull request #32220 from rails/fix-time-columns-on-sqlite3
Time column improvements
Configuration menu - View commit details
-
Copy full SHA for 0229463 - Browse repository at this point
Copy the full SHA 0229463View commit details -
Fix MigratorTest#test_migrator_verbosity
Add `ActiveRecord::Migration.verbose = true` to be sure that verbose is turned on in the test. Related to #28865
Configuration menu - View commit details
-
Copy full SHA for fa5c7c3 - Browse repository at this point
Copy the full SHA fa5c7c3View commit details -
Check exclude before flagging cookies as secure in ActionDispatch::SSL (
#32262) * Check exclude before flagging cookies as secure. * Update comments in ActionDispatch::SSL. [Catherine Khuu + Rafael Mendonça França]
Configuration menu - View commit details
-
Copy full SHA for d0fd5ae - Browse repository at this point
Copy the full SHA d0fd5aeView commit details
Commits on Mar 16, 2018
-
Configuration menu - View commit details
-
Copy full SHA for b563d02 - Browse repository at this point
Copy the full SHA b563d02View commit details
Commits on Mar 19, 2018
-
Fix failing
QuotingTest#test_quoted_time_utc
This test fails in specific time. Example: If run this test on the machine with time 01:00 am UTC+2, this test will fail. Changing representing of 2000-01-01 01:00 am UTC+2 to UTC+0 change the day, month and even year in our case, so substitution `"2000-01-01 "` to `""` isn't possible. ``` Failure: ActiveRecord::ConnectionAdapters::QuotingTest#test_quoted_time_utc Expected: "1999-12-31 23:01:27" Actual: "23:01:27" ``` Related to 7c479cb
Configuration menu - View commit details
-
Copy full SHA for c89e3b3 - Browse repository at this point
Copy the full SHA c89e3b3View commit details
Commits on Mar 20, 2018
-
Merge pull request #32282 from javan/fix-digesting-mixed-formats
Fix digesting templates with mixed formats
Configuration menu - View commit details
-
Copy full SHA for eb30975 - Browse repository at this point
Copy the full SHA eb30975View commit details
Commits on Mar 21, 2018
-
The urls helpers module returned by Rails.application.routes.url_helpers isn't cached so to prevent the cost of building the module cache it locally.
Configuration menu - View commit details
-
Copy full SHA for 8d0db23 - Browse repository at this point
Copy the full SHA 8d0db23View commit details -
Configuration menu - View commit details
-
Copy full SHA for a0c43ce - Browse repository at this point
Copy the full SHA a0c43ceView commit details -
Merge pull request #32310 from sodabrew/mysql2-0.4-0.5
Support mysql2 0.4.x and 0.5.x
Configuration menu - View commit details
-
Copy full SHA for 6a11d83 - Browse repository at this point
Copy the full SHA 6a11d83View commit details -
Fix
test_config_another_database
failureSomehow `test_config_another_database` didn't fail on CI, but it will fail locally. https://travis-ci.org/rails/rails/jobs/356212950#L2474-L2482 ``` % bundle exec ruby -w -Itest test/generators/app_generator_test.rb -n test_config_another_database Run options: -n test_config_another_database --seed 7260 # Running: F Failure: AppGeneratorTest#test_config_another_database [test/generators/app_generator_test.rb:417]: Expected /^\s*gem\s+["']mysql2["'], '~> 0.4.4'$*/ to match "source 'https://rubygems.org'\ngit_source(:github) { |repo| \"https://github.com/\#{repo}.git\" }\n\nruby '2.5.0'\n\n# Bundle edge Rails instead: gem 'rails', github: 'rails/rails'\ngem 'rails', '~> 6.0.0.alpha'\n# Use mysql as the database for Active Record\ngem 'mysql2', '>= 0.4.4', '< 0.6.0'\n# Use Puma as the app server\ngem 'puma', '~> 3.11'\n# Use SCSS for stylesheets\ngem 'sass-rails', '~> 5.0'\n# Use Uglifier as compressor for JavaScript assets\ngem 'uglifier', '>= 1.3.0'\n# See https://github.com/rails/execjs#readme for more supported runtimes\n# gem 'mini_racer', platforms: :ruby\n\n# Use CoffeeScript for .coffee assets and views\ngem 'coffee-rails', '~> 4.2'\n# Turbolinks makes navigating your web application faster. Read more: https://github.com/turbolinks/turbolinks\ngem 'turbolinks', '~> 5'\n# Build JSON APIs with ease. Read more: https://github.com/rails/jbuilder\ngem 'jbuilder', '~> 2.5'\n# Use Redis adapter to run Action Cable in production\n# gem 'redis', '~> 4.0'\n# Use ActiveModel has_secure_password\n# gem 'bcrypt', '~> 3.1.7'\n\n# Use ActiveStorage variant\n# gem 'mini_magick', '~> 4.8'\n\n# Use Capistrano for deployment\n# gem 'capistrano-rails', group: :development\n\n# Reduces boot times through caching; required in config/boot.rb\ngem 'bootsnap', '>= 1.1.0', require: false\n\ngroup :development, :test do\n # Call 'byebug' anywhere in the code to stop execution and get a debugger console\n gem 'byebug', platforms: [:mri, :mingw, :x64_mingw]\nend\n\ngroup :development do\n # Access an interactive console on exception pages or by calling 'console' anywhere in the code.\n gem 'web-console', '>= 3.3.0'\n gem 'listen', '>= 3.0.5', '< 3.2'\n # Spring speeds up development by keeping your application running in the background. Read more: https://github.com/rails/spring\n gem 'spring'\n gem 'spring-watcher-listen', '~> 2.0.0'\nend\n\ngroup :test do\n # Adds support for Capybara system testing and selenium driver\n gem 'capybara', '>= 2.15', '< 4.0'\n gem 'selenium-webdriver'\n # Easy installation and use of chromedriver to run system tests with Chrome\n gem 'chromedriver-helper'\nend\n\n# Windows does not include zoneinfo files, so bundle the tzinfo-data gem\ngem 'tzinfo-data', platforms: [:mingw, :mswin, :x64_mingw, :jruby]\n". bin/rails test test/generators/app_generator_test.rb:411 Finished in 0.174681s, 5.7247 runs/s, 34.3483 assertions/s. 1 runs, 6 assertions, 1 failures, 0 errors, 0 skips ```
Configuration menu - View commit details
-
Copy full SHA for 4680a7e - Browse repository at this point
Copy the full SHA 4680a7eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7a58d96 - Browse repository at this point
Copy the full SHA 7a58d96View commit details -
Configuration menu - View commit details
-
Copy full SHA for 90fd620 - Browse repository at this point
Copy the full SHA 90fd620View commit details
Commits on Mar 22, 2018
-
Configuration menu - View commit details
-
Copy full SHA for 2c537ba - Browse repository at this point
Copy the full SHA 2c537baView commit details
Commits on Mar 29, 2018
-
Configuration menu - View commit details
-
Copy full SHA for b39f89c - Browse repository at this point
Copy the full SHA b39f89cView commit details -
Merge pull request #32252 from bogdanvlviv/fix-changelogs-of-5-1-stab…
…le-30748 Fix changelog entries of `5-1-stable` [ci skip]
Configuration menu - View commit details
-
Copy full SHA for 2a553ac - Browse repository at this point
Copy the full SHA 2a553acView commit details -
Configuration menu - View commit details
-
Copy full SHA for a981596 - Browse repository at this point
Copy the full SHA a981596View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0ae59ea - Browse repository at this point
Copy the full SHA 0ae59eaView commit details -
Fix that
touch(:updated_at)
causes multiple assignments on the columnConfiguration menu - View commit details
-
Copy full SHA for 9d5048c - Browse repository at this point
Copy the full SHA 9d5048cView commit details
Commits on Apr 2, 2018
-
Bump tested versions of Ruby on CI
Also switch testing of ruby-head to ruby-2.5.1 since focus of future compatibility has switched to 5-2-stable and master.
Configuration menu - View commit details
-
Copy full SHA for 4cffb52 - Browse repository at this point
Copy the full SHA 4cffb52View commit details -
Backport fix for Dir::Tmpname.create from #32386
The removal of path separators from the tmpname value affects all four supported versions of Ruby - 2.2.10, 2.3.7, 2.4.4, and 2.5.1.
Configuration menu - View commit details
-
Copy full SHA for ca4be4b - Browse repository at this point
Copy the full SHA ca4be4bView commit details -
Lock Sidekiq for < 5 for Ruby 2.2
Sidekiq has a version check error for Ruby 2.2.10.
Configuration menu - View commit details
-
Copy full SHA for 42b98a2 - Browse repository at this point
Copy the full SHA 42b98a2View commit details -
Configuration menu - View commit details
-
Copy full SHA for f24fc33 - Browse repository at this point
Copy the full SHA f24fc33View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9e2432f - Browse repository at this point
Copy the full SHA 9e2432fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2baca8c - Browse repository at this point
Copy the full SHA 2baca8cView commit details