Class: Mongo::ObjectID

Inherits:
Object show all
Defined in:
lib/novelys_mongo_mapper/support.rb

Instance Method Summary collapse

Instance Method Details

#original_to_jsonObject



209
# File 'lib/novelys_mongo_mapper/support.rb', line 209

alias_method :original_to_json, :to_json

#to_json(options = nil) ⇒ Object



211
212
213
# File 'lib/novelys_mongo_mapper/support.rb', line 211

def to_json(options = nil)
  %Q("#{to_s}")
end