Carlos Gabaldon has a slick way of handling plan/feature matrices in this article on Plans, Features and Ruby DSL.
The approach is to encapsulate various features like “can have 15 open projects”, etc. into a ‘features’ table which can house the feature name, etc.

This allows you to do things like:
if some_model.has_feature?(:can_send_foo) # send the foo end
Nice!
Shanti A. Braford blogs here.
If you really want to know, just read this.




Shanti, thanks for the kind words and the post.