| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|\ \ \
| | | |
| | | | |
Make public asset use explicit
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | |
| | | |
| | | |
| | | |
| | | | |
Is this usage correct? cc/ @prathamesh-sonpatki
|
| | | | |
|
| | | | |
|
| | | | |
|
|\ \ \ \
| | | | |
| | | | | |
[ci skip] Broken links in documentation fix
|
| | | | | |
|
| |/ / /
|/| | | |
|
|/ / /
| | |
| | |
| | |
| | | |
Since only Rails 4 and above are currently supported, this updates a
3-2-stable example to be consistent with the support standard.
|
| | | |
|
|\ \ \
| | | |
| | | | |
Update `Rails.configuration` documentation
|
| | | |
| | | |
| | | |
| | | | |
[ci skip]
|
| | | |
| | | |
| | | |
| | | | |
[ci skip]
|
| | | |
| | | |
| | | |
| | | |
| | | | |
This reverts commit 4973704bf56dbb0d8beba977e1053d57e346ebd0, reversing
changes made to 78edeb33346e13ab33a62d2a6b553aabf5b3186a.
|
|/ / /
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
section [ci skip]
- Method `assert_nothing_raised` is Rails' own custom assertion method and
not a part of Minitest. So move it from Minitest assertions section to Rails
Specific Assertions section.
|
| | |
| | |
| | |
| | | |
Remove 'rake tasks' from index
|
| | | |
|
| | |
| | |
| | |
| | |
| | | |
- Remove Duplicated explanation.
- Fix some typo.
- Attach PR, commit link that missed one.
|
|\ \ \
| | | |
| | | | |
Update docs with Action Cable Redis dependency
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Action Cable's test `test/subscription_adapter/redis_test.rb` fail if
Redis is not installed and running.
Following the guides `development_dependen there's no mention to this.
|
| | | |
| | | |
| | | |
| | | |
| | | | |
Now the schema dumper by default doesn't align the types and arguments
in the ruby format anymore.
|
| | | |
| | | |
| | | |
| | | |
| | | | |
Fixes #26247.
[ci skip]
|
|\ \ \ \
| |/ / /
|/| | | |
Specified directories for routes, views and jobs tests
|
| | | |
| | | |
| | | |
| | | |
| | | | |
* Added location for route, view and job tests to section 2.1. (They are currently only defined in sections 8 Testing Views and 11 Testing Jobs.)
* Added location for route test in section 7 Testing Routes. (Currently only defined in section 8 Testing Views.)
|
| | | | |
|
|\ \ \ \
| | | | |
| | | | | |
Upate guides to properly define return values of finder methods
|
| | | | |
| | | | |
| | | | |
| | | | | |
instance of ActiveRecord::Relation
|
|\ \ \ \ \
| |/ / / /
|/| | | | |
remove unnessary `session_store` setting
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Since e5a6f7ee9e951dbe0e4e9ea2c0743b4dfb135c57, by default the session store
will be set to cookie store with application name as session key.
|
|\ \ \ \ \ |
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
it is used in context of a command like bin/rails or the rails directory [ci skip]
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
is that we are referring to. [ci skip]
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
- Followup of https://github.com/rails/rails/pull/26125.
|
|\ \ \ \ \ \
| |_|/ / / /
|/| | | | | |
Increase margin-bottom for doc's code syntax highlighter
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Fixes #25744 by slightly increasing the margin in code syntax
highlights. With a margin of 0, it was cutting off underscores in Linux
browesers, so I slightly increased it to 0.5px.
|
|\ \ \ \ \ \
| |/ / / / /
|/| | | | | |
Consistent examples and template for assets#precompile
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Listening to a few developers today discussing their troubles in understanding how to use the asset pipeline, it turns out that the precompile examples in the guides and assets.rb template have over time become a bit inconsistent.
This PR makes the examples consistent in code style, spacing, and asset names, removes the old 'swfObject.js' example, and in a couple of places wraps lines at 80 characters including in the assets.rb template.
Re-add spaces inside array parentheses.
|
|\ \ \ \ \ \
| | | | | | |
| | | | | | |
| | | | | | | |
Option not to line up column attributes in schema.rb
|
| |\ \ \ \ \ \ |
|
| | | | | | | | |
|
| |/ / / / / /
|/| | | | | |
| | | | | | |
| | | | | | | |
The immediate runner is no longer default, the async adapter is.
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
When you don't explicitly provide `optional: true` to a `belongs_to`
definition, rails adds a validation to ensure presence of the
`belongs_to` validation.
However, when the validation is added, it is added with a message key of
`:required`, which was not documented in the "Translations for Active
Record Models" section of the i18n guides.
Here are the lines that add the `:required` message:
https://github.com/rails/rails/blob/c3e3577f9d5058382504773bf0d32afa15cb131e/activerecord/lib/active_record/associations/builder/belongs_to.rb#L136-L138
This commit adds the "non-optional association" validation to the table,
so rails users know how to override the message for this validation. The
default message is "must exist".
|
| | | | | | |
| | | | | | |
| | | | | | | |
As "discussed" in #26187 I added the route that magically disappeared again.
|
|/ / / / / /
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
I've noticed that once `<h1>Editing article</h1>` L1157 was the title and then later on it's `<h1>Edit article</h1>` L1358 which kind of makes more sense...
[ci skip]
|
| | | | | | |
|
|\ \ \ \ \ \
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
malclocke/specify_ar_message_interpolation_names_in_i18n_guide
List names of error interpolation variables.
|