Method: Oj.optimize_rails

Defined in:
ext/oj/oj.c

.optimize_railsObject

Sets the Oj as the Rails encoder and decoder. Oj::Rails.optimize is also called.

[View source]

1717
# File 'ext/oj/oj.c', line 1717

extern VALUE oj_optimize_rails(VALUE self);