Skip to content

Instantly share code, notes, and snippets.

What would you like to do?

rake db:seed rake aborted! SystemStackError: stack level too deep

Most probably, you either:

  • use after_create, to make it call recursively ; or
  • call save! in before_create, to make it call recursively.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment