Sentry plugin causing migration to fail

I have an application that uses the Sentry plug-in. I am using Sentry
on my Users model for encrypting passwords. It works fine inside the
application, but whenever I call User.create in my migration (in order
to set-up a default user) I get the following error when I run the
migrations:

rake aborted!
undefined method `symmetrically_encrypts’ for User:Class

Has anyone experienced this before? Is there a way that I can include
the Sentry plug-in somewhere so that its methods are available during
migrations?

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs