Re: [Rails] Re: Best practice organization of rails directories

2010-10-18 Thread David J. Hamilton
On Mon, Oct 18, 2010 at 10:25 AM, Pito Salas wrote: > Marnen Laibow-Koser wrote in post #955146: > >> Utility classes (that are not models) go in lib.  I don't see what the >> utility directory inside there gains you; lib is already utilities. > > To me lib/ implies a library used by the applicati

[Rails] Re: Best practice organization of rails directories

2010-10-18 Thread Pito Salas
Marnen Laibow-Koser wrote in post #955146: > Utility classes (that are not models) go in lib. I don't see what the > utility directory inside there gains you; lib is already utilities. To me lib/ implies a library used by the application. not part of the application itself, which is why I consi

[Rails] Re: Best practice organization of rails directories

2010-10-18 Thread Marnen Laibow-Koser
Pito Salas wrote in post #955126: > I have a few "outlier" cases of ruby files used by my rails app and am > trying to decide where to put them. > > 1. Models that are not ActiveRecord models. Suggestion: app/models There is a pernicious assumption among many Rails developers that models have to