{"action":"created","issue":{"url":"https://api.github.com/repos/huacnlee/rails-settings-cached/issues/61","labels_url":"https://api.github.com/repos/huacnlee/rails-settings-cached/issues/61/labels{/name}","comments_url":"https://api.github.com/repos/huacnlee/rails-settings-cached/issues/61/comments","events_url":"https://api.github.com/repos/huacnlee/rails-settings-cached/issues/61/events","html_url":"https://github.com/huacnlee/rails-settings-cached/issues/61","id":89531564,"number":61,"title":"默认值存储为正则表达式，编辑页面的时候出错 Unknown default value type Regexp","user":{"login":"seaify","id":3056030,"avatar_url":"https://avatars.githubusercontent.com/u/3056030?v=3","gravatar_id":"","url":"https://api.github.com/users/seaify","html_url":"https://github.com/seaify","followers_url":"https://api.github.com/users/seaify/followers","following_url":"https://api.github.com/users/seaify/following{/other_user}","gists_url":"https://api.github.com/users/seaify/gists{/gist_id}","starred_url":"https://api.github.com/users/seaify/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/seaify/subscriptions","organizations_url":"https://api.github.com/users/seaify/orgs","repos_url":"https://api.github.com/users/seaify/repos","events_url":"https://api.github.com/users/seaify/events{/privacy}","received_events_url":"https://api.github.com/users/seaify/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-06-19T10:43:44Z","updated_at":"2015-06-19T10:44:07Z","closed_at":null,"body":"class Setting < RailsSettings::CachedSettings\r\n  defaults[:current_sms_verify_tpl_id] = 1\r\n  defaults[:mobile_regex_format] = /\\A1[3|4|5|8][0-9]\\d{8}\\z/\r\nend\r\n\r\n\r\nUnknown default value type Regexp\r\n\r\nExtracted source (around line #44):\r\n42\r\n43\r\n44\r\n45\r\n46\r\n47\r\n              \r\n      default_setting_value_type = RailsSettingsUi.settings_klass.defaults[name.to_sym].class\r\n      unless VALUE_TYPES_MAP.keys.include?(default_setting_value_type)\r\n        raise RailsSettingsUi::UnknownDefaultValueType, \"Unknown default value type #{default_setting_value_type}\"\r\n      end\r\n\r\n      setting_value_type_class = VALUE_TYPES_MAP[default_setting_value_type]\r\n"},"comment":{"url":"https://api.github.com/repos/huacnlee/rails-settings-cached/issues/comments/113469565","html_url":"https://github.com/huacnlee/rails-settings-cached/issues/61#issuecomment-113469565","issue_url":"https://api.github.com/repos/huacnlee/rails-settings-cached/issues/61","id":113469565,"user":{"login":"seaify","id":3056030,"avatar_url":"https://avatars.githubusercontent.com/u/3056030?v=3","gravatar_id":"","url":"https://api.github.com/users/seaify","html_url":"https://github.com/seaify","followers_url":"https://api.github.com/users/seaify/followers","following_url":"https://api.github.com/users/seaify/following{/other_user}","gists_url":"https://api.github.com/users/seaify/gists{/gist_id}","starred_url":"https://api.github.com/users/seaify/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/seaify/subscriptions","organizations_url":"https://api.github.com/users/seaify/orgs","repos_url":"https://api.github.com/users/seaify/repos","events_url":"https://api.github.com/users/seaify/events{/privacy}","received_events_url":"https://api.github.com/users/seaify/received_events","type":"User","site_admin":false},"created_at":"2015-06-19T10:44:07Z","updated_at":"2015-06-19T10:44:07Z","body":"@huacnlee @houndci  只有我碰到？"}}