instance method json_class_name

Ruby on Rails 2.2.3

Last seen in v2.2.3

Signature

json_class_name()

No documentation comment.

Source
# File activerecord/lib/active_record/serializers/json_serializer.rb, line 75
      def json_class_name
        @json_class_name ||= name.demodulize.underscore.inspect
      end

Defined in activerecord/lib/active_record/serializers/json_serializer.rb line 75 · View on GitHub · Improve this page · Find usages on GitHub

Defined in ActiveRecord::Serialization::ClassMethods

Type at least 2 characters to search.

Use the arrow keys to navigate results, Enter to open one, Escape to close.

Keyboard shortcuts

/
Focus search
⌘K / Ctrl-K
Command palette
?
This help
Esc
Close