Hi.
I'm just trying out Ruby on Rails, and I'm trying to create some application that takes a hostname from the user and then checks if it is connectible through Net::SSH and if it is, it should check if a file is present.
Quite simple, and I also almost reached goal. But I can't seem to implement what should happen if Net::SSH.start fails?
I just get a big Rails error page with param dumps and stuff, but actually I'd just like to do a render :text => 'Hey couldn't connect dewd' or something.
How is that doable? Do I have to make my own error page of some kind?
Thank you.