>
> Thanks for your thoughts. The above (my approach) fits so nicely with
> the single table inheritance in Rails without implementing a single
> line of code (except for the five lines above). With this, I get never
> above the multiple of 500 (or was it 5000?) lines of code to get a
> higher patrick.to_i value. But the #developer? (and alike) methods read
> better, right.
>
> Patrick
>
>

Of course, you asked a Ruby question, so you got a Ruby answer.
If you had asked a Rails question, you may have gotten a Rails answer.

You should be more specific about that fact, it would get better responses.