Merge branch 'master' of github.com:rails/docrails

This commit is contained in:
Vijay Dev 2015-08-30 10:39:27 +00:00
commit 79f44eb6c8
2 changed files with 2 additions and 2 deletions

@ -168,7 +168,7 @@ def initialize
#
# rails generate migration add_fieldname_to_tablename fieldname:string
#
# This will generate the file <tt>timestamp_add_fieldname_to_tablename</tt>, which will look like this:
# This will generate the file <tt>timestamp_add_fieldname_to_tablename.rb</tt>, which will look like this:
# class AddFieldnameToTablename < ActiveRecord::Migration
# def change
# add_column :tablenames, :fieldname, :string

@ -48,7 +48,7 @@ def revert
@reverting = !@reverting
end
# record +command+. +command+ should be a method name and arguments.
# Record +command+. +command+ should be a method name and arguments.
# For example:
#
# recorder.record(:method_name, [:arg1, :arg2])