bumped rails version to 4.1, incorporated safe_attributes gem for database fields like "active" or "type".