[ci skip] Update redirecting links in guides
This commit is contained in:
parent
de1227a547
commit
fe5c9fb76e
|
@ -34,7 +34,7 @@ Documentation
|
||||||
The internal documentation of Rails, in the form of code comments, has been improved in numerous places. In addition, the [Ruby on Rails Guides](http://guides.rubyonrails.org/) project is the definitive source for information on major Rails components. In its first official release, the Guides page includes:
|
The internal documentation of Rails, in the form of code comments, has been improved in numerous places. In addition, the [Ruby on Rails Guides](http://guides.rubyonrails.org/) project is the definitive source for information on major Rails components. In its first official release, the Guides page includes:
|
||||||
|
|
||||||
* [Getting Started with Rails](getting_started.html)
|
* [Getting Started with Rails](getting_started.html)
|
||||||
* [Rails Database Migrations](migrations.html)
|
* [Rails Database Migrations](active_record_migrations.html)
|
||||||
* [Active Record Associations](association_basics.html)
|
* [Active Record Associations](association_basics.html)
|
||||||
* [Active Record Query Interface](active_record_querying.html)
|
* [Active Record Query Interface](active_record_querying.html)
|
||||||
* [Layouts and Rendering in Rails](layouts_and_rendering.html)
|
* [Layouts and Rendering in Rails](layouts_and_rendering.html)
|
||||||
|
|
|
@ -104,7 +104,7 @@ depending on the purpose of these columns.
|
||||||
your models.
|
your models.
|
||||||
* **Primary keys** - By default, Active Record will use an integer column named
|
* **Primary keys** - By default, Active Record will use an integer column named
|
||||||
`id` as the table's primary key. When using [Active Record
|
`id` as the table's primary key. When using [Active Record
|
||||||
Migrations](migrations.html) to create your tables, this column will be
|
Migrations](active_record_migrations.html) to create your tables, this column will be
|
||||||
automatically created.
|
automatically created.
|
||||||
|
|
||||||
There are also some optional column names that will add additional features
|
There are also some optional column names that will add additional features
|
||||||
|
@ -374,4 +374,4 @@ and to roll it back, `rails db:rollback`.
|
||||||
|
|
||||||
Note that the above code is database-agnostic: it will run in MySQL,
|
Note that the above code is database-agnostic: it will run in MySQL,
|
||||||
PostgreSQL, Oracle and others. You can learn more about migrations in the
|
PostgreSQL, Oracle and others. You can learn more about migrations in the
|
||||||
[Active Record Migrations guide](migrations.html).
|
[Active Record Migrations guide](active_record_migrations.html).
|
||||||
|
|
|
@ -700,8 +700,8 @@ in case you want to reverse it later. When you run this migration it will create
|
||||||
an `articles` table with one string column and a text column. It also creates
|
an `articles` table with one string column and a text column. It also creates
|
||||||
two timestamp fields to allow Rails to track article creation and update times.
|
two timestamp fields to allow Rails to track article creation and update times.
|
||||||
|
|
||||||
TIP: For more information about migrations, refer to [Rails Database Migrations]
|
TIP: For more information about migrations, refer to [Active Record Migrations]
|
||||||
(migrations.html).
|
(active_record_migrations.html).
|
||||||
|
|
||||||
At this point, you can use a bin/rails command to run the migration:
|
At this point, you can use a bin/rails command to run the migration:
|
||||||
|
|
||||||
|
|
|
@ -21,8 +21,8 @@
|
||||||
#
|
#
|
||||||
# Separate many using commas:
|
# Separate many using commas:
|
||||||
#
|
#
|
||||||
# # validates only association_basics.html and migrations.html
|
# # validates only association_basics.html and command_line.html
|
||||||
# rake guides:validate ONLY=assoc,migrations
|
# rake guides:validate ONLY=assoc,command
|
||||||
#
|
#
|
||||||
# ---------------------------------------------------------------------------
|
# ---------------------------------------------------------------------------
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue