Comments (5)
Are you registering the extension in your app?
from sinja.
Yup,
module Server
class ApiV3 < Sinatra::Base
#use Sinja::MethodOverride
register Sinja
end
end
from sinja.
Found out. It was my commented out string of:
raise NotAcceptableError unless request.preferred_type.entry == MIME_TYPE || request.options?
Do you suggest another way?
from sinja.
Fixed.
from sinja.
No, I'm thoroughly perplexed, so I'm glad you figured it out. It's almost as if you had the v1.2.5 gem and your fork (at master tip) loaded simultaneously.
from sinja.
Related Issues (19)
- TODO HOT 1
- Primary key updating broken on JRuby
- All creates yield `Malformed {json:api} request payload` HOT 9
- Custom routes within resource block not working HOT 4
- Issue with Padrino HOT 9
- Question about filters HOT 20
- Really slow require of Sinja
- getting Malformed JSON in the request body when request.body is not rewindable HOT 2
- Rewrite error handling as middleware
- Implement Ruby 3 support? HOT 2
- I think you can do this, we will support you
- Add examples and extensions for other DALs and ORMs
- Create Ember demo app
- Document Sequel helpers and extension HOT 1
- Document demo app
- Implement filtering, sorting, and paging
- Allow custom route names HOT 4
- Generate Swagger documentation
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 sinja.