From 9f1a47de5360e97176613fef8dbc57c2c3c22dcf Mon Sep 17 00:00:00 2001 From: Geoffrey Roguelon Date: Wed, 24 Oct 2012 15:25:35 +0200 Subject: Adding a missing parenthesis in the doc of String#parameterize. --- activesupport/lib/active_support/core_ext/string/inflections.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'activesupport') diff --git a/activesupport/lib/active_support/core_ext/string/inflections.rb b/activesupport/lib/active_support/core_ext/string/inflections.rb index 2194dafe4d..48c1004eaf 100644 --- a/activesupport/lib/active_support/core_ext/string/inflections.rb +++ b/activesupport/lib/active_support/core_ext/string/inflections.rb @@ -149,7 +149,7 @@ class String # @person = Person.find(1) # # => # # - # <%= link_to(@person.name, person_path %> + # <%= link_to(@person.name, person_path) %> # # => Donald E. Knuth def parameterize(sep = '-') ActiveSupport::Inflector.parameterize(self, sep) -- cgit v1.2.3