Skip to content
Browse files

Fix spacing in plugins.textile to fix html rendering and remove extra…

… whitespace from security.textile
  • Loading branch information...
1 parent c5f97b5 commit 7ff894dcc75b46274e20a20c26b679e204e6c82b @JDutil JDutil committed
Showing with 2 additions and 1 deletion.
  1. +2 −0 railties/guides/source/plugins.textile
  2. +0 −1 railties/guides/source/security.textile
View
2 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
View
1 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._

0 comments on commit 7ff894d

Please sign in to comment.
Something went wrong with that request. Please try again.