method

get_method_for_class

Importance_0
v4.2.7 - Show latest stable - 0 notes - Class: HelperMethodBuilder
get_method_for_class(klass) private

No documentation

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

Hide source
# File actionpack/lib/action_dispatch/routing/polymorphic_routes.rb, line 314
        def get_method_for_class(klass)
          name   = @key_strategy.call klass.model_name
          prefix + "#{name}_#{suffix}"
        end
Register or log in to add new notes.