RailsCasts Pro episodes are now free!
Learn more or hide this
GitHub User: miggynascimento
when you're generating your models, don't forget to add the reference id of the parent model. aka:
class Task < ActiveRecord::Base belongs_to :project attr_accessible :description, :done, :project_id end
when you're generating your models, don't forget to add the reference id of the parent model. aka:
class Task < ActiveRecord::Base
belongs_to :project
attr_accessible :description, :done, :project_id
end