NOTE: doesn't handle newlines.
This commit is contained in:
parent
424eff5209
commit
12ab1653dc
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user