From 852e26ab89aca117b7d6459202fc7ce288b6e770 Mon Sep 17 00:00:00 2001 From: Jaime Iniesta Date: Tue, 6 Apr 2010 12:19:17 +0200 Subject: Fix 3_0_release_notes so it valides XHTML 1.0 Strict --- railties/guides/source/3_0_release_notes.textile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'railties/guides/source') diff --git a/railties/guides/source/3_0_release_notes.textile b/railties/guides/source/3_0_release_notes.textile index 804ff2a96c..86d72db125 100644 --- a/railties/guides/source/3_0_release_notes.textile +++ b/railties/guides/source/3_0_release_notes.textile @@ -306,7 +306,7 @@ h5. Unobtrusive JavaScript Major re-write was done in the Action View helpers, implementing Unobtrusive JavaScript (UJS) hooks and removing the old inline AJAX commands. This enables Rails to use any compliant UJS driver to implement the UJS hooks in the helpers. -What this means is that all previous remote_ helpers have been removed from Rails core and put into the "Prototype Legacy Helper":http://github.com/rails/prototype_legacy_helper. To get UJS hooks into your HTML, you now pass :remote => true instead. For example: +What this means is that all previous remote_<method> helpers have been removed from Rails core and put into the "Prototype Legacy Helper":http://github.com/rails/prototype_legacy_helper. To get UJS hooks into your HTML, you now pass :remote => true instead. For example: form_for @post, :remote => true @@ -320,17 +320,17 @@ Produces: h5. Helpers with Blocks -Helpers like +form_for+ or +div_for+ that insert content from a block use +<%=+ now: +Helpers like +form_for+ or +div_for+ that insert content from a block use +<%=+ now: <%= form_for @post do |f| %> ... <% end %> - + Your own helpers of that kind are expected to return a string, rather than appending to the output buffer by hand. -Helpers that do something else, like +cache+ or +content_for+, are not affected by this change, they need +<%+ as before. +Helpers that do something else, like +cache+ or +content_for+, are not affected by this change, they need +<%+ as before. h5. Other Changes -- cgit v1.2.3