method

inflection_impossible?

Importance_0
v7.1.3.4 - Show latest stable - 0 notes - Class: ModelHelpers
inflection_impossible?(name) public

No documentation

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

Hide source
# File railties/lib/rails/generators/model_helpers.rb, line 56
        def inflection_impossible?(name)
          name != name.underscore &&
            name.singularize.underscore != name.pluralize.underscore.singularize
        end
Register or log in to add new notes.