rabl icon indicating copy to clipboard operation
rabl copied to clipboard

General ruby templating with json, bson, xml, plist and msgpack support

Results 100 rabl issues
Sort by recently updated
recently updated
newest added

I see in the documentation that we should be able to access instance variables in the rabl however it does not work for me. ``` def create_thing @stuff = {key:...

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...

Question

I've got the following call in Rails 4 `@obj = A.includes(B: { C: D}).find_by_uuid(params[:id])` Which works fine when viewing the SQL. The problem is the following RABL template creates multiple...

`gem install rabl` C:\Users\User\Documents\Projects\e_commerce>gem install rabl ERROR: While executing gem ... (Errno::EACCES) Permission denied @ rb_file_s_symlink - (fixtures/ashared/views_rails_3/users/phone_number.json.rabl, C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/rabl-0.14.3/fixtures/ashared/views_rails_3/users/phone_number.xml.rabl)

I have 2 different rabl templates and their actual outputs are provided below. ### File 1: test.rabl ```ruby object false child @test_objects => :test_objects do attribute :object_id end node(false) do...

https://github.com/nesquena/rabl/blob/02b3464a6dfb27a4a34365303974604688d7eb2b/lib/rabl/configuration.rb#L22 This line causes a lot of trouble for anyone using `Oj` and requiring `rabl` after having set `Oj` themselves: ```ruby Oj.default_options = my = { mode: :strict } require...

Hi, I'm struggling with some issue and not sure how to get out of it: Here is my `labels/index.rabl` ``` collection @labels attribute :id, :name ``` When I do next...

To give a brief intro, the relationships between models used here are: 'Classification' has many 'Standards' and 'Standard' has many 'Sections'. I wanted to use a single rabl file for...

I am using [grape-swagger](https://github.com/ruby-grape/grape-swagger) and [swagger-ui](https://github.com/swagger-api/swagger-ui) for documentation of REST APIs in my RAILS application. I would like to document the response examples for the APIs. I couldn't find a...