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]
add documentation to Benchmark#ms [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]
Fixes skipping object callback filters

This allows you to skip callbacks that are defined by objects, e.g. for
`ActionController`:

    skip_after_filter MySpecialFilter

Previously this didn't work due to a bug in how Rails compared callbacks
in `Callback#matches?`. When a callback is compiled, if it's an object
filter (i.e. not a method, proc, etc.), `Callback` now defines a method on
`@klass` that is derived from the class name rather than `@callback_id`.
So, when `skip_callback` tries to find the appropriate callback to
remove, `Callback` can regenerate the method name for the filter
object and return the correct value for `Callback#matches?`.
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.
Use the correct pk field from the reflected class to find the old record

The implementation was using the source class foreign key field instead
of the reflected primary key one to find the old record.

For instance, for this scenario

    class Bulb < ActiveRecord::Base
      belongs_to :car, :touch => true
    end

    class Car < ActiveRecord::Base
      has_many :bulbs
    end

the current implementation was trying to do this query:

    Car.where(car_id: X).first

where we should be doing this query:

    Car.where(id: X).first

This should hopefully fix the build.
Avoid an attempt to fetch old record when id was not present in touch callback
fix Array#uniq_by! docs [ci skip]
mark ReversibleBlockHelper as :nodoc: [ci skip]
update ActiveRecord::AttributeMethods::Serialization documentation [ci skip]
Sort modules in alphabetical order.
Improve `belongs_to touch: true` timestamp test

Round off time to a whole second value to compensate for databases
that don't support fractional timestamps. Also add a assertion to
check that the old record is touched when the association is cleared.
correct image for unknown_action_create_for_posts.png