Trait Database using Rails 3