-
Can we access env before the endpoint? Accessing env inside the endpoint works but accessing it inside a DSL extension does not. Is this feature supported?
```
module Grape
module Extensions
d…
-
I'm not sure where I should open the issue (see linked issue: https://github.com/berkshelf/berkshelf-api/issues/210) but running into the following with `berkshelf-api` (depending on `grape-msgpack`):…
-
After upgrading from to Rails 5, some of my tests randomly fail with the error down below. They don't always fail, its just that this error appears from time to time.
```
1.2) Failure/Error: routi…
-
Hello,
I have been using Grape to build an API within an already-existing Rails project.
I have been dealing with an error that I do not understand and I wonder if somebody could draw some light on …
ghost updated
7 years ago
-
This bug (https://github.com/internetarchive/surt/issues/20) reported against the Python `surt` module is also present in the Java implementation.
This URL
`http://example.com/script?type=a+b+%26…
-
**Problem Statement:**
While trying to access a subset array from within a superset array using the "All" operator, I found that the "IN" operator does not function correctly when an array is acces…
-
**Code**
```ruby
require "bundler/setup"
Bundler.require
require 'grape-swagger/entity'
module API
module V1
class Welcome < Grape::API
desc 'Greets user' do
detail 'T…
-
I'm using Rabl with Grape.
I have this view, but `@comments` is nil here!
``` ruby
object false
node :meta do
{total: @comments.count}
end
child @comments => :data do
attributes :id, :message
…
amrnt updated
11 years ago
-
With grape 0.9.0, submitting e.g. invalid JSON, or raising an exception in my own code (when using `rescue_from` in the Grape API class), Grape fails to format the error and raises a new exception:
`…
-
- Pasta 226.8 g farfalle bow-tie pasta
- Chicken
- 2 tablespoons olive oil
- 680.39 g skinless, boneless chicken tenderloins (or sliced skinless, boneless thighs or breasts)
- 0.5 teaspoon smoked …