-
I am using [grape-swagger](https://github.com/ruby-grape/grape-swagger) and [swagger-ui](https://github.com/swagger-api/swagger-ui) for documentation of REST APIs in my RAILS application. I would like…
-
Hello and thank you for this project. It's great and has saved me a lot of time on common and repeated configurations.
One configuration I think is missing and it's very important and common nowadays…
-
Thank you for this nice extension!
Just one note: I had to create /views/spree/layouts/spree_application.rss.erb with content ... There was missing this template out of box ...
-
I was wondering if there was a way to force the underlying renderer to use a specific format when using `Rabl::Renderer` when the :scope option is specified.
My views are currently named like so `xxx…
-
When running bundle exec rake deface:precompile it stops with this error message.
Unable to precompile 'spree/contact_us/contacts/new' due to:
Missing template spree/contact_us/contacts/new with {:l…
-
``` ruby
# users/index.json.rabl
collection @users, root: :users
attributes :id, :name
```
In console:
``` ruby
# hash - no root
> Rabl::Renderer.new('users/index', User.limit(1), :view_path => 'a…
elado updated
11 years ago
-
I've got users/show:
``` ruby
object @user
attribute :id
node :foo do
@test
end
child :accounts do
extends 'accounts/show', :locals => {:test => @test}
end
node :accounts2 do |obj|
partial '…
-
I get this error when using "Customer Search" on the Order edit page:
```
web_1 | (3.4ms) SELECT "spree_roles"."name" FROM "spree_roles" INNER JOIN "spree_role_users" ON "spree_roles"."id" = …
-
I have a new Rails project using rabl v0.13.0 and I'm getting this error.
```
lib/rabl/digestor.rb:6: syntax error, unexpected ',' (SyntaxError)
def self.digest(name:, finder:, **options)
```
-
Let's say I want to generate such JSON:
```
{
"user": { ... },
"config": {
"base_url": "http://server.com",
"env": "development",
"location": { "lat": 50, "lng": 20 },
...
}
}
`…