| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|/ / / |
|
|\ \ \
| |_|/
|/| | |
Fix coffeescript sample [ci skip]
|
| | |
| | |
| | | |
Replace bind() with on() as suggested by the JQuery bind() documentation: https://api.jquery.com/bind/
|
|\ \ \
| | | |
| | | | |
Guides fixes
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Explain how form_for :article is able to pull in the properties of @article
Make it clear that article_id is generated due to the association set up
Add link to the rails function that uses X-Sendfile.
Add links to apache and nginx docs for the header
|
| | | | |
|
| | | | |
|
|\ \ \ \
| |_|/ /
|/| | | |
Cookies serializer improvements
|
| | | |
| | | |
| | | |
| | | | |
Also added a `cookies_serializer.rb` initializer to the app template.
|
| | | | |
|
|\ \ \ \
| | | | |
| | | | | |
[Testing Guide] Explain usage of assert_redirected_to with named routes and ActiveRecord objects [ci skip]
|
| |/ / /
| | | |
| | | |
| | | | |
Active Record objects [ci skip]
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Reason: i18n whitelists now locales without passing through symbols,
see https://github.com/svenfuchs/i18n/blob/master/lib/i18n.rb#L278.
Therefore, this snippet is no longer a good practice.
This reverts commit ec0664a6eb8906fcd31a53a1efad69bdc7fe6f5b.
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
`I18n.locale=` symbolizes its argument, so passing it `params[:locale]`
allows one to DOS your application by visiting `...?locale=` URLS
repeatedly, with unique values, until the never-GCed symbols monopolize
the available memory.
|
| | | | |
|
|\ \ \ \
| |/ / /
|/| | | |
A pass over the Getting Started guide sections 1, 2, and 3 [ci skip]
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
* Add note about managing Ruby environments
* Point to curated lists of Ruby learning resources
* Expound on DRY and Convention over Configuration
* Remove note on superuser--thankfuly coders new to Rails don't have to sudo anymore :)
* Installation/verification instructions for SQLite3, since it's a dependency
|
|\ \ \ \
| | | | |
| | | | | |
Add missing directory slashes [ci skip]
|
| | | | | |
|
| | | | |
| | | | |
| | | | |
| | | | | |
This was a reaction to: https://github.com/rails/rails/pull/9700#issuecomment-34550210
|
|/ / / /
| | | |
| | | |
| | | | |
from https://github.com/rack/rack/blob/master/lib/rack/server.rb#L289-L300.
|
|/ / /
| | |
| | |
| | | |
[ci skip]
|
| | |
| | |
| | |
| | |
| | |
| | | |
The `as` option was already explained in a previous example
and doesn't need to be repeated. Explain only the `locals` option
which the example is meant for.
|
|\ \ \
| | | |
| | | | |
Fixed typo [ci skip]
|
| | | |
| | | |
| | | |
| | | | |
singular is more suited to
|
|\ \ \ \
| |_|_|/
|/| | | |
Clarifying confusing phrasing
|
| | | | |
|
|\ \ \ \
| |/ / /
|/| | |
| | | |
| | | |
| | | |
| | | | |
Conflicts:
guides/source/active_record_validations.md
guides/source/api_documentation_guidelines.md
guides/source/configuring.md
|
| | | |
| | | |
| | | |
| | | | |
from e1e17a5
|
| | | | |
|
| | | | |
|
| | | |
| | | |
| | | |
| | | | |
Closes #9131.
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | |
| | | |
| | | |
| | | | |
Fixes rails/rails#13732
|
| | | | |
|
|\ \ \ \
| | | | |
| | | | | |
[Testing Guide] Mention :unauthorized in assert_response explanation [ci skip]
|
| | | | | |
|
|/ / / / |
|
|\ \ \ \
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
git://github.com/emilsoman/rails into emilsoman-dump-schema-after-migration-flag
Conflicts:
activerecord/CHANGELOG.md
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
* Add a config on Active Record named `dump_schema_after_migration`
* Schema dump doesn't happen if the config is set to false
* Set default value of the config to true
* Set config in generated production environment file to false
* Update configuration guide
* Update CHANGELOG
|
| | | | |
| | | | |
| | | | |
| | | | | |
Follow up to https://github.com/rails/rails/commit/580f0b61dc99c6854fa930a761d28a3ab08163f7#commitcomment-5293470
|
| | | | |
| | | | |
| | | | |
| | | | | |
/cc @chancancode
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
- Manually applied from #13951.
- Discussion at #13947.
- Removed trailing whitespace from https://github.com/dpmehta02/rails/commit/18044e86af93672dfc38befbe974261e87b3518d
/cc @dpmehta02
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
As discussed in #13940 this can be removed
We can document this somewhere else in testing guides.
|
|/ / / / |
|
|\ \ \ \
| | | | |
| | | | | |
[ci skip] Add missing 'task' to note on Running Migrations
|