| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|/ / / / /
| | | | |
| | | | |
| | | | | |
Fixes #11457
|
|\ \ \ \ \
| |/ / / /
|/| | | | |
Fixed README link in API
|
| | | | |
| | | | |
| | | | |
| | | | | |
This should not be a link because
it's creating a link with activesupport README right now
|
|\ \ \ \ \
| | | | | |
| | | | | | |
Improve ActiveRecord::QueryMethods#includes docs [ci skip]
|
|/ / / / /
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
It's not immediately clear whether you can pass in multiple relations or
not. After going through the code a bit, I saw that the arguments are
just appended to an array. Also, added nested relations example.
[ci skip]
|
|\ \ \ \ \
| | | | | |
| | | | | | |
fixes plugin test for tutorial [ci skip]
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
[ci skip]
|
|\ \ \ \ \ \
| |/ / / / /
|/| | | | | |
Update bcrypt-ruby stable version to 3.1
|
| |/ / / / |
|
|/ / / /
| | | |
| | | |
| | | |
| | | |
| | | | |
Only build the missing_keys array once we have detected that there
actually are missing keys by moving the check to be part of the block
that performs the path substitution.
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
When optimized path helpers were re-introduced in d7014bc the test added
in a328f2f broke but no-one noticed because it wasn't being run by the
test suite.
Fix the test by checking for nil values or empty strings after the args
have been parameterized.
|
| | | | |
|
| |_|/
|/| |
| | |
| | |
| | | |
This reverts commit cb1d07e43926bcec95cb8b4a663ca9889173395a, reversing
changes made to 754a373e301d2df0b12a11083405252722bc8366.
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
When generating an unnamed url (i.e. using `url_for` with an options
hash) we should skip anything other than standard Rails routes otherwise
it will match the first mounted application or redirect and generate a
url with query parameters rather than raising an error if the options
hash doesn't match any defined routes.
Fixes #8018
|
|\ \ \
| | | |
| | | | |
Fixed USAGE file for generator [ci skip]
|
|/ / / |
|
|\ \ \
| | | |
| | | | |
Move initializing process for @query_cache to QueryCache module.
|
| | | |
| | | |
| | | |
| | | | |
ActiveRecord::ConnectionAdapters::QueryCache module.
|
|\| | |
| | | |
| | | | |
Fixes AR mysql2 adapter incorrectly casting boolean values
|
|/ / /
| | |
| | |
| | |
| | | |
Using the mysql2 adapter, boolean values were sometimes being incorrectly cast
to 't' or 'f'. This changes the cast to match the mysql adapter behavior, ie 1 and 0.
|
| | | |
|
|\ \ \
| | | |
| | | | |
Added generated unit test for generator generator.
|
|/ / /
| | |
| | |
| | | |
rake task included in test:all rake task.
|
| | |
| | |
| | |
| | | |
#11457 for details
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
|\ \ \
| | | |
| | | |
| | | |
| | | | |
jetthoughts/11450_do_not_resave_destroyed_association
Do not re-save destroyed association on saving parent object
|
| | | |
| | | |
| | | |
| | | | |
Closes #11450
|
|\ \ \ \
| | | | |
| | | | |
| | | | |
| | | | | |
arunagw/deprecation-removed-attribute-missing-activerecord
Remove deprecated `attribute_missing`.
|
| |/ / /
| | | |
| | | | |
for attributes that are columns.
|
|\ \ \ \
| |/ / /
|/| | | |
No need to add config for x_sendfile_header
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
As this middleware comes by default in a new
rails app
Added test to check omit for CheckPending when
Active Record is not included.
|
|/ / /
| | |
| | |
| | | |
Rack::Sendfile is loaded by default now
|
| | |
| | |
| | |
| | | |
reflect that
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This reverts commit 19ac034bdc9be175eff7cf54208ba14b43d97681.
And allows webservers to configure X-Sendfile-Type.
Closes #11440 thanks to [@MSch]
Conflicts:
railties/lib/rails/application.rb
|
|\ \ \
| | | |
| | | | |
Remove extra decrement of transaction level
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
`rollback_active_record_state!` tries to restore model state on `Exception`
by invoking `restore_transaction_record_state` it decrement deep level by `1`.
After restoring it ensure that states to be cleared
and level decremented by invoking `clear_transaction_record_state`,
which cause the bug: because state already reduced in `restore_transaction_record_state`.
Removed double derement of transaction level
and removed duplicated code which clear transaction state for top level.
|
|\ \ \ \
| | | | |
| | | | | |
Blacklist->whitelist for reference scans in order!
|
| |/ / /
| | | |
| | | |
| | | |
| | | |
| | | | |
Stop special-casing Arel::Nodes as exempt from reference scanning in
order. Instead, only scan order values that are strings for a table
reference.
|
| | | |
| | | |
| | | |
| | | | |
See https://github.com/rails/rails/commit/da9b5d4a8435b744fcf278fffd6d7f1e36d4a4f2#commitcomment-3630064 for discussion.
|