Top "Jbuilder" questions

JBuilder is a IDE for Java developed by Embarcadero Technologies.

Rails JSON API layouts with Jbuilder (or other)

In my rails 3.2 app, I'm using jbuilder to render responses from my JSON api. I want to provide a common …

ruby-on-rails json layout jbuilder
jbuilder with If Condition

I am trying to display a key-value pair on some condition in the jbuilder like as follows json.id plan.…

ruby-on-rails json ruby-on-rails-4 jbuilder
Render html partial in JSON JBuilder

I am rendering JSON of some students using JBuilder in Rails 4. I want each student to have a "html" attribute …

ruby-on-rails ruby ruby-on-rails-4 jbuilder
How to use RSpec with JBuilder?

I'm looking for a clean way to use JBuilder and test the json output with RSpec. The popular way for …

ruby-on-rails unit-testing rspec jbuilder
partial in Jbuilder is not working with associations

I am writing partials using jbuilder to return json data. I have an module in which I am returning data …

ruby-on-rails json partial-views jbuilder
Render a JBuilder view in html view

I've created a json view with JBuilder. But I want to preload this into a data object, so Backbone has …

ruby-on-rails-3 json jbuilder