updated to latest version of rails, added in missing fields to models