Is there a way other than the DB to get messaging to the view while in a method in the model? I have an ajax routing that does some testing on some eqpt and I would like to provide some feedback in the view as to what is going on with the testing.
You generally need to periodically poll the server to find out what the status is. So you do need to store the status somewhere (usually the database) that can be accessed by a background ajax call that can update your browser UI.
Check out periodically_call_remote: http://api.rubyonrails.com/classes/ActionView/Helpers/PrototypeHelper.html#M000959
Hope this helps...?
Jeff
REST with Rails for beginners Oct 4, 2008 Austin, Texas http://www.purpleworkshops.com/workshops/rest-and-web-services