{"action":"created","issue":{"url":"https://api.github.com/repos/apotonick/disposable/issues/16","labels_url":"https://api.github.com/repos/apotonick/disposable/issues/16/labels{/name}","comments_url":"https://api.github.com/repos/apotonick/disposable/issues/16/comments","events_url":"https://api.github.com/repos/apotonick/disposable/issues/16/events","html_url":"https://github.com/apotonick/disposable/pull/16","id":113953865,"number":16,"title":"Require ostruct","user":{"login":"monkbroc","id":1919681,"avatar_url":"https://avatars.githubusercontent.com/u/1919681?v=3","gravatar_id":"","url":"https://api.github.com/users/monkbroc","html_url":"https://github.com/monkbroc","followers_url":"https://api.github.com/users/monkbroc/followers","following_url":"https://api.github.com/users/monkbroc/following{/other_user}","gists_url":"https://api.github.com/users/monkbroc/gists{/gist_id}","starred_url":"https://api.github.com/users/monkbroc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/monkbroc/subscriptions","organizations_url":"https://api.github.com/users/monkbroc/orgs","repos_url":"https://api.github.com/users/monkbroc/repos","events_url":"https://api.github.com/users/monkbroc/events{/privacy}","received_events_url":"https://api.github.com/users/monkbroc/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-10-29T00:21:30Z","updated_at":"2015-11-19T21:28:49Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/apotonick/disposable/pulls/16","html_url":"https://github.com/apotonick/disposable/pull/16","diff_url":"https://github.com/apotonick/disposable/pull/16.diff","patch_url":"https://github.com/apotonick/disposable/pull/16.patch"},"body":"I got this error while using Trailblazer from the console:\r\n\r\n```\r\nNameError: uninitialized constant Disposable::Twin::Sync::SkipGetter::OpenStruct\r\n\tfrom /home/monkbroc/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/disposable-0.1.14/lib/disposable/twin/sync.rb:146:in `nested_hash_source'\r\n\tfrom /home/monkbroc/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/disposable-0.1.14/lib/disposable/twin/sync.rb:66:in `to_nested_hash'\r\n\tfrom /home/monkbroc/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/disposable-0.1.14/lib/disposable/twin/sync.rb:22:in `sync_models'\r\n\tfrom /home/monkbroc/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/disposable-0.1.14/lib/disposable/twin/save.rb:5:in `save'\r\n\tfrom (irb):36:in `block in process'\r\n\tfrom /home/monkbroc/Programming/gems/trailblazer/lib/trailblazer/operation.rb:123:in `validate'\r\n\tfrom (irb):35:in `process'\r\n\tfrom /home/monkbroc/Programming/gems/trailblazer/lib/trailblazer/operation.rb:71:in `run'\r\n\tfrom /home/monkbroc/Programming/gems/trailblazer/lib/trailblazer/operation.rb:34:in `call'\r\n```\r\n\r\nThe `require 'ostruct'` is missing from this file."},"comment":{"url":"https://api.github.com/repos/apotonick/disposable/issues/comments/158203358","html_url":"https://github.com/apotonick/disposable/pull/16#issuecomment-158203358","issue_url":"https://api.github.com/repos/apotonick/disposable/issues/16","id":158203358,"user":{"login":"apotonick","id":10406,"avatar_url":"https://avatars.githubusercontent.com/u/10406?v=3","gravatar_id":"","url":"https://api.github.com/users/apotonick","html_url":"https://github.com/apotonick","followers_url":"https://api.github.com/users/apotonick/followers","following_url":"https://api.github.com/users/apotonick/following{/other_user}","gists_url":"https://api.github.com/users/apotonick/gists{/gist_id}","starred_url":"https://api.github.com/users/apotonick/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/apotonick/subscriptions","organizations_url":"https://api.github.com/users/apotonick/orgs","repos_url":"https://api.github.com/users/apotonick/repos","events_url":"https://api.github.com/users/apotonick/events{/privacy}","received_events_url":"https://api.github.com/users/apotonick/received_events","type":"User","site_admin":false},"created_at":"2015-11-19T21:28:49Z","updated_at":"2015-11-19T21:28:49Z","body":"Haha, true @krainboltgreene.\r\n\r\nAnyway, for now OStruct is totally fine as it's only used when calling `sync` or `save` with block in combination with `SkipGetter`. This is default in Reform, but I doubt that it will result in performance problems. Thanks @monkbroc "}}