{"action":"created","issue":{"url":"https://api.github.com/repos/justinfrench/formtastic/issues/1142","labels_url":"https://api.github.com/repos/justinfrench/formtastic/issues/1142/labels{/name}","comments_url":"https://api.github.com/repos/justinfrench/formtastic/issues/1142/comments","events_url":"https://api.github.com/repos/justinfrench/formtastic/issues/1142/events","html_url":"https://github.com/justinfrench/formtastic/pull/1142","id":63117660,"number":1142,"title":"Discover fields on a form object not just ActiveRecord","user":{"login":"fernandes","id":517743,"avatar_url":"https://avatars.githubusercontent.com/u/517743?v=3","gravatar_id":"","url":"https://api.github.com/users/fernandes","html_url":"https://github.com/fernandes","followers_url":"https://api.github.com/users/fernandes/followers","following_url":"https://api.github.com/users/fernandes/following{/other_user}","gists_url":"https://api.github.com/users/fernandes/gists{/gist_id}","starred_url":"https://api.github.com/users/fernandes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fernandes/subscriptions","organizations_url":"https://api.github.com/users/fernandes/orgs","repos_url":"https://api.github.com/users/fernandes/repos","events_url":"https://api.github.com/users/fernandes/events{/privacy}","received_events_url":"https://api.github.com/users/fernandes/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":9,"created_at":"2015-03-19T23:41:46Z","updated_at":"2015-10-27T23:13:36Z","closed_at":"2015-10-27T23:07:23Z","pull_request":{"url":"https://api.github.com/repos/justinfrench/formtastic/pulls/1142","html_url":"https://github.com/justinfrench/formtastic/pull/1142","diff_url":"https://github.com/justinfrench/formtastic/pull/1142.diff","patch_url":"https://github.com/justinfrench/formtastic/pull/1142.patch"},"body":"WIP: Need to check the [Reform PR](https://github.com/apotonick/reform/pull/212), then I add tests and doc before merge, just opened this PR so we can discuss seeing some code.\r\n\r\nThis PR is related to https://github.com/justinfrench/formtastic/issues/1141\r\n\r\nMy proposal to solve the problem on the issue, without affecting the behavior with AR models, so this way I just add a method on Reform to expose the fields key, then formtastic can consume on its InputsHelper\r\n\r\n//cc @apotonick"},"comment":{"url":"https://api.github.com/repos/justinfrench/formtastic/issues/comments/151672128","html_url":"https://github.com/justinfrench/formtastic/pull/1142#issuecomment-151672128","issue_url":"https://api.github.com/repos/justinfrench/formtastic/issues/1142","id":151672128,"user":{"login":"fernandes","id":517743,"avatar_url":"https://avatars.githubusercontent.com/u/517743?v=3","gravatar_id":"","url":"https://api.github.com/users/fernandes","html_url":"https://github.com/fernandes","followers_url":"https://api.github.com/users/fernandes/followers","following_url":"https://api.github.com/users/fernandes/following{/other_user}","gists_url":"https://api.github.com/users/fernandes/gists{/gist_id}","starred_url":"https://api.github.com/users/fernandes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fernandes/subscriptions","organizations_url":"https://api.github.com/users/fernandes/orgs","repos_url":"https://api.github.com/users/fernandes/repos","events_url":"https://api.github.com/users/fernandes/events{/privacy}","received_events_url":"https://api.github.com/users/fernandes/received_events","type":"User","site_admin":false},"created_at":"2015-10-27T23:13:36Z","updated_at":"2015-10-27T23:13:36Z","body":":smile: "}}