Merge branch 'master' of github.com:rails/docrails
This commit is contained in:
commit
79f44eb6c8
@ -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])
|
||||
|
Loading…
Reference in New Issue
Block a user