diff options
author | Xavier Noria <fxn@hashref.com> | 2010-09-19 00:04:30 +0200 |
---|---|---|
committer | Xavier Noria <fxn@hashref.com> | 2010-09-19 00:05:05 +0200 |
commit | 2b6c2e947b819a2b874ce21f0017cc1449a827b3 (patch) | |
tree | e55f592d247361c619e10812f9eb7517959d3d84 /railties/guides/source | |
parent | 2d65ff5af7c57f2b66782d40e380a33904d02bce (diff) | |
download | rails-2b6c2e947b819a2b874ce21f0017cc1449a827b3.tar.gz rails-2b6c2e947b819a2b874ce21f0017cc1449a827b3.tar.bz2 rails-2b6c2e947b819a2b874ce21f0017cc1449a827b3.zip |
adds to the API guidelines the proper spelling of Arel
Diffstat (limited to 'railties/guides/source')
-rw-r--r-- | railties/guides/source/api_documentation_guidelines.textile | 2 | ||||
-rw-r--r-- | railties/guides/source/initialization.textile | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/railties/guides/source/api_documentation_guidelines.textile b/railties/guides/source/api_documentation_guidelines.textile index d2ccb6475e..9aefc41a70 100644 --- a/railties/guides/source/api_documentation_guidelines.textile +++ b/railties/guides/source/api_documentation_guidelines.textile @@ -29,7 +29,7 @@ Documentation has to be concise but comprehensive. Explore and document edge cas The proper names of Rails components have a space in between the words, like "Active Support". +ActiveRecord+ is a Ruby module, whereas Active Record is an ORM. Historically there has been lack of consistency regarding this, but we checked with David when docrails started. All Rails documentation consistently refer to Rails components by their proper name, and if in your next blog post or presentation you remember this tidbit and take it into account that'd be fenomenal :). -Spell names correctly: HTML, MySQL, JavaScript, ERb. Use the article "an" for "SQL", as in "an SQL statement". Also "an SQLite database". +Spell names correctly: Arel, HTML, MySQL, JavaScript, ERb. Use the article "an" for "SQL", as in "an SQL statement". Also "an SQLite database". h3. Example Code diff --git a/railties/guides/source/initialization.textile b/railties/guides/source/initialization.textile index b998066f4c..599ddccdd6 100644 --- a/railties/guides/source/initialization.textile +++ b/railties/guides/source/initialization.textile @@ -848,7 +848,7 @@ h5. +require "active_record"+ TODO: Why are +activesupport_path+ and +activemodel_path+ defined here? -The first three requires require ActiveSupport, Active Model and ARel in that order: +The first three requires require ActiveSupport, Active Model and Arel in that order: <ruby> require 'active_support' |