aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* | | | | | | | Make the second argument to `attribute` optionalSean Griffin2016-11-303-1/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | While working on updating Paper Trail for 5.1 compatibility, I noticed that I was required to pass a second argument to `attribute`. I didn't intend for this to be the case, as `attribute :foo` is totally reasonable shorthand for "I want `attr_accessor :foo`, but also have it work with things like `.attributes` and `ActiveRecord::Dirty`"
* | | | | | | | Correct deprecation warnings in `ActiveRecord::Dirty`Sean Griffin2016-11-301-6/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | I had pointed the messages at the new behavior, not the old.
* | | | | | | | Merge pull request #27225 from y-yagi/make_windows_check_more_accurateRafael França2016-11-306-7/+7
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | use `Gem.win_platform?` to check windows Ruby platforms
| * | | | | | | | use `Gem.win_platform?` to check windows Ruby platformsyuuji.yaginuma2016-11-306-7/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | `Gem.win_platform?` check if it is Windows more accurately. Ref: https://github.com/ruby/ruby/blob/ruby_2_2/lib/rubygems.rb#L945..L952
* | | | | | | | | Prevent race condition when launching EventMachine reactorMatthew Draper2016-11-302-2/+28
|/ / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | reactor_running? will be true just after the thread enters EventMachine.run; reactor_thread only gets set after the internal initialize_event_machine method has been called, the C extension is set up, and it is entering its run loop.
* | | | | | | | Avoid race condition in AJ integration testsMatthew Draper2016-11-302-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Make sure the file doesn't exist until we've finished writing it.
* | | | | | | | Merge pull request #27221 from phoet/current_is_not_usedMatthew Draper2016-11-301-1/+0
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | removed `@current` as it is not used
| * | | | | | | | removed `@current` as it is not usedphoet2016-11-301-1/+0
| | | | | | | | |
* | | | | | | | | Merge pull request #27220 from mrreynolds/patch-1Kasper Timm Hansen2016-11-301-1/+1
|\ \ \ \ \ \ \ \ \ | |/ / / / / / / / |/| | | | | | | | fix typo in changelog
| * | | | | | | | fix typo in changelogRobert Glaser2016-11-301-1/+1
|/ / / / / / / /
* | | | | | | | Missing require 'active_support/notifications'Akira Matsuda2016-11-301-0/+1
| | | | | | | |
* | | | | | | | Merge pull request #27217 from roryokane/patch-1Rafael França2016-11-291-1/+1
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | Fix typo in Rails 5.0 release notes – “when when”
| * | | | | | | | Fix typo in Rails 5.0 release notes – “when when”Rory O’Kane2016-11-291-1/+1
|/ / / / / / / / | | | | | | | | | | | | | | | | [ci skip]
* | | | | | | | Merge pull request #27212 from dcarral/docs-action-on-unpermitted-parameters ↵Sean Griffin2016-11-291-2/+2
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | [ci skip] Explicitly document 'false' as value for 'action_on_unpermitted_parameters'
| * | | | | | | | Document 'false' as option for 'action_on_unpermitted_parameters'Daniel Carral2016-11-291-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | [ci skip]
* | | | | | | | | Treat combined durations as a single unitSean Griffin2016-11-292-3/+20
|/ / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Prior to this commit, `3.months - 3.months` would result in a duration that has the "parts" of `[[:months, 3], [:months, -3]]`. This would mean that it was subtly different than `2.months - 2.months`. When applied to a time, the date might actually change if the resulting day doesn't exist however many months in the future, even though in both cases we just wanted to add `0`, which should always be an identity operation. With this change, we now store the parts as a hash, so `3.months - 3.months` is simply stored as `{ months: 0 }`.
* | | | | | | | Merge pull request #27126 from kamipo/fix_unsigned_with_zerofillRafael França2016-11-294-2/+9
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | Fix that unsigned with zerofill is treated as signed
| * | | | | | | | Fix that unsigned with zerofill is treated as signedRyuta Kamizono2016-11-274-2/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes #27125.
* | | | | | | | | Let's use only vendored rails-ujs while we start to publish it to npm registryGuillermo Iguaran2016-11-291-3/+1
| | | | | | | | |
* | | | | | | | | Add CHANGELOG entry for --yarn optionLiceth Ovalles2016-11-291-0/+5
| | | | | | | | |
* | | | | | | | | Merge pull request #26836 from Liceth/npmGuillermo Iguaran2016-11-298-3/+106
|\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | Add Yarn support in new apps using --yarn option
| * | | | | | | | | Run yarn on setup and update scripts.Liceth Ovalles2016-11-282-2/+8
| | | | | | | | | |
| * | | | | | | | | Add node_modules to default gitignoreLiceth Ovalles2016-11-281-0/+5
| | | | | | | | | |
| * | | | | | | | | Add node_modules path to assets load paths when --yarn option is usedLiceth Ovalles2016-11-282-0/+5
| | | | | | | | | |
| * | | | | | | | | Add package.json for Yarn if --yarn option is addedLiceth Ovalles2016-11-284-1/+88
| | | | | | | | | |
* | | | | | | | | | rails-ujs is now shipped with Action ViewGuillermo Iguaran2016-11-296-17/+2
| | | | | | | | | |
* | | | | | | | | | Merge pull request #27204 from JessRudder/22862-auth-note-on-testsJon Moss2016-11-281-0/+7
|\ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | Add note about step needed to get tests to pass if you implemented basic auth [ci skip]
| * | | | | | | | | | Add note about step needed to get tests to pass if you implemented basic ↵JessRudder2016-11-281-0/+7
|/ / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | auth [ci skip]
* | | | | | | | | | Merge pull request #27196 from kirs/rubocop-gemRafael França2016-11-282-0/+16
|\ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | Add rubocop to Gemfile
| * | | | | | | | | | Add rubocop to GemfileKir Shatrov2016-11-282-0/+16
| | |_|/ / / / / / / | |/| | | | | | | |
* | | | | | | | | | Merge pull request #27195 from y-yagi/use_public_module_includeSantiago Pastorino2016-11-273-3/+3
|\ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | use public Module#include instead of send :include
| * | | | | | | | | | use public Module#include instead of send :includeyuuji.yaginuma2016-11-273-3/+3
| | |_|_|_|/ / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | Follow up to #18767
* | | | | | | | | | Merge pull request #27190 from jnoortheen/issue-27189Santiago Pastorino2016-11-271-3/+4
|\ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | I found this issue and wanted to give the fix.
| * | | | | | | | | | fix: solves issue#27189jnoortheen2016-11-271-3/+4
| | | | | | | | | | |
* | | | | | | | | | | Merge pull request #27193 from plentz/masterSantiago Pastorino2016-11-272-2/+28
|\ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | fixing update_all and delete_all when chained with left_joins
| * | | | | | | | | | | fixing update_all and delete_all when chained with left_joins. fixes #27192Diego Plentz2016-11-272-2/+28
|/ / / / / / / / / / /
* / / / / / / / / / / [ci skip] Update the `as` docs.Kasper Timm Hansen2016-11-271-1/+2
|/ / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Mention the Accept header and how that figures into the request format.
* | | | / / / / / / Remove default argument value.Kasper Timm Hansen2016-11-271-1/+1
| |_|_|/ / / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | Wrongly added when fixing the request path wrangling.
* | | | | | | | | Merge pull request #26865 from ↵Matthew Draper2016-11-273-4/+23
|\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | sergey-alekseev/uniqueness-validation-scope-with-polymorphic-association fix the uniqueness validation scope with a polymorphic association
| * | | | | | | | | fix the uniqueness validation scope with a polymorphic associationSergey Alekseev2016-11-263-4/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | https://gist.github.com/sergey-alekseev/946657ebdb5e58d1bee115714056ec96
* | | | | | | | | | abort_on_exception can't be disabled for a single threadMatthew Draper2016-11-272-6/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If it's enabled globally, it's on regardless of how individual threads are set.
* | | | | | | | | | Only start rabbitmq when we need itMatthew Draper2016-11-271-6/+19
| | | | | | | | | |
* | | | | | | | | | We expect exceptions; abort will just raise in the wrong placeMatthew Draper2016-11-272-9/+17
| | | | | | | | | |
* | | | | | | | | | Clear available connections immediatelyMatthew Draper2016-11-271-0/+2
| |/ / / / / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It'll be re-cleared when it's rebuilt in with_new_connections_blocked's ensure, but we still need to clear it inside this synchronize -- we've disconnected connections that may be available in the queue, and while other threads are not allowed to make *new* connections, they are still allowed to take existing ones from there. This was incorrectly removed in d314646c965b045724e6bdb9d61dcecfabc0ba8f.
* | | | | | | | | Merge pull request #27183 from maclover7/jm-av-releaseGuillermo Iguaran2016-11-261-5/+7
|\ \ \ \ \ \ \ \ \ | |/ / / / / / / / |/| | | | | | | | Update RELEASING_RAILS.md for rails-ujs
| * | | | | | | | Update RELEASING_RAILS.md for rails-ujsJon Moss2016-11-261-5/+7
|/ / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | [ci skip]
* | | | | | | | Merge pull request #27182 from maclover7/jm-actionview-buildGuillermo Iguaran2016-11-261-1/+9
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | Add asset compilation Rake task for UJS
| * | | | | | | | Add asset compilation Rake task for UJSJon Moss2016-11-261-1/+9
|/ / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Uses same build pipeline (Blade) as Action Cable. Will run when Rails gems are being built for release.
* | | | | | | | Add UJS testsGuillermo Iguaran2016-11-2622-0/+5280
| | | | | | | |
* | | | | | | | Add rails-ujs to Action ViewGuillermo Iguaran2016-11-2614-0/+649
| | | | | | | |