Catching the table/database deletion case in a controller fo

Hi All,
I have created a empty rails app and created some controllers and
models using scaffold command
e.g.,ruby script\generate scaffold newrecipe

After creating some records suppose some user deleted the table/database
itself.
How to catch this case in a conroller of rails F/W?
Thanks for any early inputs.

With Regards,
-Nagendra Kumar