# Sentry plugin causing migration to fail

**URL:** <https://www.ruby-forum.com/t/sentry-plugin-causing-migration-to-fail/112446>\
**Category:** Rails\
**Created:** [August 19, 2007, 3:01am UTC](https://www.ruby-forum.com/t/sentry-plugin-causing-migration-to-fail/112446 "2007-08-19T03:01:27Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![pond](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/p/7ab992/32.png) [@pond](https://www.ruby-forum.com/u/pond)\
**Post date:** [August 19, 2007, 3:01am UTC](https://www.ruby-forum.com/t/sentry-plugin-causing-migration-to-fail/112446/1 "2007-08-19T03:01:27Z")

</div>

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?
