Comments (2)
There is no MessagePack renderer currently but you can add one very easily.
There is only one method to implement to transform the result hash to the desired MessagePack output. You can take example from https://github.com/ccocchi/rabl-rails/blob/master/lib/rabl-rails/renderers/json.rb.
from rabl-rails.
@ccocchi Ohhh! Looks like the current library(the one up on rubygems) has changed the interface a bit. Looks like u had a class instead of a module.
I think I wait until RablRails 0.4 with Rails 4.1 support is released then. I will use JSON in meantime also which is a nice format.
from rabl-rails.
Related Issues (20)
- rabl-rails renders JSON instead of XML in some cases HOT 3
- iso8601 dates break on 0.4.0 HOT 1
- New way of format retrieving caused problems with gon gem HOT 4
- wiki page 'Render object directly' references to non existing class HOT 1
- Rails 4.2 HOT 4
- Object 'nil' with extends HOT 1
- fields filter?
- Conditional attributes not working HOT 1
- use_custom_responder = true doesn't work on RoR 4.2 HOT 1
- Not being able to use a cache key in rabl generated by controller. HOT 2
- Object root not included in 0.4.2, but was in 0.4.1 HOT 7
- Response contains ":" in rails 5 HOT 1
- rabl-rails for rails-5-api? HOT 5
- undefined method for nil:NilClass on Rails 5.0.1 HOT 2
- Upgrading to 0.5.0 from 0.4.3 encountering error "undefined method `render' for RablRails:Module" HOT 6
- Results caching with object set to false
- Need to remove .json from url
- `rendered_format` is removed in Rails 6.1 HOT 4
- single arity deprecation warning for Rails 6.1 HOT 2
- Rails 6 warning: autoloading ActionController::Base during initialization HOT 2
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 rabl-rails.