-
After installing bullet into my app I get the following error:
`Called id for nil, which would mistakenly be 4 -- if you really wanted the id of nil, use object_id`
As I've debugged this issue, I've …
-
Originally reported here: https://github.com/nesquena/rabl/issues/231#issuecomment-5783880
If you change it to `render('posts/index', formats: :json)`, you'll get this error:
``` shell
*** Running t…
-
I'm using Rabl with ICanHaz.js and would like to achieve the following json:
```
{
name: 'Joe',
product: function(){ return 2 * 4 }
}
```
I feel like there should be an easy solution I am missin…
-
Hello,
I've been using RABL to serve up APIs in both JSON and XML format. Originally I had separate files for each, with a common base file.
In order to avoid duplicate files, I figured out that by…
-
Sometimes when designing an API, it's good to give clients the ability to specify a more limited set of fields to return (e.g. Google, LinkedIn, Facebook) , or allow specifying additional fields (e.g.…
-
Using jbuilder (which I would prefer to use) I can render json correctly in the browser.
When using rabl I get the error shown below-
undefined local variable or method `json' for #Rabl::Engine:0x1…
-
Sequel model instances respond to :each, and thus fail the `is_object?(obj)` test:
helpers.rb
```
# Returns true if obj is not enumerable
# is_object?(@user) => true
# is_object?([]) => false
# is_o…
-
Is it possible to render a rabl template from a rake task? I have some background processes that need to send messages with rabl data. Thanks very much.
-
Nesquena,
Rabl is the bomb, i really like it and wanted to say thanks for putting it together!
With that said, i had some hardships with deploying to Heroku.
I followed your instructions in the re…
-
This may be a basic thing that I don't get yet about the asset pipeline. But for some reason even though I have the latest version of this gem installed – I am getting errors that when I debug in webk…