Prepare the database after rails initialization
This allows specjour to play friendly with other gems that are required to work with the database, specifically things like foreigner. Unfortunately, foreigner doesn't work very well when the database doesn't exist but that becomes a solvable problem with this patch.
|@@ -1,4 +1,6 @@|
|- require 'specjour/db_scrub'|
|+ Rails.configuration.after_initialize do|
|+ require 'specjour/db_scrub'|