diff options
author | Sebastian Martinez <sebastian@wyeworks.com> | 2011-05-23 20:09:58 -0300 |
---|---|---|
committer | Sebastian Martinez <sebastian@wyeworks.com> | 2011-05-23 20:09:58 -0300 |
commit | c6ec7e825e37a894d47386e9d6ca3021de1eb056 (patch) | |
tree | b1582d96389c0e470d8a89da3ad4c496c28678e5 /railties/guides | |
parent | 12ab1653dc9263d35f0633ff1a0c83f97c96f4bf (diff) | |
download | rails-c6ec7e825e37a894d47386e9d6ca3021de1eb056.tar.gz rails-c6ec7e825e37a894d47386e9d6ca3021de1eb056.tar.bz2 rails-c6ec7e825e37a894d47386e9d6ca3021de1eb056.zip |
Fix styling error on plugins guide.
Diffstat (limited to 'railties/guides')
-rw-r--r-- | railties/guides/source/plugins.textile | 2 |
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 |