# Restful\_authentication setup using aasm gem

**URL:** <https://www.ruby-forum.com/t/restful-authentication-setup-using-aasm-gem/166702>\
**Category:** Rails\
**Created:** [April 28, 2009, 6:13pm UTC](https://www.ruby-forum.com/t/restful-authentication-setup-using-aasm-gem/166702 "2009-04-28T18:13:54Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![pk16](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/p/b19c9b/32.png) [@pk16](https://www.ruby-forum.com/u/pk16)\
**Post date:** [April 28, 2009, 6:13pm UTC](https://www.ruby-forum.com/t/restful-authentication-setup-using-aasm-gem/166702/1 "2009-04-28T18:13:54Z")

</div>

Hi, I installed the restful\_authentication plugin using the aasm  
option instead of stateful and I can’t seem to get it working. I keep  
getting stating

Event ‘register’ cannot transition from ‘pending’

it appears to be from a lack of code in my user model that I believe  
installing restful\_authentication with stateful does for you. Does  
anyone have some notes they can share on how they configured this? I  
haven’t been able to find anything current on google.
