instance method
marshal_dump
Ruby on Rails 4.1.16
Since v4.0.13 Last seen in v7.0.10Signature
marshal_dump()
No documentation comment.
Source
# File activerecord/lib/active_record/connection_adapters/schema_cache.rb, line 76
def marshal_dump
# if we get current version during initialization, it happens stack over flow.
@version = ActiveRecord::Migrator.current_version
[@version] + [@columns, @columns_hash, @primary_keys, @tables].map { |val|
Hash[val]
}
end
Defined in activerecord/lib/active_record/connection_adapters/schema_cache.rb line 76
· View on GitHub
· Improve this page
· Find usages on GitHub