Common Code Files

I'm new to ruby and rails. My question is, where in rails do you put
common classes that may be used in several controllers/models? For
example if I create a calendar library that does some fancy stuff for
me, where would that logically go?

Thanks a million.

I'm new to ruby and rails. My question is, where in rails do you put
common classes that may be used in several controllers/models? For
example if I create a calendar library that does some fancy stuff for
me, where would that logically go?

If you write them, they should go in /lib. If they come from an
external source, they should go into /vendor.

BTW, you might want to try asking things like this on the Ruby On
Rails irc channel or the mailing list (see
http://wiki.rubyonrails.com/rails/show/HomePage for info about both).

ยทยทยท

On Thu, 17 Mar 2005 06:24:51 +0900, smoon <scotty.moon@gmail.com> wrote:

Thanks a million.

--
thanks,
-pate
-------------------------
ParseTree is a little brown stinky ferret that digs down a hole and
violently rips the AST away from the warm bosom of ruby. In other
words, we cheat, they don't.