diff options
author | Matthew McEachen <matthew+github@mceachen.org> | 2011-05-23 14:13:57 -0700 |
---|---|---|
committer | Matthew McEachen <matthew+github@mceachen.org> | 2011-05-23 14:14:17 -0700 |
commit | 12ab1653dc9263d35f0633ff1a0c83f97c96f4bf (patch) | |
tree | 10607405693b2916311b0bb0f47be373750d28c7 | |
parent | 424eff52090bf8b1901ea8a698933a1ff89db995 (diff) | |
download | rails-12ab1653dc9263d35f0633ff1a0c83f97c96f4bf.tar.gz rails-12ab1653dc9263d35f0633ff1a0c83f97c96f4bf.tar.bz2 rails-12ab1653dc9263d35f0633ff1a0c83f97c96f4bf.zip |
NOTE: doesn't handle newlines.
-rw-r--r-- | railties/guides/source/plugins.textile | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/railties/guides/source/plugins.textile b/railties/guides/source/plugins.textile index b71cd0c89d..53d2381db4 100644 --- a/railties/guides/source/plugins.textile +++ b/railties/guides/source/plugins.textile @@ -390,9 +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 +send("#{self.class.yaffle_text_field}=", string.to_squawk)+. h3. Generators |