aboutsummaryrefslogtreecommitdiffstats
path: root/railties/guides/source/plugins.textile
diff options
context:
space:
mode:
authorSebastian Martinez <sebastian@wyeworks.com>2011-05-23 20:09:58 -0300
committerSebastian Martinez <sebastian@wyeworks.com>2011-05-23 20:09:58 -0300
commitc6ec7e825e37a894d47386e9d6ca3021de1eb056 (patch)
treeb1582d96389c0e470d8a89da3ad4c496c28678e5 /railties/guides/source/plugins.textile
parent12ab1653dc9263d35f0633ff1a0c83f97c96f4bf (diff)
downloadrails-c6ec7e825e37a894d47386e9d6ca3021de1eb056.tar.gz
rails-c6ec7e825e37a894d47386e9d6ca3021de1eb056.tar.bz2
rails-c6ec7e825e37a894d47386e9d6ca3021de1eb056.zip
Fix styling error on plugins guide.
Diffstat (limited to 'railties/guides/source/plugins.textile')
-rw-r--r--railties/guides/source/plugins.textile2
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/guides/source/plugins.textile b/railties/guides/source/plugins.textile
index 53d2381db4..2eb71e49c4 100644
--- a/railties/guides/source/plugins.textile
+++ b/railties/guides/source/plugins.textile
@@ -390,7 +390,7 @@ Run +rake+ one final time and you should see:
7 tests, 7 assertions, 0 failures, 0 errors, 0 skips
</shell>
-NOTE: The use of +write_attribute+ to write to the field in model is just one example of how a plugin can interact with the model, and will not always be the right method to use. For example, you could also use +send("#{self.class.yaffle_text_field}=", string.to_squawk)+.
+NOTE: The use of +write_attribute+ to write to the field in model is just one example of how a plugin can interact with the model, and will not always be the right method to use. For example, you could also use <tt>send("#{self.class.yaffle_text_field}=", string.to_squawk)</tt>.
h3. Generators