fixing Rails I18n validation depreciation warning & category_name method