if I get this right, in this line:
Mailing.create!(row.to_hash)
you want to add the :malinglist_id from params[:id]

that should work:
Mailing.create!(row.to_hash.merge!({:malinglist_id => params[:id]}))

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to