Flowdock
method

name_to_class_name

Importance_0
v1.1.6 - Show latest stable - 0 notes - Class: ActiveRecord::Aggregations::ClassMethods
name_to_class_name(name) private

No documentation

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

Hide source
# File activerecord/lib/active_record/aggregations.rb, line 141
        def name_to_class_name(name)
          name.capitalize.gsub(/_(.)/) { |s| $1.capitalize }
        end
Register or log in to add new notes.