aboutsummaryrefslogtreecommitdiffstats
path: root/railties/guides/source/association_basics.textile
diff options
context:
space:
mode:
authorJaime Iniesta <jaimeiniesta@gmail.com>2010-08-26 10:16:08 +0200
committerJaime Iniesta <jaimeiniesta@gmail.com>2010-08-26 10:16:08 +0200
commit0f9eedf6de72f4afacde6d7075c588a7a6fd3ad6 (patch)
tree09178de26dce52d99a36dd0a7a2e2b55f15e1089 /railties/guides/source/association_basics.textile
parentfa1ba5bd5bbcdfc82104a2b88fb25d2f3695a525 (diff)
downloadrails-0f9eedf6de72f4afacde6d7075c588a7a6fd3ad6.tar.gz
rails-0f9eedf6de72f4afacde6d7075c588a7a6fd3ad6.tar.bz2
rails-0f9eedf6de72f4afacde6d7075c588a7a6fd3ad6.zip
change 'a SQL' to 'an SQL' as suggested by the api documentation guidelines
Diffstat (limited to 'railties/guides/source/association_basics.textile')
-rw-r--r--railties/guides/source/association_basics.textile14
1 files changed, 7 insertions, 7 deletions
diff --git a/railties/guides/source/association_basics.textile b/railties/guides/source/association_basics.textile
index b3735c270e..17742a8d8c 100644
--- a/railties/guides/source/association_basics.textile
+++ b/railties/guides/source/association_basics.textile
@@ -629,7 +629,7 @@ end
h6(#belongs_to-conditions). +:conditions+
-The +:conditions+ option lets you specify the conditions that the associated object must meet (in the syntax used by a SQL +WHERE+ clause).
+The +:conditions+ option lets you specify the conditions that the associated object must meet (in the syntax used by an SQL +WHERE+ clause).
<ruby>
class Order < ActiveRecord::Base
@@ -899,7 +899,7 @@ end
h6(#has_one-conditions). +:conditions+
-The +:conditions+ option lets you specify the conditions that the associated object must meet (in the syntax used by a SQL +WHERE+ clause).
+The +:conditions+ option lets you specify the conditions that the associated object must meet (in the syntax used by an SQL +WHERE+ clause).
<ruby>
class Supplier < ActiveRecord::Base
@@ -961,7 +961,7 @@ end
h6(#has_one-order). +:order+
-The +:order+ option dictates the order in which associated objects will be received (in the syntax used by a SQL +ORDER BY+ clause). Because a +has_one+ association will only retrieve a single associated object, this option should not be needed.
+The +:order+ option dictates the order in which associated objects will be received (in the syntax used by an SQL +ORDER BY+ clause). Because a +has_one+ association will only retrieve a single associated object, this option should not be needed.
h6(#has_one-primary_key). +:primary_key+
@@ -1209,7 +1209,7 @@ end
h6(#has_many-conditions). +:conditions+
-The +:conditions+ option lets you specify the conditions that the associated object must meet (in the syntax used by a SQL +WHERE+ clause).
+The +:conditions+ option lets you specify the conditions that the associated object must meet (in the syntax used by an SQL +WHERE+ clause).
<ruby>
class Customer < ActiveRecord::Base
@@ -1335,7 +1335,7 @@ The +:offset+ option lets you specify the starting offset for fetching objects v
h6(#has_many-order). +:order+
-The +:order+ option dictates the order in which associated objects will be received (in the syntax used by a SQL +ORDER BY+ clause).
+The +:order+ option dictates the order in which associated objects will be received (in the syntax used by an SQL +ORDER BY+ clause).
<ruby>
class Customer < ActiveRecord::Base
@@ -1635,7 +1635,7 @@ end
h6(#has_and_belongs_to_many-conditions). +:conditions+
-The +:conditions+ option lets you specify the conditions that the associated object must meet (in the syntax used by a SQL +WHERE+ clause).
+The +:conditions+ option lets you specify the conditions that the associated object must meet (in the syntax used by an SQL +WHERE+ clause).
<ruby>
class Parts < ActiveRecord::Base
@@ -1724,7 +1724,7 @@ The +:offset+ option lets you specify the starting offset for fetching objects v
h6(#has_and_belongs_to_many-order). +:order+
-The +:order+ option dictates the order in which associated objects will be received (in the syntax used by a SQL +ORDER BY+ clause).
+The +:order+ option dictates the order in which associated objects will be received (in the syntax used by an SQL +ORDER BY+ clause).
<ruby>
class Parts < ActiveRecord::Base