Sha256: 9a5617fd649f1442657da8821bda7a1a000652957e5ac4696fe70e56870e9553
Contents?: true
Size: 334 Bytes
Versions: 8
Compression:
Stored size: 334 Bytes
Contents
Rabl.configure do |config| config.include_json_root = false config.include_child_root = false # Motivation here it make it call as_json when rendering timestamps # and therefore display miliseconds. Otherwise it would fall to # JSON.dump which doesn't display the miliseconds config.json_engine = ActiveSupport::JSON end
Version data entries
8 entries across 8 versions & 2 rubygems