Change find_by_setting to use get function