Closed estum closed 10 years ago
I can't change encoder to provide support with the ActiveModel::Serializers gem.
This feature described in README, but doesn't work:
json encoder Autocomplete uses Yajl as JSON encoder/decoder, but you can specify your own class ProductsController < Admin::BaseController autocomplete :brand, :name do |items| CustomJSON::Encoder.encode(items) end end
Autocomplete uses Yajl as JSON encoder/decoder, but you can specify your own
class ProductsController < Admin::BaseController autocomplete :brand, :name do |items| CustomJSON::Encoder.encode(items) end end
I can't change encoder to provide support with the ActiveModel::Serializers gem.
This feature described in README, but doesn't work: