# Rake task and custom code

**URL:** <https://www.ruby-forum.com/t/rake-task-and-custom-code/117782>\
**Category:** Rails\
**Created:** [October 20, 2007, 5:37am UTC](https://www.ruby-forum.com/t/rake-task-and-custom-code/117782 "2007-10-20T05:37:53Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![jeannibee](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/85e7bf/32.png) [@jeannibee](https://www.ruby-forum.com/u/jeannibee)\
**Post date:** [October 20, 2007, 5:37am UTC](https://www.ruby-forum.com/t/rake-task-and-custom-code/117782/1 "2007-10-20T05:37:53Z")

</div>

Hi

I have some classes I’ve created to perform some work on my site. I’d  
like them to be usable in my Controllers, and MORE specifically in my  
Rake Tasks.

Where should they be used so when I require / load them they are found?

Thanks.

---

<div class="post-metadata">

**Author:** ![jeannibee](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/85e7bf/32.png) [@jeannibee](https://www.ruby-forum.com/u/jeannibee)\
**Post date:** [October 20, 2007, 7:16am UTC](https://www.ruby-forum.com/t/rake-task-and-custom-code/117782/2 "2007-10-20T07:16:04Z")

</div>

lib
