mirror of https://github.com/rails/rails
Fix spacing in plugins.textile to fix html rendering and remove extra whitespace from security.textile
This commit is contained in:
parent
c5f97b5063
commit
7ff894dcc7
|
@ -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
|
||||
|
|
|
@ -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._
|
||||
|
|
Loading…
Reference in New Issue