# Using my own ruby files & configuration data

**URL:** <https://www.ruby-forum.com/t/using-my-own-ruby-files-configuration-data/63370>\
**Category:** Rails\
**Created:** [June 14, 2006, 5:07pm UTC](https://www.ruby-forum.com/t/using-my-own-ruby-files-configuration-data/63370 "2006-06-14T17:07:56Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![medha](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/c77e96/32.png) [@medha](https://www.ruby-forum.com/u/medha)\
**Post date:** [June 14, 2006, 5:07pm UTC](https://www.ruby-forum.com/t/using-my-own-ruby-files-configuration-data/63370/1 "2006-06-14T17:07:56Z")

</div>

Hi,

In my ROR application, I want to use my own .rb files & also some  
configuration files like “data.yaml”.  
There are 2 ways I can store these files:  
(1) I can create a separate folder in ROR application hierarchy & store  
these files inside this folder.  
(2) I can also store them inside the folder say “lib” in the ROR  
application

Currently I am using first approach i.e. creating a seperate folder in  
ROR  
application hierarchy & storing these utility & configuration files in  
this  
folder & then having “require” statement in the appropriate controllers  
to  
make these utility & configuration files available, but just wanted to  
know  
whether this is the right way to do it.  
Is there any folder in the ROR application hierarchy which is meant to  
store  
such utility files?

Any inputs in this regards will be greatly appreciated.
