From edea7b6f0aaec4ee5fbbfed1c77a7417afedd615 Mon Sep 17 00:00:00 2001 From: yui-knk Date: Sun, 7 Jun 2015 22:07:12 +0900 Subject: [ci skip] Fix order to match options order --- guides/source/action_view_overview.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'guides/source/action_view_overview.md') diff --git a/guides/source/action_view_overview.md b/guides/source/action_view_overview.md index 950bb5e358..6ebeb23409 100644 --- a/guides/source/action_view_overview.md +++ b/guides/source/action_view_overview.md @@ -1428,7 +1428,7 @@ This sanitize helper will HTML encode all tags and strip all attributes that are sanitize @article.body ``` -If either the `:attributes` or `:tags` options are passed, only the mentioned tags and attributes are allowed and nothing else. +If either the `:attributes` or `:tags` options are passed, only the mentioned attributes and tags are allowed and nothing else. ```ruby sanitize @article.body, tags: %w(table tr td), attributes: %w(id class style) -- cgit v1.2.3 From cbd71795bc4ac5b81c95dfc68d4b76e612433279 Mon Sep 17 00:00:00 2001 From: yui-knk Date: Tue, 9 Jun 2015 00:12:06 +0900 Subject: [ci skip] Fix minutes to seconds in `select_second` This is same type commit of https://github.com/rails/rails/pull/20463 --- guides/source/action_view_overview.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'guides/source/action_view_overview.md') diff --git a/guides/source/action_view_overview.md b/guides/source/action_view_overview.md index 6ebeb23409..e16ce57d01 100644 --- a/guides/source/action_view_overview.md +++ b/guides/source/action_view_overview.md @@ -724,7 +724,7 @@ Returns a select tag with options for each of the seconds 0 through 59 with the ```ruby # Generates a select field for seconds that defaults to the seconds for the time provided -select_second(Time.now + 16.minutes) +select_second(Time.now + 16.seconds) ``` #### select_time -- cgit v1.2.3