method

view_exists?

view_exists?(view_name)
public

Checks to see if the view view_name exists on the database.

view_exists?(:ebooks)