diff options
author | Jeff Dutil <jdutil21@gmail.com> | 2011-08-16 22:48:01 -0400 |
---|---|---|
committer | Jeff Dutil <jdutil21@gmail.com> | 2011-08-16 22:48:01 -0400 |
commit | 7ff894dcc75b46274e20a20c26b679e204e6c82b (patch) | |
tree | ea8279ab7eb2ee7221df49ef2e9ff75818e9516c /railties/guides/source | |
parent | c5f97b5063d1d60341f9e984f29a3b9812fb4c7e (diff) | |
download | rails-7ff894dcc75b46274e20a20c26b679e204e6c82b.tar.gz rails-7ff894dcc75b46274e20a20c26b679e204e6c82b.tar.bz2 rails-7ff894dcc75b46274e20a20c26b679e204e6c82b.zip |
Fix spacing in plugins.textile to fix html rendering and remove extra whitespace from security.textile
Diffstat (limited to 'railties/guides/source')
-rw-r--r-- | railties/guides/source/plugins.textile | 2 | ||||
-rw-r--r-- | railties/guides/source/security.textile | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/railties/guides/source/plugins.textile b/railties/guides/source/plugins.textile index 188423861d..d3f9783fa6 100644 --- a/railties/guides/source/plugins.textile +++ b/railties/guides/source/plugins.textile @@ -386,6 +386,7 @@ ActiveRecord::Base.send :include, Yaffle::ActsAsYaffle </ruby> Run +rake+ one final time and you should see: + <shell> 7 tests, 7 assertions, 0 failures, 0 errors, 0 skips </shell> @@ -426,6 +427,7 @@ require 'yaffle' You can test this by changing to the Rails application that you added the plugin to and starting a rails console. Once in the console we can check to see if the String has an instance method of to_squawk. + <shell> $ cd my_app $ rails console diff --git a/railties/guides/source/security.textile b/railties/guides/source/security.textile index 1f6ff88c1f..04d1d0bda8 100644 --- a/railties/guides/source/security.textile +++ b/railties/guides/source/security.textile @@ -80,7 +80,6 @@ This will also be a good idea, if you modify the structure of an object and old * _(highlight)Critical data should not be stored in session_. If the user clears his cookies or closes the browser, they will be lost. And with a client-side session storage, the user can read the data. - h4. Session Storage -- _Rails provides several storage mechanisms for the session hashes. The most important are ActiveRecordStore and CookieStore._ |