Hi, I''m trying to write a functional test, but I''m having problems pulling two sets of models from my post request. I know how to grab one model using "post :<action_name>, :<model> => { <params> }", but how do I do it if i have another model within that post? For example, I have a user_profile model and a user_settings model. The view has them as profile and settings. I''ve tried both "post :update, :profile => { junk_here}, :settings => { more_junk }" as one whole post and as "post :update, :profile => { junk_here}; post :update, :settings => { more_junk }" as two different requests. When i try to assert_valid assigns on my 2nd model, the model returns as nil. Is there something I am missing? Thanks! --~--~---------~--~----~------------~-------~--~----~ 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---