diff options
author | Vijay Dev <vijaydev.cse@gmail.com> | 2010-12-25 22:04:05 +0530 |
---|---|---|
committer | Vijay Dev <vijaydev.cse@gmail.com> | 2010-12-25 22:04:05 +0530 |
commit | b30293f2f654cfe321503520fc7caf31038f9ae3 (patch) | |
tree | e15cdbd952a5b0e37de649573ab1ee78613ff9aa /railties | |
parent | fdfa7dc6480762d2d93166daf556deef1e771331 (diff) | |
download | rails-b30293f2f654cfe321503520fc7caf31038f9ae3.tar.gz rails-b30293f2f654cfe321503520fc7caf31038f9ae3.tar.bz2 rails-b30293f2f654cfe321503520fc7caf31038f9ae3.zip |
minor edit
Diffstat (limited to 'railties')
-rw-r--r-- | railties/guides/source/association_basics.textile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/guides/source/association_basics.textile b/railties/guides/source/association_basics.textile index 62abc40c81..07d0cf2e6d 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 associations: * +belongs_to+ * +has_one+ |