From: pat eyler Date: 2005-03-17T06:46:48+09:00 Subject: Re: Common Code Files On Thu, 17 Mar 2005 06:24:51 +0900, smoon wrote: > 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). > > 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.