-
When returning approx ~1400 records with only a few attributes, we discovered that using extends almost tripled the render time.
If we move the contents of base.rabl into index.rabl it goes from ~2…
-
If I'm correct, Rabl is caching nested templates as hash objects instead of caching the final output and weaving them together. So we're incurring a stiff parsing overhead that only increases with lar…
-
I'm trying to replicate our current Will Paginate set up but using RABL templates but I'm finding it impossible to set the object root of the 'entries' collection to be 'follow'. I've tried adding :ob…
-
I created a hook script for the 'config_report' object:
`config/hooks/config_report/after_create/10-test.sh`
The hook script works (check report status and sends update to our monitoring system vi…
-
If I want to render a partial that does not require an object, like:
``` ruby
# some_template.json.rabl
node(:common) do
# I cannot do like this
# partial('common/duration_units')
# and like th…
-
After updating from `4.x` version to the latest `5.0.4` I'v got several failed tests, but those features on application frontend seems to be worked. I investigated and found the reason of issues and s…
cheef updated
10 years ago
-
So, I have the inflection `inflect.irregular 'lesson_progress', 'lessons_progresses'` but collections in rabl ignore this inflection and singularize `lessons_progresses` to `lessons_progress`.
-
I am not really sure if this is the right place for my issue (maybe https://github.com/jonleighton/spring or rack-test is the correct one).
I tried to improve my testing experience by introducing spr…
-
Jbuilder partial doesn't seem to be working. I'm receiving this error:
`undefined local variable or method `item' for Gon::Jbuilder:Module`
---
show.json.jbuilder
```
json.partial! 'items/item', c…
-
Hi everyone! I have a questions about structuring my RABL JSON output.
I have the following snippet of RABL:
```
node :subviews do |obj|
obj.subviews.map do |subview|
partial 'kb_view/base', o…