-
I am making extensive use of jQuery Datatables and they require JSON feeds in a specific format which Rabl can't provide. The issue is I need to return un-named arrays which I can't work out how to g…
-
I'm having quite a bit of trouble getting this right. I have a has_many :through association in which Users has many Groups and vice versa. The joining model, GroupUser, obviously has the `group_id` …
-
Hi.
When creating an object using respond_with, it renders the json or xml with status 201 (Created).
I think with rabl it just renders the template with the status code 200.
Is it a bug or a normal…
-
Given a controller action at app/controllers/posts_controller.rb
``` ruby
def test_rabl_renderer
@post = Post.find(params[:id])
@output = Rabl::Renderer.new("posts/test_rabl", @post, :view_pa…
-
ArgumentError at /hirefire/development/info
wrong number of arguments (2 for 1)
http://stackoverflow.com/questions/14553414/hirefire-isnt-working-with-heroku-delayed-job-mongoid-latest-versions
-
``` ruby
# bar.json.rabl
object false
extends "foo"
# foo.json.rabl
node(:baz) { "blah" }
```
This outputs
``` json
{}
```
How do I go about getting it work with `object` being `false`?
-
Hello,
It seems that the gem is discarding .rabl template views.
I have a method defined in an helper class which is tagged as unused by the gem but is in reality used in 2 of my .rabl template views…
-
Hi, I'm having a little trouble wrapping my head around how to use partials and extends correctly. I have a list of people, and I'd like to include pagination info with the JSON, so my frontend can …
-
I set a debug point on line 55 of lib/rabl/template.rb. When I `template.inspect` I get "app/views/attendee/show.rabl" which is correct, but `template.source` returns and empty string.
If I then do `…
-
I've been fighting with rabl in an attempt to get the desired json:
```
{
conversations: [
[
{ name: 'jud', avatar: 'https://blah' },
{ name: 'dan', avatar: 'https://blah' }
],
…