Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP


Better warning when you used the incorrect class name in a seed file #40

gaffo opened this Issue · 1 comment

1 participant


If you have a User class and accidentally put the wrong name in the seed, for instance:


rake db:seed_fu outputs

uninitialized constant SeedFu::Runner::Users

Really it should output:

Unknown class Users, Make sure you use the model class name you are trying to seed.

Or maybe if it's plural, you could singularize it:

You are trying to seed with the plural class Users, and you have a User model, please use User in the seed file

I'll likely add this if I get enough use out of the gem

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.