| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
ConnectionHandler will not have any knowlodge of AR models now, it will
only know about the specs.
Like that we can decouple the two, and allow the same model to use more
than one connection.
Historically, folks used to create abstract AR classes on the fly in
order to have multiple connections for the same model, and override the
connection methods.
With this, now we can override the `specificiation_id` method in the
model, to return a key, that will be used to find the connection_pool
from the handler.
|
|\
| |
| | |
Ensure compatibility between ActionDispatch::Request::Session and Rack
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Adding the `each` method is required for ensuring compatibility between
Rails, and other Rack frameworks (like Sinatra, etc.), that are mounted
within Rails, and wish to use its session tooling. Prior to this, there
was an inconsistency between ActionDispatch::Request::Session and
Rack::Session::Cookie, due to the absence of the `each` method. This
should hopefully fix that error. :)
For a full integration test with Sinatra and a standalone Rack
application, you can check out the gist for that here: https://gist.github.com/maclover7/08cd95b0bfe259465314311941326470.
Solves #15843.
|
|\ \
| | |
| | | |
Bump Ruby versions
|
| |/
| |
| |
| |
| | |
2.2.4 --> 2.2.5
2.3.0 --> 2.3.1
|
|\ \
| | |
| | | |
Fix some typos in comments [ci skip]
|
|/ /
| |
| |
| | |
[ci skip]
|
| |
| |
| |
| |
| |
| |
| |
| | |
This is an engine living in action_cable/engine.rb, convention is to
call these things *::Engine.
Looking at thi git history looks like the current *::Railtie was just
an accident.
|
|\ \
| |/
|/| |
Fix actionpack typos [ci skip]
|
| | |
|
|\ \
| | |
| | | |
Depend on bundler 1.11.2 on travis until bundle update discrepancy is solved on 1.12.x
|
| | |
| | |
| | |
| | | |
Fix failing tests
|
| | |
| | |
| | |
| | | |
on 1.12.x
|
|/ / |
|
|\ \
| | |
| | | |
Change RangeError to a more specific ActiveModel::RangeError
|
|/ /
| |
| |
| |
| |
| | |
The should make it easier for apps to rescue ActiveModel specific
errors without the need to wrap all method calls with a generic
rescue RangeError.
|
|\ \
| | |
| | | |
Release notes: Remove duplicate entries
|
| | |
| | |
| | |
| | |
| | |
| | | |
- Removed duplicate entry for collection caching.
- The entry was duplicate and the link to PR was also wrong.
- Consolidated entries for `belongs_to` required by default.
|
|\ \ \
| | | |
| | | | |
Fix small typo in Active Record Migrations documentation
|
| | | | |
|
|\ \ \ \
| |/ / /
|/| | | |
remove `empty?` from CHANGELOG [ci skip]
|
|/ / /
| | |
| | |
| | | |
Follow up to 98264a1343fad6bb6637893a37fd571916b4158c
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
during iteration"
Resolved by https://github.com/ruby-concurrency/concurrent-ruby/pull/529
Fixes #24627.
|
|/ /
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Unlike `one?` and `none?`, `empty?` has interactions with methods
outside of enumerable. It also doesn't fit in the same vein.
`Topic.any?` makes sense. `Topic.empty?` does not, as `Topic` is not a
container.
Fixes #24808
Close #24812
|
|\ \
| | |
| | | |
[ci skip] Fix ActionCable README
|
|/ /
| |
| |
| | |
default worker pool size was changed from 100 to 4 at #24376
|
|\ \
| | |
| | | |
Add `:nodoc:` to `schema_creation` [ci skip]
|
|/ /
| |
| |
| |
| |
| |
| | |
`schema_creation` is not public API.
https://github.com/rails/rails/blob/v5.0.0.beta4/activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb#L121
https://github.com/rails/rails/blob/v5.0.0.beta4/activerecord/lib/active_record/connection_adapters/sqlite3_adapter.rb#L78
|
|\ \
| | |
| | |
| | |
| | | |
Fix counter_cache double increment bug
Close #24183
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
guides [ci skip]
Guides should be updated because ActionDispatch::LoadInterlock was replaced with
ActionDispatch::Executor at #23807.
|
| | |
| | |
| | |
| | | |
Signed-off-by: Jeremy Daer <jeremydaer@gmail.com>
|
|\ \ \
| | | |
| | | | |
fix incorrect module name [ci skip]
|
|/ / / |
|
|\ \ \
| | | |
| | | | |
Fix grammar. [ci skip]
|
| | | | |
|
|\ \ \ \
| | | | |
| | | | | |
Replace `Rails.version.to_f` with Active Record
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Rails should not be explicity mentioned within Active Record, since
railties and the Rails ecosystem is not required for use.
|
|\ \ \ \ \
| | | | | |
| | | | | | |
Fix actionpack typos [ci skip]
|
| | |_|_|/
| |/| | | |
|
| |/ / /
|/| | | |
|
| | | |
| | | |
| | | |
| | | | |
Signed-off-by: Jeremy Daer <jeremydaer@gmail.com>
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Refactor of #22911.
Signed-off-by: Jeremy Daer <jeremydaer@gmail.com>
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Follow up of 1683410.
Signed-off-by: Jeremy Daer <jeremydaer@gmail.com>
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
`ActiveRecord::Migration` needn't know about migration version
compatibility lookup. Delegate it to the Compatibility module.
Signed-off-by: Jeremy Daer <jeremydaer@gmail.com>
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
This commit undoes 54243fe.
Reason: Further investigation has shown the benefit is not so clear
generally speaking.
There is a long discussion and several benchmarks in the PR #24658
if you are interested in the details.
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Closes #24766, #24767
Signed-off-by: Jeremy Daer <jeremydaer@gmail.com>
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Use the updated changelog from the first merge: 7254517
References #22806, #24762.
[ci skip]
|