Comments (9)
this is really interesting.
i am not using rails 4.2 with grape-active_model_serializers now. do you mind creating a skeleton project for me so that i can look into this?
from grape-active_model_serializers.
https://github.com/testbrian/grape_serializers/blob/master/app/api/v1/sales.rb#L29
bundle exec rspec spec/api/v1/sales_spec.rb:42
from grape-active_model_serializers.
@testbrian this is awesome. let me check this out this weekend.
from grape-active_model_serializers.
@siong1987 any update here. Getting same error with grape api and rails 4.2.0rc1
from grape-active_model_serializers.
I had to specify serializer to fix.. It seems it isn't able to figure out what serializer to use?
delete '/', serializer: ::CommentsSerializer, root: false do
end
from grape-active_model_serializers.
@testbrian Write a spec with your repro?
from grape-active_model_serializers.
@nadeemyasin61 Could you reproduce with a spec?
from grape-active_model_serializers.
closing this issue as it is multiple years old and the codebase has changed since then. if you can test this against master and repro the issue, please create another issue.
from grape-active_model_serializers.
👍
from grape-active_model_serializers.
Related Issues (20)
- not working on custom json response HOT 2
- API Versioning: Supporting Active Model Serializers namespacing HOT 4
- Changing adapter in AMS is not affected to output HOT 9
- Issues versioning serializers with Grape 1.4 master HOT 17
- Swagger documentation HOT 3
- Globally specify serialization adapter HOT 1
- Release v. next HOT 5
- Convert all AM keys from snake_case to camelCase HOT 3
- `include: '**'` option not working on serailizers HOT 8
- undefined method `deconstantize' for nil:NilClass HOT 11
- [grape 1.0.0] Json root does not exist in response.
- Custom formatted error messages HOT 1
- default_serializer_options no longer works HOT 1
- Array root documentation HOT 3
- Namespaces with associations HOT 2
- Documentation on the ErrorSerializer HOT 3
- Release v. Next
- How can I have a resource loaded in included (jsonapi format) ?
- Test failures about Hash#deep_dup missing HOT 2
- Custom Metadata not woking
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from grape-active_model_serializers.