carlesjove / collection_json_serializer

A Ruby gem to respond with Collection+JSON
MIT License
3 stars 1 forks source link

extensions are not really checked #54

Open carlesjove opened 9 years ago

carlesjove commented 9 years ago

In order to use an extension, it has to be set in the serializer:

class MySerializer
  extensions :model

However, this is not being checked per serializer, and so when an extension exists, it can be used even if it is not set.