adds rails4 compatibility
require should after rails so it loads correctly
keep testing with rails 3 after rails 4 is out
don't use deprecated call to find(:all)