-
Rails 4, RABL 0.9.4pre1 and 0.9.3, Mongoid 4.0.0.beta1
In one controller I have an action like
``` ruby
def index
@bookmarks = current_user.bookmarks.includes(:channels, :user)
end
```
Whic…
-
At first I faced with an issue when I was using explicit render. The issue that my helper methods from controllers are now available inside rabl templates.
``` ruby
Rabl::Renderer.json(@paths, 'api/v…
-
Hi,
I've run into an issue that seems to be a "continuation" of https://github.com/gazay/gon/issues/26, which in turn seems related to https://github.com/nesquena/rabl/issues/19 and https://github.co…
-
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
-
Hi,
i noticed a strange behaviour using `cache_sources = true` (no other options set) and versioncake, not sure if it's a bug or i don't understand the cache_sources option.
example:
`update.rabl` is…
-
So I have my template in a namespaced Engine
`app/views/scheduler/schedules/show`
```
Rabl::Renderer.new(
'schedules/show',
@schedules,
view_path: 'app/views/scheduler',
format: :json
).rende…
-
I use rabl in sidekiq. but sometimes error has occurred
error_message is "Cannot find rabl template 'original_texts/original_text' within registered ([\"/home/deploy/chattingcat/releases/201308171330…
-
I'm using Rails 4.0.2, and want to background rendering of objects for cache warming, prior to a Controller action ever being hit for certain APIs.
When rendering a template from a Controller action,…
-
I would like to render a collection using the show.xml.rabl template of my object but rabl render this result:
```
```
If I call the show url, it render all fields correctly.
Here is the te…
-
Been pulling my hair out for a few hours but I bet there's a simple solution for this. I'm trying to re-use the 'show' template in my 'search' template.
search.rabl
```
collection @retailers
extend…