Questions tagged [jbuilder]

JBuilder is a IDE for Java developed by Embarcadero Technologies. It is also the name of a Ruby library for producing JSON.

JBuilder is a Java IDE from Embarcadero Technologies. It was originally developed by Borland in 1997, and now belongs to Embarcadero Technologies.

Jbuilder is also the name of a Ruby library that lets you "create JSON structures via a Builder-style DSL".

335 questions
-1
votes
1 answer

How to generate JSON data for chart in Jbuilder with Ruby on Rails

I´m trying create a file for a FLOT chart with next data: { 'label': 'Clicks', 'color': Colors.byName('purple-300'), data: [ ['1', 40], ['2', 50], ['12', 135]] } How can I create the data section…
hazardco
  • 387
  • 1
  • 4
  • 13
-1
votes
1 answer

Rails actions and jbuilder, why they have to be as difficult?

Rails drive me crazy. I'm trying to respond to with an action with JSON. My goal is to let be the JSON the only format for a response to a URL. Let's see some code. The Model is a Devise user, with some added field. The Controller is my…
RikyTres
  • 676
  • 9
  • 31
-1
votes
1 answer

Rendering json using json jbuilder in rails4

I have a rails4 app, where one of the controllers have a variable @data in my controller as follows: @data = { 2013 => {sal: 1000, exp: 400}, 2014 => {sal: 1170, exp: 460}, 2015 => {sal: 660, exp: 1120}, 2016 => {sal: 1030, exp: 540} } I…
JVK
  • 3,782
  • 8
  • 43
  • 67
-2
votes
1 answer

How to Convert jbuilder(jpx) project to eclipse new project

we have a jbuilder project which supports java 5. Need to convert this to latest version. Like to change the IDE to Eclipse too. The code is working in ongoing project need to reuse the same. Plz help on this
jermiya
  • 9
  • 1
  • 9
-2
votes
1 answer

How can I create one json object using Jbuilder.new

I'm using 'jbuilder' gem for creating Json. How can I create one Json that look like below {ranking: {"1-3" => 2,"4-10" => 3, "11-20" => 5 }} Description for hash I've some keywords in my db each keyword having its own ranks in google search…
mirajrjaee
  • 19
  • 4
1 2 3
22
23