# Utility Models/Classes

**URL:** <https://www.ruby-forum.com/t/utility-models-classes/113237>\
**Category:** Rails\
**Created:** [August 29, 2007, 4:58am UTC](https://www.ruby-forum.com/t/utility-models-classes/113237 "2007-08-29T04:58:16Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Meech](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/0ea827/32.png) [@Meech](https://www.ruby-forum.com/u/Meech)\
**Post date:** [August 29, 2007, 4:58am UTC](https://www.ruby-forum.com/t/utility-models-classes/113237/1 "2007-08-29T04:58:16Z")

</div>

I’ve created some utility classes that pull data from multiple  
models. Right now the class declarations are just tacked onto the  
bottom of the primary model, but I want to move them somewhere else –  
in a seperate .rb class.

I’d prefer not in lib, so I don’t have to restart rails for debugging/  
development.

I tried putting them in standalone files within the models directory  
but the other models can’t seem to find them (const missing)

Must they be ActiveRecord children? I’d prefer not to have the  
baggage.

I must be missing something simple here…
