aboutsummaryrefslogtreecommitdiffstats
path: root/railties/guides/source/association_basics.textile
diff options
context:
space:
mode:
authorAndreas Scherer <andreas_coder@freenet.de>2009-02-12 09:04:07 +0100
committerAndreas Scherer <andreas_coder@freenet.de>2009-02-12 09:04:07 +0100
commit115f352deb0803b427cd334fde549c39df7b4d32 (patch)
treeabe16e5622897db71af1b35293aaa968f915a30a /railties/guides/source/association_basics.textile
parent1ce05c5a36a96dc370d66247e12900f9d07a5b4f (diff)
downloadrails-115f352deb0803b427cd334fde549c39df7b4d32.tar.gz
rails-115f352deb0803b427cd334fde549c39df7b4d32.tar.bz2
rails-115f352deb0803b427cd334fde549c39df7b4d32.zip
Use n-dashes for ranges/relations.
Diffstat (limited to 'railties/guides/source/association_basics.textile')
-rw-r--r--railties/guides/source/association_basics.textile2
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/guides/source/association_basics.textile b/railties/guides/source/association_basics.textile
index eca0b26fde..f98a7fec63 100644
--- a/railties/guides/source/association_basics.textile
+++ b/railties/guides/source/association_basics.textile
@@ -65,7 +65,7 @@ To learn more about the different types of associations, read the next section o
h3. The Types of Associations
-In Rails, an _association_ is a connection between two Active Record models. Associations are implemented using macro-style calls, so that you can declaratively add features to your models. For example, by declaring that one model +belongs_to+ another, you instruct Rails to maintain Primary Key-Foreign Key information between instances of the two models, and you also get a number of utility methods added to your model. Rails supports six types of association:
+In Rails, an _association_ is a connection between two Active Record models. Associations are implemented using macro-style calls, so that you can declaratively add features to your models. For example, by declaring that one model +belongs_to+ another, you instruct Rails to maintain Primary Key–Foreign Key information between instances of the two models, and you also get a number of utility methods added to your model. Rails supports six types of association:
* +belongs_to+
* +has_one+