Permalink
Browse files

Fix relative_time_ago => time_ago_in_words in docs

  • Loading branch information...
1 parent acc1d6a commit 3984c59aea91ad10705ddc51b21b19901990a7d0 @nesquena nesquena committed Sep 14, 2011
Showing with 4 additions and 5 deletions.
  1. +1 −1 README.rdoc
  2. +2 −2 padrino-core/README.rdoc
  3. +1 −2 padrino-helpers/README.rdoc
View
@@ -30,7 +30,7 @@ Routing:: Full url named routes, named params, respond_to support, before/after
Tag Helpers:: View helpers such as: tag, content_tag, input_tag.
Asset Helpers:: View helpers such as: link_to, image_tag, javascript_include_tag.
Form Helpers:: Builder support such as: form_tag, form_for, field_set_tag, text_field.
-Text Helpers:: Useful formatting like: relative_time_ago, js_escape_html, sanitize_html.
+Text Helpers:: Useful formatting like: time_ago_in_words, js_escape_html, sanitize_html.
Mailer:: Fast and simple delivery support for sending emails (akin to ActionMailer).
Admin:: Builtin Admin interface (like Django)
Logging:: Provide a unified logger that can interact with your ORM or any library.
View
@@ -26,11 +26,11 @@ Routing:: Full url named routes, named params, respond_to support, before/after
Tag Helpers:: View helpers such as: tag, content_tag, input_tag.
Asset Helpers:: View helpers such as: link_to, image_tag, javascript_include_tag.
Form Helpers:: Builder support such as: form_tag, form_for, field_set_tag, text_field.
-Text Helpers:: Useful formatting like: relative_time_ago, js_escape_html, sanitize_html.
+Text Helpers:: Useful formatting like: time_ago_in_words, js_escape_html, sanitize_html.
Mailer:: Fast and simple delivery support for sending emails (akin to ActionMailer).
Admin:: Builtin Admin interface (like Django)
Logging:: Provide a unified logger that can interact with your ORM or any library.
-Reloading:: Automatically reloads server code during development.
+Reloading:: Automatically reloads server code during development.
Localization:: Full support of I18n language localization and can auto-set user’s locale.
Keep in mind, the user will be able to pull in these components
@@ -184,8 +184,7 @@ For more information on using the Padrino form builders, check out the guide for
=== Format Helpers
Format helpers are several useful utilities for manipulating the format of text to achieve a goal.
-The four format helpers are <tt>escape_html</tt>, <tt>relative_time_ago</tt>, <tt>time_in_words</tt>,
-and <tt>js_escape_html</tt>.
+The four format helpers are <tt>escape_html</tt>, <tt>time_ago_in_words</tt>, and <tt>js_escape_html</tt>.
The escape_html and js_escape_html function are for taking an html string and escaping certain characters.
<tt>escape_html</tt> will escape ampersands, brackets and quotes to their HTML/XML entities. This is useful

0 comments on commit 3984c59

Please sign in to comment.