| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|\ \ \
| | | |
| | | | |
Removed use of mocha from railties actions_test
|
| |/ / |
|
|\ \ \
| |/ /
|/| | |
Deprecate `assert_template` and `assigns()`.
|
| | | |
|
| | |
| | |
| | |
| | | |
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]
|
|\ \
| | |
| | |
| | | |
config.static_index configures directory Index "index.html" filename
|
| | |
| | |
| | |
| | |
| | |
| | | |
Set `config.static_index` to serve a static directory index file not
named `index`. For example, to serve `main.html` instead of `index.html`
for directory requests, set `config.static_index` to `"main"`.
|
|/ /
| |
| |
| | |
`head` method works similar to `render` method with `:nothing` option
|
|\ \
| | |
| | |
| | | |
Fix rake method definition leaking onto Object
|
| | |
| | |
| | |
| | |
| | |
| | | |
add framework_test
add another test
|
| | |
| | |
| | |
| | | |
This is a leftover of #19867
|
|\ \ \
| |/ /
|/| | |
Remove redundant 'Rails' from Rails::AppRailsLoader constant
|
| | | |
|
|\ \ \
| | | |
| | | | |
Remove use of mocha in the railties generators tests
|
| | | | |
|
|/ / / |
|
| | | |
|
| | |
| | |
| | |
| | |
| | | |
custom test - Does not include EnvHelpers and the require is not needed
path generation test - require abstract_unit which has . rails/all requires rails and corresponding
|
| | |
| | |
| | |
| | | |
fix minor convention problems
|
| | |
| | |
| | |
| | | |
Make sure this script keeps working and has consistent output.
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | | |
Explain what the interceptor is used for and how to remove it.
|
| | | |
|
| | |
| | |
| | |
| | |
| | | |
Use a preview interceptor to search for inline cid: urls in src
attributes and convert them to data urls.
|
| | |
| | |
| | |
| | |
| | |
| | | |
Use the mail gem's own API to locate the correct part.
Fixes #14435.
|
| | |
| | |
| | |
| | | |
In my machine the output is different
|
| | |
| | |
| | |
| | | |
We are only using for one test class
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
The usage of these classes where removed at
8017e6af31caa58a58787274ff0ca01397219e49.
cc @arthurnn @senny
|
|\ \ \
| | | |
| | | |
| | | |
| | | | |
remomueller/fix-actionmailer-preview-links-on-subdirectories
Mailer preview now uses `url_for` to fix links to emails for apps runnin...
|
| | | |
| | | |
| | | |
| | | | |
a subdirectory, closes #19092.
|
|/ / /
| | |
| | |
| | |
| | | |
- Based on DHH's suggestion about deprecating `assigns` in
https://github.com/rails/rails/pull/18305#issuecomment-68605166.
|
|\ \ \
| | | |
| | | | |
Remove use of mocha in the named base tests
|
| | | | |
|
|/ / / |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
calebthompson/dont-rely-on-environment-task-for-schema-load"
This reverts commit 08ff4ccbbb3fb143a02e6752efb974a4bcfcd3bb, reversing
changes made to 6c9ed6dbc62450cdb87559afd15798305e069146.
Caused by #17920.
Closes #19545.
This patch introduced regressions because initializers were no longer
loaded. Specifically missing inflections result in broken restores of
the database.
|
| | |
| | |
| | |
| | |
| | |
| | | |
sprockets-rails will only add `Rails.application.assets` if compile is
no false. See change on sprockets-rails
https://github.com/rails/sprockets-rails/commit/d7c7ee19991c565eb77ee143be2d009ba4472122
|
| | |
| | |
| | |
| | |
| | | |
See the behaviour change on sprockets-rails
https://github.com/rails/sprockets-rails/commit/56725e5843662189c6701478f7598db306d5fb02
|
| | |
| | |
| | |
| | | |
This reverts commit 6a7cf515123889360d272e8ab4be045578dfc0fb.
|
| | | |
|
| | | |
|
|/ / |
|
| |
| |
| |
| |
| |
| | |
Support for versions of SQLite less than 3 was removed in #6011 as part
of the Rails 4.0 release. Therefore there is no need to have support for
it in the `rails dbconsole` command anymore.
|
| |
| |
| |
| |
| |
| | |
Spring seems like an obvious foot gun for the `--dev` setup, presumably you are
about to make lots of changes to the codebase, so it should always reload the
framework.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Before:
namespace :foo do
namespace :bar do
get 'baz/index'
end
end
After:
namespace :foo do
namespace :bar do
get 'baz/index'
end
end
|
| |
| |
| |
| |
| |
| | |
That will match the new Bundler executables convention.
Bundler Blog Post: http://bundler.io/blog/2015/03/20/moving-bins-to-exe.html
Also updated the necessary tests.
|
| | |
|
|\ \
| | |
| | |
| | | |
Add explicit base class for ActiveJob jobs
|