Kyle Hargraves
Kyle Hargraves
I don't work on any apps that use apiauth these days. PRs welcome. =)
This is related to #11 and my failed PR #18; it's another place where the only way I know of to make this happen is to hack into AR internals....
Meanwhile, you can hack around this if need be by changing `LookupModel.count` to `LookupModel.calculate(:count)`.
This previously came up in #3, and at the time the best I could come up with was to allow opting out of yard-mode's eldoc support: https://github.com/pd/yard-mode.el/commit/aa303f6f1c348cbee1dbab3be2ad04b0aaa590cf Both modes are...
Actually, here's a quick hack that will display the yard eldoc only when in a yard comment, and fall back to robe's eldoc if the function is available. This seems...
It's unclear to me exactly why strict mode exists. Since at least draft-02, there has been an `additionalProperties` schema property that: - if `false`, only properties explicitly defined in the...
It's not clear to me why initialize_data is trying to load remote data at all; shouldn't we _only_ fetch a URI if there's a schema we're trying to load from...
The test that is triggering this is here: https://github.com/json-schema/JSON-Schema-Test-Suite/blob/develop/tests/draft4/optional/format.json#L23-L42 That entire file is based around the premise that the validator can be run on arbitrary JSON types; I think we...
Possible option: ``` ruby require 'json' JSON.parse('1') #=> JSON::ParserError: A JSON text must at least contain two octets! JSON.parse('"http://foo.com"') #=> JSON::ParserError: 757: unexpected token at '"http://foo.com"' JSON.load('1') #=> 1 JSON.load('"http://foo.com"')...
> I think that (maybe for v3) validate should assume it's a string to be validated. I was thinking basically the opposite; that we should expect to receive ruby objects...