diff options
author | Ryan Bigg <radarlistener@gmail.com> | 2010-11-15 11:44:04 +0800 |
---|---|---|
committer | Ryan Bigg <radarlistener@gmail.com> | 2010-11-15 11:44:04 +0800 |
commit | 8b5700192e3baadf236f1d7560c3b9f979b3b56d (patch) | |
tree | 5f13a06bf516d58cf1a6ab2f508aa5e8622c0e7e /railties/guides/source/layouts_and_rendering.textile | |
parent | 74061f55be2ba83f1457369b7e47cab54d26a57f (diff) | |
parent | 72fda46214da24e846a8f3332e153361247902a4 (diff) | |
download | rails-8b5700192e3baadf236f1d7560c3b9f979b3b56d.tar.gz rails-8b5700192e3baadf236f1d7560c3b9f979b3b56d.tar.bz2 rails-8b5700192e3baadf236f1d7560c3b9f979b3b56d.zip |
Merge branch 'master' of github.com:lifo/docrails
* 'master' of github.com:lifo/docrails:
Getting Started guide: remove calls to f.error_messages as it has been removed from Rails
deliver_* is no more
removed unnecessary indentation
added note with example for using flash in redirection
corrected sample code to clear @_current_user class variable also
the partial option is not required for simple partial rendering
colorize_logging is a Rails General Configuration option not a specific option of ActiveRecord
Fixed the name of the 'generator option'
this reads better, i don't know what the other 'so on' are, doesn't help reader imho
added missing word to clear up meaning in my previous commit
Add a note to TextHelpers making explicit their default behavior of not escaping but sanitizing.
removed indentation, for code style consistency and readibility
Use Rails.logger, not ActiveRecord::Base.logger
removed etc. not require
added missing space and minor rewording
corrected to Rails 3 syntax for declaring resources
Fixes ActionMailer example error
Diffstat (limited to 'railties/guides/source/layouts_and_rendering.textile')
-rw-r--r-- | railties/guides/source/layouts_and_rendering.textile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/guides/source/layouts_and_rendering.textile b/railties/guides/source/layouts_and_rendering.textile index c65ea5c797..4e26d152bf 100644 --- a/railties/guides/source/layouts_and_rendering.textile +++ b/railties/guides/source/layouts_and_rendering.textile @@ -970,7 +970,7 @@ Partial templates - usually just called "partials" - are another device for brea h5. Naming Partials -To render a partial as part of a view, you use the +render+ method within the view, and include the +:partial+ option: +To render a partial as part of a view, you use the +render+ method within the view: <ruby> <%= render "menu" %> |