Thanks, Pat. Unfortuantely the rails book (p184) implies lib/ is not the
place for this. It says that lib is for code that is not application
specific and that the directory is "vestigial". My code is application
specific and if using lib is deprecated then where else could i put this. I
suppose I could just keep the module in model/
Peter
On 11/13/05, Pat Maddox <pergesu-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
wrote:>
> Throw it in RAILS_ROOT/lib
>
>
> On 11/13/05, Peter Michaux
<petermichaux-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
> > Hi,
> >
> > I have a module with a method I would like to mixin with several
models.
> > Where is the simplest approved location to store this module. I know I
> could
> > do it with a plugin but this seems like overkill. Also this method in
> the
> > module interacts with other models so it would not be a stand alone
> plugin I
> > could share with other people.
> >
> > Thanks,
> > Peter
> >
> > _______________________________________________
> > Rails mailing list
> > Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org
> > http://lists.rubyonrails.org/mailman/listinfo/rails
> >
> >
> >
> _______________________________________________
> Rails mailing list
> Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org
> http://lists.rubyonrails.org/mailman/listinfo/rails
>
_______________________________________________
Rails mailing list
Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org
http://lists.rubyonrails.org/mailman/listinfo/rails