postgres_ext-serializers
postgres_ext-serializers copied to clipboard
This PR bundles three minor improvements, all around Postgres connection parameters: - You can give a postgres port, in case you have multiple versions of postgres installed. - We urlencode...
@danmcclain why did you abandon this perfect idea / solution?
Is there any chance you can add active_model_serializers (>= 0.9.0) support any time soon? Being able to use "grape-active_model_serializers" combined with "postgres_ext-serializers" would be a major win for any rails...
Hi! I have of next versions: - Rails 4.1.1 - postgres_ext (2.4.1) - postgres_ext-serializers (0.0.3) - active_model_serializers (0.8.3) my query is: `@model1.model2.includes(:model3).where('model3.state =?', 'done')` I have a error when run:...
Serializing a `has_many :through` relation is currently broken and results in invalid SQL due to bad column references. postgres_ext-serializers handles these like a normal has_many relation, when instead it needs...
First of all, thanks for an awesome project. --- When I render with plain active model serializers with ``` render :json => @events, root: false ``` It produces an array...
There should be an option like `use_postgres_serializer: false` to disable postgres_ext-serializers on a case by case basis, eg. through `default_serializer_options` in the controller, or an option passed to `render :json`....
AMS allow to provide metadata, like number of total pages by passing the `:meta` key to `render`: ``` ruby render json: posts, meta: { page:4, total_pages: 5 } ``` We...
With postgres_ext-serializers installed polymorphic relationships are serialized as: ``` json images: [{ id: 1, imageable_id: 1, imageable_type: 'User' }] ``` Which ember data does not support: https://github.com/emberjs/data/issues/1574 Without postgres_ext-serializers installed...
ActiveModel serializers allow to override association. This is does not work with postgres_ext-serializers. https://github.com/rails-api/active_model_serializers#overriding-association-methods