Closed shanshaji closed 6 years ago
I have a seats table with records more than 100, whenever i try to build json in index.json.jbuilder, it return two arrays Index.json.jbuilder
json.seats @seats do |seat| json.id seat.id json.name seat.name json.row_name seat.row_name json.is_open seat.is_open end
It's only returning a single array, but in my network logs it was truncating and showing it as two arrays.
I have a seats table with records more than 100, whenever i try to build json in index.json.jbuilder, it return two arrays Index.json.jbuilder