# Model Generation problems

**URL:** <https://www.ruby-forum.com/t/model-generation-problems/140008>\
**Category:** Rails\
**Created:** [June 10, 2008, 2:07am UTC](https://www.ruby-forum.com/t/model-generation-problems/140008 "2008-06-10T02:07:58Z")\
**Posts on this page:** 2\
**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:** [June 10, 2008, 2:07am UTC](https://www.ruby-forum.com/t/model-generation-problems/140008/1 "2008-06-10T02:07:58Z")

</div>

Hi guys,

I’m getting this error when trying to generate a model,

/Users/stillmotion/sandbox/rails/perx/vendor/rails/activerecord/  
lib/…/…/activesupport/lib/active\_support/dependencies.rb:491:in  
`const\_missing’: uninitialized constant  
ApplicationController::RoleRequirementSystem (NameError)

What’s up with that? Help would be greatly appreciated.

Thanks,

Levi

---

<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:** [June 10, 2008, 7:42am UTC](https://www.ruby-forum.com/t/model-generation-problems/140008/2 "2008-06-10T07:42:08Z")

</div>

What do you try and type in the command line to generate a Model?
