Is it possible to pass predefined arguments along with a form with
form_for? i.e. an id etc?
I have a task model with usual title, completed(bool), duedate and a
foreign key field called project_id (a project has many tasks). On one
view i want to have an “express add task” form i.e. there is only one
field to fill in for the title. The rest of the attributes I want to set
to some default values. The problem is this form will be sent to a
As the user only submits a title ill also need the project_id which is
known is available in the view…is there anyway i can pass this along
with the form?