The display name in the email "to" field needs to be quoted otherwise
your email-sending service will fail when trying to deliver mail to
user's with commas in their name (i.e. John Smith, M.D.).
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`
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
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]
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 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]: 6c2b569660/activesupport/lib/active_support/test_case.rb (L18)
[2]: d5d43cef9a/lib/minitest.rb (L9)
[3]: d5d43cef9a/lib/minitest/test.rb (L62)