Flowdock
method

title_to_idx

Importance_0
Ruby on Rails latest stable (v4.0.2) - 0 notes - Class: RailsGuides::Indexer

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v3.2.13) is shown here.

title_to_idx(title) private

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File railties/guides/rails_guides/indexer.rb, line 61
    def title_to_idx(title)
      idx = title.strip.parameterize.sub(/^\d+/, '')
      if warnings && idx.blank?
        puts "BLANK ID: please put an explicit ID for section #{title}, as in h5(#my-id)"
      end
      idx
    end
Register or log in to add new notes.