usually, I just use this way. ===== @weather = mock_model(Weather) ===== but recently I saw this. so what's the :to_param and :save options meaning? ====== @weather = mock_model(Weather, :to_param => "1", :save => true) ====== -- Posted via http://www.ruby-forum.com/.