Ruby on Rails - Render JSON for multiple models
I am trying to render results from more than one model in JSON. The following code in my controller only renders the first result set: def calculate_quote @moulding = Moulding.find(params[:...