Module: ActiveRecord::Serialization::ClassMethods

Defined in:
lib/gems/activerecord-2.2.2/lib/active_record/serializers/json_serializer.rb

Instance Method Summary collapse

Instance Method Details

#json_class_nameObject



75
76
77
# File 'lib/gems/activerecord-2.2.2/lib/active_record/serializers/json_serializer.rb', line 75

def json_class_name
  @json_class_name ||= name.demodulize.underscore.inspect
end