aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRyan Bigg <radarlistener@gmail.com>2010-04-11 07:43:59 +1000
committerRyan Bigg <radarlistener@gmail.com>2010-04-14 13:15:51 +1000
commitd45cacc8370776b9b9609fce1d287f68ba6b2e16 (patch)
tree49de1d3b5a973c1667243d2bb8f4b223f24a55fb
parentfe0b52befb99e247c5cb98aceaa660dce34cfc47 (diff)
downloadrails-d45cacc8370776b9b9609fce1d287f68ba6b2e16.tar.gz
rails-d45cacc8370776b9b9609fce1d287f68ba6b2e16.tar.bz2
rails-d45cacc8370776b9b9609fce1d287f68ba6b2e16.zip
Use <plain> instead of <text>
-rw-r--r--railties/guides/source/initialization.textile18
1 files changed, 12 insertions, 6 deletions
diff --git a/railties/guides/source/initialization.textile b/railties/guides/source/initialization.textile
index d8d119f608..fea0185c4c 100644
--- a/railties/guides/source/initialization.textile
+++ b/railties/guides/source/initialization.textile
@@ -844,7 +844,7 @@ The ActiveRecord Railtie takes care of hooking ActiveRecord into Rails. This dep
TODO: Quotify.
-<text>
+<plain>
Active Record connects business objects and database tables to create a persistable domain model where logic and data are presented in one wrapping. It's an implementation of the object-relational mapping (ORM) pattern by the same name as described by Martin Fowler:
"An object that wraps a row in a database table or view, encapsulates
@@ -854,7 +854,7 @@ TODO: Quotify.
lack of associations and inheritance. By adding a simple domain language-like set of macros to describe
the former and integrating the Single Table Inheritance pattern for the latter, Active Record narrows the
gap of functionality between the data mapper and active record approach.
-</text>
+</plain>
h5. +require "active_record/railtie"+
@@ -989,13 +989,13 @@ This Railtie is +require+'d by ActiveRecord's Railtie.
From the ActiveModel readme:
-<text>
+<plain>
Prior to Rails 3.0, if a plugin or gem developer wanted to be able to have an object interact with Action Pack helpers, it was required to either copy chunks of code from Rails, or monkey patch entire helpers to make them handle objects that did not look like Active Record. This generated code duplication and fragile applications that broke on upgrades.
Active Model is a solution for this problem.
Active Model provides a known set of interfaces that your objects can implement to then present a common interface to the Action Pack helpers.
-</text>
+</plain>
h5. +require "active_model/railtie"+
@@ -1249,9 +1249,9 @@ In _encoding.rb_ it's used to define a constant that's now been deprecated:
Now when you reference +ActiveSupport::JSON::CircularReferenceError+ you'll receive a warning:
-<text>
+<plain>
ActiveSupport::JSON::CircularReferenceError is deprecated! Use Encoding::CircularReferenceError instead.
-</text>
+</plain>
h5. +require "active_support/deprecation"+
@@ -2268,6 +2268,12 @@ The first method to be called here is +autorequires_for_groups+:
end
</ruby>
+The +specs_for+ method here:
+
+<ruby>
+
+</ruby>
+
h3. Firing it up!