| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
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"`.
|
|\ \
| | |
| | | |
Remove unused package tasks
|
| |/
| |
| |
| | |
We are using `all:build` now.
|
|/
|
|
| |
`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 broken and unused release task
|
| | |
| | |
| | |
| | |
| | | |
- We do release with release.rb
- There is no `rake/gemcutter`
|
|\ \ \
| | | |
| | | | |
Remove use of mocha in the railties generators tests
|
| |/ / |
|
| | | |
|
|/ / |
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Stems from https://github.com/rails/rails/pull/20105#issuecomment-100900939
where @senny said:
> From my point of view, all the docs (guides, API) are version bound.
> They should describe that version and continue to be available when newer versions are released.
> The cross referencing can be done by the interested user.
|
| |
| |
| |
| |
| | |
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
|
|\ \
| | |
| | | |
Adds documentaion for the Rails.root and Rails.public_path methods
|
| | | |
|
| | |
| | |
| | |
| | | |
the current class is not the blank?, present? as well as other inheriting, the test suite runs
|
| | |
| | |
| | |
| | | |
Make sure this script keeps working and has consistent output.
|
|\ \ \
| | | |
| | | |
| | | | |
Use the built-in rake tasks
|
| | | |
| | | |
| | | | |
Use the `log:clear` and `tmp:clear` rake tasks in the setup file template
|
| | | | |
|
|\ \ \ \
| |/ / /
|/| | | |
fixing English in Rails::Engine docs
|
| | |/
| |/|
| | |
| | | |
[ci skip]
|
| | | |
|
| |/
|/| |
|
| |
| |
| |
| | |
Explain what the interceptor is used for and how to remove it.
|
| |
| |
| |
| |
| |
| | |
* Fix a few typos
* Wrap lines to 80 chars
* Use `+` instead of `<tt>`
|
| | |
|
| |
| |
| |
| |
| | |
Use a preview interceptor to search for inline cid: urls in src
attributes and convert them to data urls.
|
| |
| |
| |
| |
| | |
Display attachment filenames as a comma separated list rather than
showing the inspect output for the array.
|
| |
| |
| |
| |
| |
| | |
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.
|
|\ \ \
| | | |
| | | | |
Removed `assigns` from functional_test templates
|
| |/ /
| | |
| | |
| | |
| | | |
- Based on DHH's suggestion about deprecating `assigns` in
https://github.com/rails/rails/pull/18305#issuecomment-68605166.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
`setup do` creates unnecessary allocations of proc objects in test
callbacks. This prevents that from happening and results in faster code.
Originally I had done this as `def setup` and all Railties tests passed.
See 044f9ab. Later it was reported there was an issue with this that
caused routes in tests to be nil because devs don't generally call
`super` in their test setups. Because of that I reverted the commit
until I could find a suitble replacement.
`before_setup` esentially does the same thing but without the
requirement that applications call `super` in their test setups.
|