validating linked ActiveRecords without saving them in DB

User validates_associated :activity.

   @user = User.new(params[:user])
   @user.build_activity(params[:activity])
   if @user.save # saves both, runs in a transaction
     ...
   end

-- fxn