# A bug of Login Generator?

**URL:** <https://www.ruby-forum.com/t/a-bug-of-login-generator/111246>\
**Category:** Rails\
**Created:** [August 4, 2007, 10:17am UTC](https://www.ruby-forum.com/t/a-bug-of-login-generator/111246 "2007-08-04T10:17:57Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![casper\_the\_ghost](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/58956e/32.png) [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Post date:** [August 4, 2007, 10:17am UTC](https://www.ruby-forum.com/t/a-bug-of-login-generator/111246/1 "2007-08-04T10:17:57Z")

</div>

I used the Login Generator to generate the login system. And then  
I wanna add sth in to the “User” class(It’s generated by the Login  
Generator). But every method I add didn’t work at all. When I call  
the mothed in a controller, a error comes(NoMethodError).  
How can I add my own Method and get it work?
