23 Jun '12, 1am

has_many :through - A simple alternative to namespaced models:

A project I'm working on now is up to 57 model classes and is still growing. That's a lot of classes - welcome to domain modeling. In my opinion, the number of classes is a fair tradeoff that keeps each class simple enough to understand. In some ways it moves complexity out of the model class internals into the inheritance hierarchy, which is an important part of object-oriented design. I've worked on projects with many more model classes than that too. (Financial applications seem to require a lot of classes to model the complicated workflow and permission systems.) The place where it starts to get hard to manage is when I look at the file system and see so many files in one directory. My brain usually starts to overload when I see more than a dozen or so classes in a directory. My first inclination is to throw some related class files into a subdirectory. The problem is ...

Full article: http://blog.hasmanythrough.com/2008/5/6/a-simple-alternat...

Tweets

Plasticx Blog : Rails Models in a Namespace:

plasti.cx 23 Jun '12, 1am

If you are starting to get a cluttered model space in your Rails application you should consider placing your models in a ...

nyctaxiphoto: Taxi Models: Past

nyctaxiphoto: Taxi Models: Past

nyctaxiphoto.com 25 Jun '12, 12pm

The colt like love for the large american car and the monopoly that they had over police and taxi markets possessed an ent...

nyctaxiphoto: Taxi Models: Present

nyctaxiphoto: Taxi Models: Present

nyctaxiphoto.com 25 Jun '12, 12pm

The Ford Freestar was the first of New York's wheelchair accessible cabs. Occasionally I see one still being used so there...

Investing Made Simple by Uncle8888 (34)

thefinance.sg 23 Jun '12, 11pm

Investing Made Simple by Uncle8888 (34) by Createwealth8888 on June 23, 2012 Read? Investing Made Simple by Uncle8888 (33)...

beaver (1.3.0): A simple DSL and command-line t...

rubygems.org 25 Jun '12, 1am

A simple DSL and command-line tool for discovering what people are up to in your Rails app

Alternative to Flippa coming soon: So we've see...

blackhatworld.com 23 Jun '12, 9pm

So we've seen a recent upset in the BHW community over scam sites being sold on Flippa that are claiming established reven...

Une consécration simple #lol

rubygems.org 02 Jul '12, 2pm

korben 0.0.2 Simple helper for configuration install gem install korben Download Documentation Subscribe Stats Authors Joe...