... if @specialty.save if request.xhr? @specialties = @home.specialties.find(:all) render :partial => 'speclist' else redirect_to :action=> "new", :id => @home end end end