Posts by Gustavo Araújo • 11 points
1 post
-
1
votes2
answers135
viewsQ: How to create a model from another model?
I have two models. One called User and the other called Professional, where: #user.rb class User < ActiveRecord::Base has_one :professional accepts_nested_attributes_for :professional end and…