diff options
author | rspeicher <rspeicher@gmail.com> | 2010-09-15 19:19:48 -0400 |
---|---|---|
committer | rspeicher <rspeicher@gmail.com> | 2010-09-15 19:19:48 -0400 |
commit | 6f3ac42550ed6780427e723de61f351537d582bf (patch) | |
tree | a7b9e7e33a5b7d070bdb8487bd05904583459a23 /actionpack/lib/action_view/helpers | |
parent | bda6de2722a859049fa72c9a5d39880bdb74252f (diff) | |
download | rails-6f3ac42550ed6780427e723de61f351537d582bf.tar.gz rails-6f3ac42550ed6780427e723de61f351537d582bf.tar.bz2 rails-6f3ac42550ed6780427e723de61f351537d582bf.zip |
Typos
Diffstat (limited to 'actionpack/lib/action_view/helpers')
-rw-r--r-- | actionpack/lib/action_view/helpers/form_helper.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/actionpack/lib/action_view/helpers/form_helper.rb b/actionpack/lib/action_view/helpers/form_helper.rb index 79a9d997dd..700a5a0ef1 100644 --- a/actionpack/lib/action_view/helpers/form_helper.rb +++ b/actionpack/lib/action_view/helpers/form_helper.rb @@ -211,7 +211,7 @@ module ActionView # If you have an object that needs to be represented as a different # parameter, like a Client that acts as a Person: # - # <%= form_for(@post, :as => :client do |f| %> + # <%= form_for(@post, :as => :client) do |f| %> # ... # <% end %> # @@ -228,8 +228,8 @@ module ActionView # ... # <% end %> # - # Where +@document = Document.find(params[:id])+ and - # +@comment = Comment.new+. + # Where <tt>@document = Document.find(params[:id])</tt> and + # <tt>@comment = Comment.new</tt>. # # === Unobtrusive JavaScript # |