grape-jbuilder icon indicating copy to clipboard operation
grape-jbuilder copied to clipboard

Use Jbuilder with Grape

Results 5 grape-jbuilder issues
Sort by recently updated
recently updated
newest added

Add [`hashie`](https://github.com/intridea/hashie) gem to dependencies. It is required not to fail at [here](https://github.com/milkcocoa/grape-jbuilder/blob/master/lib/grape/jbuilder.rb#L2). If not, I got this when I run `bundle exec rails c` : ``` $ bundle exec...

json.array! Item.all, partial: 'item', as: :item throws exception TypeError: {:partial=>"item", :as=>:item} is not a symbol ruby 2.1.2 rails 4.1.6

Hi there, Is there way to set to use layout when using in Rails? I tried applying one using the docs of https://github.com/LTe/grape-rabl but there was no success.

``` resource :appointments do get nil, jbuilder: 'appointments' do end ``` This is how one needs to write the routes in order for it to be the same as: ```...

- Add hashie gem as dependency in grape-jbuilder.gemspec file.