ActiveRecord '#attributes' method improved