jbuilder icon indicating copy to clipboard operation
jbuilder copied to clipboard

Jbuilder: generate JSON objects with a Builder-style DSL

Results 60 jbuilder issues
Sort by recently updated
recently updated
newest added

I was doing some performance work and wondered whether Jbuilder was the culprit. After seeing some reports that Jbuilder can be quite slow I wondered whether the method_missing approach to...

feature

Just like ignore_nil! , can we have ignore! method which takes in a block. This can be useful if we don't want (empty strings, empty array, etc) in our JSON...

feature

_From @jung-hunsoo on January 30, 2017 10:9_ ### Steps to reproduce `$ rails g scaffold guest/category title description` ### Expected behavior While many new files being generated, three jbuilder templates...

bug
attached PR

In versions 2.5.0 and older you could do `json.cache! "key_name", expires_in: 10.minutes, force: force? do` where force? is a method that returns a boolean. If force was true then rails...

attached PR

We're looking into the performance of our jbuilder view implementation, and it would be nice to configure the cache store to something besides the Rails store (perhaps ActiveSupport::Cache::NullStore), at least...

feature

Regarding the issues brought up in #259... ### Motivation We'd like to make caching in JBuilder useful. Currently, caching does not offer significant performance benefits for pretty much any app....

The [README](https://github.com/rails/jbuilder/blob/master/README.md) mentions that >If you are rendering fragments for a collection of objects, have a look at `jbuilder_cache_multi` gem. It uses fetch_multi (>= Rails 4.1) to fetch multiple keys...

I know "deep_transform_keys" is method of rails. I want to apply deep_transform_keys to Hash. ### sample code ``` require 'jbuilder' Jbuilder.key_format camelize: :lower def jbuild(*args, &block) Jbuilder.new(*args, &block).attributes! end a...

I came up with a really strange issue tonight: The following snippet produces an error on the THRID request. The first and second requests result in the expected json. ```...

Commit 9dbce9c1 changed the template for the update action, adding a location header to the response. That's not correct behavior. The default Rails template, for example, does _not_ include such...