- 23 11月, 2018 1 次提交
-
-
由 Gannon McGibbon 提交于
Move `ActiveRecord::StatementInvalid` SQL to error property. Also add bindings as an error property.
-
- 22 11月, 2018 4 次提交
-
-
由 Rafael França 提交于
Fix ActionMailer assertion not working for mail defining delivery_job:
-
由 Edouard CHIN 提交于
- If a Mail defines a custom delivery_job, all ActionMailer assertion helper (assert_emails, assert_enqueued_emails ...) wouldn't work. ```ruby MyMailer < ApplicationMailer self.delivery_job = MyJob end # This assertion will fail assert_emails(1) do MyMailer.my_mail.deliver_later end This PR leverage the new ActiveJob feature that accepts Procs for the `only` keyword and check if the delivery job is one of ActionMailer registered ones.
-
由 Edouard CHIN 提交于
- That feature is useful to enqueue or assert that jobs got enqueued or performed based on dynamic conditions. We will be able to leverage that feature to fix all ActionMailer assertion helper issue when a Mailer define a custom delivery job (see next commit).
-
由 Ryuta Kamizono 提交于
Fixing an issue when parsing an opclass by allowing indexed column in indexdef to be wrapped up by double quotes
-
- 21 11月, 2018 13 次提交
-
-
由 Thomas Bianchini 提交于
in indexdef to be wrapped up by double quotes Fixes #34493. *Thomas Bianchini*
-
由 Eileen M. Uchitelle 提交于
Fix query cache for multiple connections
-
由 Ryuta Kamizono 提交于
-
由 Rafael França 提交于
Add slice! method to ActiveModel::Errors
-
由 Daniel Lopez Prat 提交于
-
由 Rafael França 提交于
Expand documentation for Hash#slice!
-
由 Daniel Lopez 👾 提交于
-
由 Eileen Uchitelle 提交于
Currently the query cache is only aware of one handler so once we added multiple databases switching on the handler we broke query cache for those reading connections. While #34054 is the proper fix, that fix is not straight forward and I want to make sure that the query cache isn't just broken for all other connections not in the main handler.
-
由 Eileen M. Uchitelle 提交于
Make connection handler per thread instead of per fiber
-
由 Eileen Uchitelle 提交于
The connection handler was using the RuntimeRegistry which kind of implies it's a per thread registry. But it's actually per fiber. If you have an application that uses fibers and you're using multiple databases, when you switch the connection handler to swap connections new fibers running on the same thread used to get a different connection id. This PR changes the code to actually use a thread so that we get the same connection. Fixes https://github.com/rails/rails/issues/30047 [Eileen M. Uchitelle, Aaron Patterson, & Arthur Neeves]
-
由 Rafael França 提交于
Stop using unnamed roots on conflict
-
由 Gannon McGibbon 提交于
Raises an ArgumentError when multiple root routes are defined in the same context instead of assigning nil names to subsequent roots.
-
由 Aaron Patterson 提交于
Fix handling of duplicates for `replace` on has_many-through
-
- 20 11月, 2018 18 次提交
-
-
由 Vipul A M 提交于
Fix typo in development_dependencies_install.md [ci skip]
-
由 Alfonso Jiménez 提交于
-
由 Ryuta Kamizono 提交于
Since #33449, `event.end = Time.now` is not used anymore and should use `event.finish!`. We can't use `deprecate :end=` in definition time in this module due to circular require in `active_support/deprecation/behaviors`.
-
由 Rafael Mendonça França 提交于
ActionMailer: support overriding template name in multipart
-
由 Rafael Mendonça França 提交于
:only and :except are now chained for routing resource(s)
-
由 Rafael França 提交于
Prevent TextHelper#word_wrap from stripping white space on the left side of long lines; Fixes #34487
-
由 Rafael França 提交于
Homogenize also rails help command output
-
由 Rafael Mendonça França 提交于
Permit of ActionController::Parameters for ActiveJob Serializable Argument
-
由 Bernie Chiu 提交于
-
由 Rafael França 提交于
Add comments to markdown templates
-
由 Lyle Mullican 提交于
side of long lines; Fixes #34487
-
由 Alberto Almagro 提交于
In commit 6567464b we homogenized rails commands with former rake tasks. We decided to display all commands at the same level and merged the list of commands displayed by `rails help`. We however forgot to actually merge the output in the command itself. This commit fixes that.
-
由 Alberto Almagro 提交于
The output from `rails help` actually leaves an empty space when printing the command lists. This commit adapts this guide to have the same format.
-
由 Aaron Patterson 提交于
Exercise `connected_to` and `connects_to` methods
-
由 Rafael Mendonça França 提交于
allow right to left styling of docs
-
由 Eileen M. Uchitelle 提交于
Windows support for parallelization and instrumenter
-
由 Eileen M. Uchitelle 提交于
Correctly handle unknown object in parallel tests
-
由 tamarr 提交于
* adding rtl css main file and logic to use
-
- 19 11月, 2018 4 次提交
-
-
由 Ryuta Kamizono 提交于
Update active_job_basics.md [ci skip]
-
由 Shota Iguchi 提交于
ApplicationJob should be inherits ActiveJob::Base
-
由 Gannon McGibbon 提交于
Correct a spelling error
-
由 jacobherrington 提交于
My spellchecker flagged this as an incorrect spelling, upon further research it appears to be a point of contention in English. Either way might work. After further examination queuing is much more common in the Rails codebase so making this change will serve to standardize the spelling.
-