You must have accepts_nested_attributes_for in the Project model in order for the object to be passed.
class Project < ActiveRecord::Base
has_many :tasks
accepts_nested_attributes_for :tasks ## this is required
end
You must have accepts_nested_attributes_for in the Project model in order for the object to be passed.
class Project < ActiveRecord::Base
has_many :tasks
accepts_nested_attributes_for :tasks ## this is required
end