Posts by Rafael Ferraro • 43 points
1 post
-
4
votes3
answers131
viewsQ: Problems with belongs_to when using Ajax in Rails 4
I have three models in my application, Order, Product and Items. Within Items I have the following code: class Item < ActiveRecord::Base belongs_to :product belongs_to :order end I have a form…