Fix Rails loading errors by allowing a string

Fixes #103

ping @Hammadk @csaunders