| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| | |
|
|/
|
|
| |
See #20397
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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]
|
|
|
|
|
|
| |
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"`.
|
|\
| |
| |
| | |
Fix rake method definition leaking onto Object
|
| |
| |
| |
| |
| |
| | |
add framework_test
add another test
|
| | |
|
|\ \
| |/
|/| |
Remove redundant 'Rails' from Rails::AppRailsLoader constant
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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.
|
| |
| |
| |
| | |
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
|
|\ \ \
| | | |
| | | |
| | | | |
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]
|
| |/
|/| |
|
| |
| |
| |
| |
| |
| | |
* Fix a few typos
* Wrap lines to 80 chars
* Use `+` instead of `<tt>`
|
| |
| |
| |
| |
| | |
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.
|
| |
| |
| |
| |
| |
| |
| | |
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.
|
|/ / |
|
| | |
|
| |
| |
| |
| |
| |
| | |
While this was true before when every `dd` had a value,
this patch makes sure that everything keeps lining up even
when the `dd` node is blank.
|
| |
| |
| |
| |
| | |
- So that RDoc will not generate link for README.
[ci skip]
|
| |
| |
| |
| |
| | |
These options are not actually available.
Thanks @soutaro for letting me aware of this.
|
|\ \
| | |
| | | |
More docs on tagged logging [ci skip]
|
| | | |
|
| | |
| | |
| | |
| | |
| | | |
Mention that tags can also come from a Proc that accepts the request
object or something's to_s method
|
| |/
|/| |
|
| | |
|
| |
| |
| |
| |
| |
| | |
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.
|
| |
| |
| |
| |
| |
| | |
We only want to support adapters that we officially support through the
entire framework so it is better to not ask patches for adapters that
we may not support
|
|\ \
| | |
| | | |
Fix formatting of scaffold css
|
| | | |
|
|/ / |
|
| |
| |
| |
| |
| |
| | |
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.
|
| | |
|