can_be 0.2.0
CanBe allows you to track the type of your ActiveRecord model in a consistent simple manner. With just a little configuration on your part, each type of record can contain different attributes that are specifc to that type of record.
Gemfile:
=
安裝:
=
Runtime 相依性套件 (2):
activerecord
~> 3.1
activesupport
~> 3.1