mirror of
https://github.com/github/rails.git
synced 2026-01-09 14:48:08 -05:00
Fixes readme links better - earlier links broke when the current page is anything other than github.com/rails/rails/. Even github.com/rails/rails (without the trailing slash) broke the readme links. Also change the rakefile that generates the rdoc readme accordingly
This commit is contained in:
@@ -18,7 +18,7 @@ you to present the data from database rows as objects and embellish these data o
|
||||
with business logic methods. Although most Rails models are backed by a database, models
|
||||
can also be ordinary Ruby classes, or Ruby classes that implement a set of interfaces as
|
||||
provided by the ActiveModel module. You can read more about Active Record in its
|
||||
{README}[link:blob/master/activerecord/README.rdoc].
|
||||
{README}[link:/rails/rails/blob/master/activerecord/README.rdoc].
|
||||
|
||||
The Controller layer is responsible for handling incoming HTTP requests and providing a
|
||||
suitable response. Usually this means returning HTML, but Rails controllers can also
|
||||
@@ -29,7 +29,7 @@ In Rails, the Controller and View layers are handled together by Action Pack.
|
||||
These two layers are bundled in a single package due to their heavy interdependence.
|
||||
This is unlike the relationship between Active Record and Action Pack which are
|
||||
independent. Each of these packages can be used independently outside of Rails. You
|
||||
can read more about Action Pack in its {README}[link:blob/master/actionpack/README.rdoc].
|
||||
can read more about Action Pack in its {README}[link:/rails/rails/blob/master/actionpack/README.rdoc].
|
||||
|
||||
== Getting Started
|
||||
|
||||
|
||||
Reference in New Issue
Block a user