lib/pseudocephalopod/slug.rb in pseudocephalopod-0.1.0 vs lib/pseudocephalopod/slug.rb in pseudocephalopod-0.2.0
- old
+ new
@@ -26,7 +26,11 @@
def self.remove_history_for(record)
for_record(record).delete_all
end
+ def self.usable?
+ table_exists? rescue false
+ end
+
end
end
\ No newline at end of file