-
Hi,
I have a model that have some datetime fields, if I don't add them to the attributes list in rabl template, my json is build, but as soon that I add one of them, then I got a 500 error with Actio…
-
There's a problem using Rabl::Builder.partial, and the methods that depend on it, when using Rabl in an isolated Engine
The problems lies in Rabl::Helpers.fetch_source and the root_path variable, sinc…
-
If a view folder has multiple templates named similarly, for example:
```
app/views/widgets/basic.json.rabl
app/views/widgets/basic_admin.json.rabl
```
then using `extends 'widgets/basic'` uses `bas…
nixme updated
12 years ago
-
It would be nice if the rabl/jbuilder template could automatically use the same template as the controller action. This seems like a good behavior to preload some records into JavaScript which can the…
ryanb updated
12 years ago
-
I just wat to render a json object, but when i checked the log ,I find the orm excute twice query .
```
MONGODB (6ms) paike_development['paike_videos'].find({:loc=>{"$within"=>{"$center"=>[[116.306…
liwh updated
12 years ago
-
Here's the relevant files:
``` ruby
# app/controllers/api/v1/accounts_controller.rb
class Api::V1::AccountsController < Api::V1::ApplicationController
skip_before_filter :require_access_token, on…
-
Rabl 0.6.5
nesting node-statements inside a json.rabl template does not seem to generate the expected output:
```
node :outer do
node :attr1 do
"something"
end
node :attr2 do
"diffe…
tilo2 updated
12 years ago
-
First off, I'm using Rabl 0.5.0 on Rails 3.1.1. I don't have any sort of extra configuration settings turned on; no initializer file, I'm just using the defaults.
I want to adopt Rabl in our project …
-
Tilt template registration is hacked together right now. It works but needs some love: https://github.com/nesquena/rabl/blob/master/lib/rabl/register.rb
-
I have 2 templates as such:
index.json.rabl
```
collection @users
extends "users/user"
```
user.json.rabl
```
object @user
attributes :id, :name
```
I am trying to add some conditional logic in t…
cmer updated
12 years ago