What is the error? The code you show seems fine.
–
Jakub HamplMay 16 '10 at 1:45

When I try to show a list of all the Emails that are "overdue", I get an "expect 1 attribute)" or something error. It gets fixed when i edit the newly created contact_email and save, which creates a created_date and sent_date. Then the error goes away, but I don't use those dates...I guess i could just add it in the controller to see...?
–
AngelaMay 16 '10 at 16:34

1 Answer
1

You should definately NOT assign all of the params separately. Use a form in the view for contact_email and
@contact_email = ContactEmail.new(params[:contact_email]) in controller. Though having "skipped" assigned separately is ok

Define you routes correctly. In this case
map.resources :contact_emails, :member => {:skip => :post}
And everything should be just fine