| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|/ / / /
| | | |
| | | |
| | | | |
to match arguments used in sprockets-rails [ci skip]
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Follow up to #15636.
/cc @hundredwatt
|
|/ / /
| | |
| | | |
Directives need to be placed on their own lines in order to work. Tested on: `Server version: Apache/2.2.22 (Ubuntu); Server built: Mar 19 2014 21:11:15`
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
* Wrap 80 words if possible.
* Make attachment hash options more readable. (L239-L243)
Before:
![screenshot 2014-06-11 02 59 54](https://cloud.githubusercontent.com/assets/1000669/3235432/a91d0464-f0d2-11e3-9e4a-6af2b2a83f1a.png)
After:
![screenshot 2014-06-11 02 59 36](https://cloud.githubusercontent.com/assets/1000669/3235428/a47b28dc-f0d2-11e3-806c-cfaedd3f15df.png)
* L619 Wrap "location" in code: `"location"`.
* L628 Use actual section name.
* L697 Remove unnecessary `./` when refer to other guide.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Senn]
This is a follow up to #15602 which rendered the guides in a weird state:
> You can also specify some options just after the field type between curly
braces. You can use the following modifiers:
> `null` Allows or disallows `NULL` values in the column.
> NOTE: `null` and `default` cannot be specified via command line.
The modifiers are now moved into a separate section. The generator
simply referes to that section.
Related to #15583.
/cc @JuanitoFatas
|
| | |
| | |
| | |
| | | |
This will need to setup permanent redirect for the old guide.
|
| | |
| | |
| | |
| | | |
line.
|
| | | |
|
| | |
| | |
| | | |
default column type modifier
|
| | | |
|
| | | |
|
|\ \ \ |
|
| | | |
| | | |
| | | |
| | | |
| | | | |
When you manually specify `id:` attribute in a fixture Rails' built in association assignment feature will no longer work. http://stackoverflow.com/questions/23985675/incorrect-association-in-fixtures
This commit raises awareness of this behavior and encourages developers to look directly at the fixture documentation.
|
| | | |
| | | |
| | | | |
The fixtures API docs are really comprehensive. We should either be driving people there, or perhaps making fixtures its own guide.
|
| | | | |
|
| | | | |
|
| | | |
| | | |
| | | |
| | | | |
Closes #15541.
|
| | | |
| | | |
| | | | |
It's not very clear exactly what the "params" method is and does, as the current description in the guide is somewhat vague and brief. An example is helpful, especially considering this method is referenced over 30 times in this guide. [ci skip]
|
| | | |
| | | |
| | | | |
It may be confusing to a Rails newbie why "Article" is suddenly being referred to with the "A" being capitalized. Thus far in the guide, the "a" has always been in lowercase. I think it is helpful to point out the reason for this change (especially since not using the capital "A" will result in an error). [ci skip]
|
| | | | |
|
| | | |
| | | |
| | | |
| | | | |
[ci skip]
|
| | | |
| | | |
| | | |
| | | | |
* Should say "sensitive" instead of "sensible"
|
| | | | |
|
|\ \ \ \
| | | | |
| | | | | |
Create Changing Columns on migrations guides [ci skip]
|
| | | | |
| | | | |
| | | | |
| | | | | |
[ci skip]
|
| | | | |
| | | | |
| | | | |
| | | | | |
duplicating API reference in guides. Also :scissors: [ci skip]
|
|\ \ \ \ \
| |_|/ / /
|/| | | | |
Add Total of grouped items to Active Record query interface on guides [ci skip]
|
| |/ / /
| | | |
| | | |
| | | | |
[ci skip]
|
|\ \ \ \ |
|
| | | | | |
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
in Asset Pipeline guide.
[skip ci]
|
| |/ / /
|/| | |
| | | |
| | | | |
be published and requires more attention. [ci skip]
|
| | | |
| | | |
| | | |
| | | | |
And reword things a little to mention the specific patch release less.
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
[ci skip]
We only introduce new deprecations at Minor releases.
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
The Guide references `test/unit`, which has been replaced by `Minitest` in
all versions of Ruby supported by Rails. The following updates were
performed:
* The superclass of `ActiveSupport::TestCase` is no longer
`MiniTest::Unit::TestCase`, but `Minitest::Test` [1].
* The preferred spelling is `Minitest`, not `MiniTest` [2].
* For a method to be a test in Minitest, its name must start with `test_`,
not only `test` [3].
* Explanations about `test/unit` in Ruby 1.8 were removed in favor of more
up-to-date information on `Minitest`.
[1]: https://github.com/rails/rails/blob/6c2b569660c9216595d02ce6412e3bdcc7293317/activesupport/lib/active_support/test_case.rb#L18
[2]: https://github.com/seattlerb/minitest/blob/d5d43cef9a3fd4a0eea972dde125ed5ba1ddb821/lib/minitest.rb#L9
[3]: https://github.com/seattlerb/minitest/blob/d5d43cef9a3fd4a0eea972dde125ed5ba1ddb821/lib/minitest/test.rb#L62
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | |
| | | |
| | | |
| | | | |
options, and wrapped to 80 chars. [ci skip]
|
|\ \ \ \ |
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
guide.
I have seen many times that maintainers want people to use this gem to give
a benchmark report. It would be nice to add it and refer to it later.
|
| | | | |
| | | | |
| | | | |
| | | | | |
Also remove a duplicated sentence.
|