| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|\ \ \ \
| |/ / /
|/| | | |
update `config.assets.digest` default value in guides [ci skip]
|
|/ / / |
|
|\ \ \
| | | |
| | | | |
[ci skip] Update 4.2 Release notes with more assert_select information.
|
| | | |
| | | |
| | | |
| | | |
| | | | |
Adds documentation for substitutions and why Regexp substitions look different
when assertion fails.
|
|\ \ \ \
| |/ / /
|/| | | |
Update ActiveSupport::Subscriber docs
|
| | | |
| | | |
| | | | |
For consistency purposes with the changes done in https://github.com/rails/rails/pull/12285
|
| |_|/
|/| | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This reverts commit 5cfa6a8ab997089c3012a82052c8c317b2e095f5, reversing
changes made to bfd5bf8313e6ea0bb2eccb68ee5076bb63f0b2db.
Reason: This broken travis build.
|
|\ \ \
| |/ /
|/| | |
DRY up STI subclass logic
|
|/ /
| |
| |
| |
| |
| |
| |
| |
| | |
the newer method used for discriminating new records did not
use the older and more robust method used for instantiating
existing records, but did have a better post-check to ensure
the sublass was in the hierarchy. so move the descendants check
to find_sti_class, and then simply call find_sti_class from
subclass_from_attributes
|
|\ \
| | |
| | |
| | |
| | |
| | | |
pinglamb/fix-referencing-wrong-alias-when-joining-tables-of-has-many-through-association
Fix referencing wrong aliases while joining tables of has many through association
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
association
While joining table of has_many :through association, ActiveRecord will
use the actual table name instead of through-join alias. It results with
a wrong SQL and exception is raised. This only happens when calculation
methods like #count is called.
This issue is affecting Rails 4.1.x and 4.2.x as well.
|
|\ \ \
| | | |
| | | | |
PostgreSQL, Add test case for "Infinity" string assignment to float columns
|
| |/ /
| | |
| | |
| | | |
This is implemented in Type::Float, but not tested, so far.
|
|\ \ \
| | | |
| | | | |
[ci skip] Remove unacceptable method name
|
| | | | |
|
|\ \ \ \
| |/ / /
|/| | | |
Fix incorrect description for `assert_nothing_raised`. [ci skip]
|
|/ / / |
|
|\ \ \
| | | |
| | | | |
Small doc fix. [CI SKIP]
|
| | | | |
|
|\ \ \ \
| | | | |
| | | | | |
Make sure Array#to_sentence always returns a String
|
| |/ / / |
|
|\ \ \ \
| |/ / /
|/| | | |
Pass wrapped class name to Sidekiq for logging purposes
|
|/ / /
| | |
| | |
| | |
| | |
| | |
| | | |
Sidekiq logs the name of the job class being performed. Because
ActiveJob wraps the class, this means every job logs as an AJ::JobWrapper
instead of the actual class name.
Will help fix mperham/sidekiq#2248
|
|\ \ \
| | | |
| | | | |
Remove alias for `i_suck_and_my_tests_are_order_dependent`.
|
|/ / / |
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
The status returned in the rack [status, headers, body] array was
a string, which can cause problems with middleware that assumes the
status will be a Fixnum. This likely never surfaced because other
middleware to_i the status returned from downstream apps before
passing it on.
|
|\ \ \
| | | |
| | | | |
Add documentation for Duration#to_i for clarification
|
|/ / / |
|
|\ \ \
| | | |
| | | |
| | | |
| | | | |
nerdinand/remove-activesupport-integer-example-doc
Remove reference to Numeric#from_now, as it is no longer supported [ci skip]
|
|/ / / |
|
|\ \ \
| | | |
| | | | |
remove old unavailable link with relevant fix patch 1
|
| | | | |
|
|\ \ \ \
| |/ / /
|/| | | |
update mysql link that has been replaced
|
|/ / / |
|
| | |
| | |
| | |
| | |
| | |
| | | |
This is obviously all very internal, but sometimes you have to look at
it... and when you do, it'll save a lot of confusion if it doesn't lie
about its identity.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
The subtype will (quite reasonably) ignore the possibility that it has
`changed_in_place?` by becoming nil.
Fixes #19467
|
| | |
| | |
| | |
| | | |
No need to merge hashes when simply setting options does the job.
|
| | |
| | |
| | |
| | | |
The expected value comes first. Related to #19465.
|
|\ \ \
| | | |
| | | | |
Fix ActiveModel::Errors#delete return value to stay backward compatible
|
|/ / /
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Rails 5.0 changes to ActiveModel::Errors include addition of `details`
that also accidentally changed the return value of `delete`. Since
there was no test for that behavior it went unnoticed. This commit
adds a test and fixes the regression.
Small improvements to comments have also been made. Since `get` is
getting deprecated it is better to use `[]` in other methods' code
examples. Also, in the module usage example, `def Person.method`
was replaced with a more commonly used `def self.method` code style.
|
|\ \ \
| | | |
| | | | |
[ci skip] Consistent spacing inside hash brackets in Action View guide.
|
| | | | |
|
| | | | |
|
|\ \ \ \
| | | | |
| | | | | |
Deprecate alias_method_chain in favour of Module#prepend
|
| | | | |
| | | | |
| | | | | |
…as discussed #19413
|
|\ \ \ \ \
| | | | | |
| | | | | | |
Change 'a' to 'an' for 'HABTM' word [ci skip]
|
|/ / / / / |
|
|\ \ \ \ \
| |_|/ / /
|/| | | | |
[ci skip] Add link for "parameter_names section"
|