Add block support for the  helper
Model generator USAGE doc improved

 * Added information about syntax for precision/scale of decimals
 * Removed incorrect information about being able to set `default`
 * Added more examples of usage
expanded rdoc for chain and reflection_names
use | to have more intent revealing code

thanks to @egilburg for suggestion
template should have generic name

since users just copy and paste and the class name is never changed
Exclude template files for rdoc API [ci skip]
Merge pull request #10095 from frodsan/exclude_template_files

Exclude template files for rdoc API [ci skip]
Merge pull request #10094 from neerajdotname/fix2

Collection of small fixes. Check individual commits for background.
Use a space after the comment sign when showing the result of commands

http://guides.rubyonrails.org/api_documentation_guidelines.html#example-code

[ci skip]
Use inspect when writing the foreign key from the reflection

If we don't use inspect inside the class_eval block then the foreign key
is written without quotes causing us to fetch the foreign key value and
not the column name.
Merge pull request #10092 from amco/master

Model generator USAGE doc improvement
Merge pull request #10065 from spohlenz/mail_to_block

Add block support for the mail_to helper
Ensure mail_to helper does not modify the given html options hash
Refactor mail_to to not generate intermediate hashes when adding href

There's no need to use Hash#merge with a new hash just for setting the
href option to pass it through. Since we're always dealing with a new
html_options hash, we're free to just set the value instead.