Waiting for response from https://github.com/musybite to get permissions for https://rubygems.org/gems/flag_shih_tzu ...
Use class_attribute instead
* Installation is recommended via gem * Minimum ActiveRecord version: 2.3.x * Setup for travis-ci.org
(cherry picked from commit bb37eff)
(cherry picked from commit 1da64f1)
The main reason for this is that you can require the file with class multiple times and you don't want the system to raise exception if it's only another require.
…returned false because is_a? only works with instances of a class, not the class itself. Also added a test case that checks if FlagShihTzu handles missing tables gracefully.