aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/README.rdoc
diff options
context:
space:
mode:
authorVijay Dev <vijaydev.cse@gmail.com>2014-05-09 00:04:12 +0530
committerVijay Dev <vijaydev.cse@gmail.com>2014-05-09 00:04:12 +0530
commita923375e797664d2fa7d1a933572fd11431dfaf1 (patch)
tree1e607f8034d6524c99443d64e780eb3f1c116f53 /activerecord/README.rdoc
parentcb6622f455343bb9eddefabc2386dc7858de2e53 (diff)
downloadrails-a923375e797664d2fa7d1a933572fd11431dfaf1.tar.gz
rails-a923375e797664d2fa7d1a933572fd11431dfaf1.tar.bz2
rails-a923375e797664d2fa7d1a933572fd11431dfaf1.zip
fix formatting errors [ci skip]
Diffstat (limited to 'activerecord/README.rdoc')
-rw-r--r--activerecord/README.rdoc12
1 files changed, 6 insertions, 6 deletions
diff --git a/activerecord/README.rdoc b/activerecord/README.rdoc
index 56be7b9598..335f0e083f 100644
--- a/activerecord/README.rdoc
+++ b/activerecord/README.rdoc
@@ -19,7 +19,9 @@ A short rundown of some of the major features:
class Product < ActiveRecord::Base
end
-
+
+ {Learn more}[link:classes/ActiveRecord/Base.html]
+
The Product class is automatically mapped to the table named "products",
which might look like this:
@@ -29,11 +31,9 @@ which might look like this:
PRIMARY KEY (id)
);
- This would also define the following accessors: `Product#name` and
- `Product#name=(new_name)`
-
- {Learn more}[link:classes/ActiveRecord/Base.html]
-
+This would also define the following accessors: `Product#name` and
+`Product#name=(new_name)`.
+
* Associations between objects defined by simple class methods.