Permalink
Browse files

fix nil issue

  • Loading branch information...
1 parent 1170f46 commit ac1bcd8499ecea144457fc097f2e4e8562fe9a27 @steveklabnik committed Feb 11, 2013
Showing with 2 additions and 2 deletions.
  1. +1 −1 posts/2013-02-11-ruby-on-rails-maintenance-policy.md
  2. +1 −1 source_file.rb
@@ -11,7 +11,7 @@ The policy was originally posted on Google Groups, here: [https://groups.google.
Here's a copy if you don't want to read Google Groups:
-----------------------
+<hr >
Since the most recent patch releases there has been some confusion about what versions of Ruby on Rails are currently supported, and when people can expect new versions. Our maintenance policy is as follows.
View
@@ -41,7 +41,7 @@ def link(link, title, content)
end
def header(text, header_level)
- text_slug = text.gsub(/\W/, "_").downcase
+ text_slug = text.to_s.gsub(/\W/, "_").downcase
self.outline << [header_level, "<a href='##{text_slug}'>#{text}</a>"]

0 comments on commit ac1bcd8

Please sign in to comment.