method

irregular_model_name?

Importance_0
v7.1.3.4 - Show latest stable - 0 notes - Class: ModelHelpers
irregular_model_name?(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 52
        def irregular_model_name?(name)
          name.singularize != name.pluralize.singularize
        end
Register or log in to add new notes.