| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
| |
The version of SQLite used by Travis is outdated. We need to install a
newer version.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Our general contract in Active Record is that strings are assumed to be
SQL literals, and symbols are assumed to reference a column. If a from
clause is given, we shouldn't include the table name, but we should
still quote the value as if it were a column.
Upon fixing this, the tests were still failing on SQLite. This was
because the column name being returned by the query was `"\"join\""`
instead of `"join"`. This is actually a bug in SQLite that was fixed a
long time ago, but I was using the version of SQLite included by OS X
which has this bug. Since I'm guessing this will be a common case for
contributors, I also added an explicit check with a more helpful error
message.
Fixes #20360
|
| |
|
|\
| |
| | |
Add CHANGELOG entry for #17654
|
|/ |
|
|\
| |
| | |
match method doc fix [ci skip]
|
|/
|
|
|
|
| |
match method without setting `:via` option has been deprecated
fix minor typo
|
|\
| |
| | |
[ci skip] match without via is now deprecated
|
| | |
|
|\ \
| |/
|/|
| | |
Add tmp directory before touching
|
| |
| |
| |
| | |
See #20299.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
A lot of scripts assumes the existence of this folder and most would fail if it
is absent.
One example of this is `rake restart` (before the previous commit) – it tries to
`touch tmp/restart.txt`, which would fail if `tmp` does not exist, which was the
case for a freshly-cloned project as `tmp` is `.gitignored` by default.
See #20299.
[Yoong Kang Lim, Sunny Juneja]
|
|/
|
|
|
|
|
|
|
|
|
|
|
| |
In restart.rake, the creation of tmp/restart.txt
would fail if the tmp folder does not exist in the
app. This is a problem because apps cloned using
git would not have the tmp folder, as the folder is
in .gitignore. This commit creates the tmp folder
if it does not exist.
Fixes #20299
[Yoong Kang Lim, Sunny Juneja]
|
|
|
|
|
| |
It was removed when we removed mocha at
5a6ae7f7539216931f2b3f4aa53394ac4136c74e
|
|\
| |
| | |
formatting changes
|
|/ |
|
|
|
|
|
|
| |
This partially reverts commit ac02df5c7827630a91acd9a6b916db9eda1f38b4.
[ci skip]
|
|\
| |
| | |
minor text change [ci skip]
|
| | |
|
|/ |
|
|\
| |
| |
| |
| | |
repinel/revert-19878-replace_alias_chains_with_prepend
Revert "Replace use of alias chains with prepend at core_ext/date and…
|
| |
| |
| |
| | |
core_ext/time"
|
|\ \
| |/
|/| |
not require mail file
|
|/
|
|
|
|
| |
```
it added in this commit (https://github.com/rails/rails/commit/2a25c4ce6da6ea23ebdf44e7eb2d2441dbea20a1), now no warnings occur.
```
|
|\
| |
| |
| |
| |
| | |
Update docs for ActiveRecord `serialize`
[ci skip]
|
|/
|
|
|
|
|
|
|
|
|
|
| |
For certain column types, using `serialize` is unnecessary, or the user
may get unexpected contents back from the DB adapter (which is handling
some basic deserialization for them). Call this out in the
documentation.
For background, see:
https://gist.github.com/ernie/33f75f2294885b9806f9
https://twitter.com/erniemiller/status/604262907442905090
|
|\
| |
| | |
Bundler 1.10 should work now!
|
| | |
|
| |
| |
| |
| | |
This reverts commit 81b42970f02d07ca5007bbce920b489d80172636.
|
| |
| |
| |
| | |
This reverts commit 410d246bc0ddabe47f0bf54116be9087bd3d4bda.
|
| |
| |
| |
| | |
This reverts commit 9ff901bd3e046b0373b28459269146707b5bf8c9.
|
|\ \
| | |
| | | |
Remove unused code.
|
| |/
| |
| |
| | |
Code was moved into the `assign` method.
|
|\ \
| |/
|/| |
Fix warning about ambiguous first argument
|
|/ |
|
|\
| |
| | |
Replace use of alias chains with prepend at core_ext/date and core_ext/time
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| | |
See https://github.com/bundler/bundler/issues/3681
|
|\ \
| | |
| | | |
Updating the guides for Enumerable#pluck
|
|/ / |
|
|\ \
| | |
| | |
| | |
| | | |
vngrs/remove_already_defined_methods_in_rack_request
Remove already defined methods in super class of ActionDispatch::Request class
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
These methods had defined in 2004 by dhh in initial commit and `ActionDispatch::Request`
class has been inherited from `Rack::Request` class in 2009 by josh.
In 2014 these methods and more of them defined in `Rack::Request` class
so we don't need them anymore in rails codebase.
|
|\ \ \
| | | |
| | | | |
Remove use of mocha from Active Model
|
| | | | |
|
|\ \ \ \
| | | | |
| | | | | |
Avoid E constant clashing with Minitest defined version.
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Minitest sets an E constant to an empty string to save GC time.
This clashes with autoloading tests which define an E constant.
|
|\ \ \ \ \
| | | | | |
| | | | | | |
Add Enumerable#pluck.
|