| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|\
| |
| | |
Follow-up to #14905 and formatting pass [ci skip]
|
| |
| |
| |
| |
| |
| |
| |
| | |
on the Getting Started guide.
[skip ci]
Added 2 changes suggested by @robin850 [skip ci]
|
| |
| |
| |
| |
| |
| |
| | |
Let's tell people that they should rely on Tokaido instead of Rails One
Click.
Fixes #14960.
|
| |
| |
| |
| |
| | |
This reverts commit fe9859600824268ff614cb3eb48b62c7165a1fbd, reversing
changes made to add9560643ef79830febf47fa1228752d1df3502.
|
|/ |
|
| |
|
|\
| |
| | |
[ci skip] Update guides license to CC BY-SA 4.0 International.
|
| |
| |
| |
| | |
Benefits: https://creativecommons.org/version4
|
|/ |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This commit adds new lines between titles, paragraphs and code blocks
for an easier reading.
Moreover, in order to be consistent with the other guides, let's remove
the sharps on the right side of the different titles.
The "Running a Single Test" part was also explained after the "Testing
Active Record" one which shows how to run a single test under the scope
of a specific adapter.
Finally, let's explain the `-n` option to run a specific test method.
|
| |
|
|
|
| |
[ci skip]
|
|
|
|
|
|
|
|
| |
Update the Getting Started tutorial to clarify where and how to add
controller actions, and fix some grammar.
This PR is an improved version of #14828, #14822 and #14815.
[skip ci]
|
| |
|
|
|
|
|
|
| |
This reverts commit fd6d7835.
We are back on arel master, see b395265f.
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| | |
This reverts commit 28bd442034e0974d0a4d664076dafb8e9555816d.
Reason: Existing text was clearer imo.
[ci skip]
|
| |
| |
| | |
[ci skip]
|
| |
| |
| | |
[ci skip]
|
|\ \
| | |
| | | |
Grammar and formatting fixes in Form Helpers Guide
|
| | |
| | |
| | |
| | |
| | | |
Improved version of #14851 after helpful feedback from @robin850 and @matthewd.
[skip ci]
|
|/ /
| |
| | |
in the "Forms to External Resources" section [skip ci]
|
| | |
|
| | |
|
|\ \
| | |
| | | |
[ci skip] builtin -> built-in
|
| | | |
|
|/ /
| |
| |
| |
| |
| |
| | |
in the Getting Started Guide.
This PR regroups #14817, #14818 and #14819 into one commit.
[skip ci]
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| | |
We should rely instead on the version supported by Active Record
Closes #14809
|
|\ \
| | |
| | | |
"subhash" --> "sub-hash"
|
| |/ |
|
|/ |
|
|\ |
|
| |
| |
| |
| | |
[ci skip]
|
| |
| |
| |
| |
| | |
Per discussion at https://github.com/rails/rails/issues/14645#issuecomment-40499409
|
| |
| |
| |
| | |
This was changed in https://github.com/rails/rails/pull/13415/files
|
| |
| |
| |
| |
| |
| | |
Including replacing a few "smart quotes" with regular quotes (' and "),
for consistency.
[ci skip]
|
| | |
|
| |
| |
| |
| |
| |
| |
| | |
For consistency with all other documentation, point to where these core
extensions are defined, not where the example code comes from.
[ci skip]
|
| | |
|
| |
| |
| | |
Logically group the content, so it makes more sense if someone tries to read from start of page to end of page. [ci skip]
|
| |
| |
| |
| |
| | |
The name of the gem is `uglifier` and all other references
use `uglifier`, not `uglify`.
|
| |
| |
| |
| |
| |
| | |
Extend previous changes, include the default line from the application controller that new rails applications are created with:
protect_from_forgery with: :exception
Minor wording changes to align.
|
| |
| |
| |
| |
| | |
I think the changes to the default behaviour mean that rails will throw an exception when an invalid authenticity token is found. The previous proposed code of calling super then sign_out meant that sign_out was never reached - the exception handler never returned.
I think the best approach now is to catch the exception, although I'm not 100% certain on that.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Currently, the section called "How to store your custom translations"
has several subheadings that make no sense, such as "Translations for
ActiveRecord models." These make more sense under the "Overview of the
I18n API Features" section. I moved the "How to store..." section down
to the more appropriate sub-headings "Using Different Backends" and
"Using Different Exception Handlers" and removed the "Customize your
i18n setup" header.
|
|\ \
| | |
| | | |
additional note about routes in functional tests for engines [ci skip]
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Calling `to_sym` on user input opens apps up to Denial of Service attacks, via the symbol table being expanded to consume vast swathes of memory.
It is a fairly common configuration to have DNS configured such that all subdomains route to your Rails app, in which case an attacker visits `www1.foo.com`, `www2.foo.com`, and so on until something gives.
It is far less likely to have this problem with TLDs, so that change was only for consistency.
|
| | | |
|