Trait Database using Rails 4