Handle coustom util classes

Hi All,

I am new to Ruby, Basically am a java developer. I have webservice, i want to create a view which access the webservice and display result. For that i want to create a util class which access webservice and then access that class in view. so any one can give me an idea how to do this and where do i need to place all this files in ruby on rails.

Thanks in advance Chinna.

Try the RAILS_ROOT/lib directory in your rails application. You should have access to it in the view as well as other sections.