{"action":"closed","issue":{"url":"https://api.github.com/repos/lotus/model/issues/272","labels_url":"https://api.github.com/repos/lotus/model/issues/272/labels{/name}","comments_url":"https://api.github.com/repos/lotus/model/issues/272/comments","events_url":"https://api.github.com/repos/lotus/model/issues/272/events","html_url":"https://github.com/lotus/model/issues/272","id":124526074,"number":272,"title":"Booleans can't be dumped in repository","user":{"login":"SleeplessByte","id":1964376,"avatar_url":"https://avatars.githubusercontent.com/u/1964376?v=3","gravatar_id":"","url":"https://api.github.com/users/SleeplessByte","html_url":"https://github.com/SleeplessByte","followers_url":"https://api.github.com/users/SleeplessByte/followers","following_url":"https://api.github.com/users/SleeplessByte/following{/other_user}","gists_url":"https://api.github.com/users/SleeplessByte/gists{/gist_id}","starred_url":"https://api.github.com/users/SleeplessByte/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SleeplessByte/subscriptions","organizations_url":"https://api.github.com/users/SleeplessByte/orgs","repos_url":"https://api.github.com/users/SleeplessByte/repos","events_url":"https://api.github.com/users/SleeplessByte/events{/privacy}","received_events_url":"https://api.github.com/users/SleeplessByte/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":{"login":"jodosha","id":5089,"avatar_url":"https://avatars.githubusercontent.com/u/5089?v=3","gravatar_id":"","url":"https://api.github.com/users/jodosha","html_url":"https://github.com/jodosha","followers_url":"https://api.github.com/users/jodosha/followers","following_url":"https://api.github.com/users/jodosha/following{/other_user}","gists_url":"https://api.github.com/users/jodosha/gists{/gist_id}","starred_url":"https://api.github.com/users/jodosha/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jodosha/subscriptions","organizations_url":"https://api.github.com/users/jodosha/orgs","repos_url":"https://api.github.com/users/jodosha/repos","events_url":"https://api.github.com/users/jodosha/events{/privacy}","received_events_url":"https://api.github.com/users/jodosha/received_events","type":"User","site_admin":false},"milestone":null,"comments":1,"created_at":"2016-01-01T01:47:13Z","updated_at":"2016-01-01T19:37:20Z","closed_at":"2016-01-01T19:37:20Z","body":"```\r\nundefined method `dump' for TrueClass:Class\r\n```\r\n\r\nGiven the mapping\r\n```Ruby\r\ncollection :foos do\r\n  entity     Foo\r\n  repository FooRepository\r\n  attribute :bar, TrueClass\r\nend\r\n```\r\n\r\nAnd the creation\r\n```Ruby\r\n@foo = Foo.new( params[ :foo ] ) #form_for :foo\r\nFooRepository.create( @foo )\r\n```"}}