Flowdock
method

title_to_idx

Importance_0
v3.2.13 - Show latest stable - 0 notes - Class: RailsGuides::Indexer
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.