{"action":"opened","issue":{"url":"https://api.github.com/repos/SchemaPlus/schema_monkey/issues/13","repository_url":"https://api.github.com/repos/SchemaPlus/schema_monkey","labels_url":"https://api.github.com/repos/SchemaPlus/schema_monkey/issues/13/labels{/name}","comments_url":"https://api.github.com/repos/SchemaPlus/schema_monkey/issues/13/comments","events_url":"https://api.github.com/repos/SchemaPlus/schema_monkey/issues/13/events","html_url":"https://github.com/SchemaPlus/schema_monkey/issues/13","id":162596445,"number":13,"title":"Incompatible with migration_comments","user":{"login":"allenwq","id":4983239,"avatar_url":"https://avatars.githubusercontent.com/u/4983239?v=3","gravatar_id":"","url":"https://api.github.com/users/allenwq","html_url":"https://github.com/allenwq","followers_url":"https://api.github.com/users/allenwq/followers","following_url":"https://api.github.com/users/allenwq/following{/other_user}","gists_url":"https://api.github.com/users/allenwq/gists{/gist_id}","starred_url":"https://api.github.com/users/allenwq/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/allenwq/subscriptions","organizations_url":"https://api.github.com/users/allenwq/orgs","repos_url":"https://api.github.com/users/allenwq/repos","events_url":"https://api.github.com/users/allenwq/events{/privacy}","received_events_url":"https://api.github.com/users/allenwq/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-06-28T03:46:07Z","updated_at":"2016-06-28T03:46:07Z","closed_at":null,"body":"We use https://github.com/pinnymz/migration_comments together with schama_plus, but there are certain issues.\r\n\r\nAfter 2.1.2:\r\n    `$ rake db:migrate`:\r\n```\r\nNoMethodError: private method `print' called for nil:NilClass\r\nDid you mean?  printf\r\n               sprintf\r\n/.rvm/gems/ruby-2.3.0@4.2/gems/migration_comments-0.4.1/lib/migration_comments/active_record/schema_dumper.rb:12:in `table'\r\n/.rvm/gems/ruby-2.3.0@4.2/gems/activerecord-4.2.6/lib/active_record/schema_dumper.rb:97:in `block in tables'\r\n/.rvm/gems/ruby-2.3.0@4.2/gems/activerecord-4.2.6/lib/active_record/schema_dumper.rb:96:in `each'\r\n/.rvm/gems/ruby-2.3.0@4.2/gems/activerecord-4.2.6/lib/active_record/schema_dumper.rb:96:in `tables'\r\n/.rvm/gems/ruby-2.3.0@4.2/gems/schema_plus_core-1.0.1/lib/schema_plus/core/active_record/schema_dumper.rb:43:in `block in tables'\r\n/.rvm/gems/ruby-2.3.0@4.2/gems/modware-0.1.3/lib/modware/stack.rb:54:in `call_implementation'\r\n/.rvm/gems/ruby-2.3.0@4.2/gems/modware-0.1.3/lib/modware/stack.rb:84:in `_modware_continue'\r\n/.rvm/gems/ruby-2.3.0@4.2/gems/modware-0.1.3/lib/modware/stack.rb:76:in `_modware_call'\r\n/.rvm/gems/ruby-2.3.0@4.2/gems/modware-0.1.3/lib/modware/stack.rb:82:in `_modware_continue'\r\n/.rvm/gems/ruby-2.3.0@4.2/gems/modware-0.1.3/lib/modware/stack.rb:76:in `_modware_call'\r\n/.rvm/gems/ruby-2.3.0@4.2/gems/modware-0.1.3/lib/modware/stack.rb:82:in `_modware_continue'\r\n/.rvm/gems/ruby-2.3.0@4.2/gems/modware-0.1.3/lib/modware/stack.rb:76:in `_modware_call'\r\n/.rvm/gems/ruby-2.3.0@4.2/gems/modware-0.1.3/lib/modware/stack.rb:43:in `execute'\r\n/.rvm/gems/ruby-2.3.0@4.2/gems/modware-0.1.3/lib/modware/stack.rb:19:in `start'\r\n/.rvm/gems/ruby-2.3.0@4.2/gems/schema_monkey-2.1.2/lib/schema_monkey/stack.rb:34:in `start'\r\n/.rvm/gems/ruby-2.3.0@4.2/gems/schema_plus_core-1.0.1/lib/schema_plus/core/active_record/schema_dumper.rb:42:in `tables'\r\n/.rvm/gems/ruby-2.3.0@4.2/gems/activerecord-4.2.6/lib/active_record/schema_dumper.rb:38:in `dump'\r\n/.rvm/gems/ruby-2.3.0@4.2/gems/schema_plus_core-1.0.1/lib/schema_plus/core/active_record/schema_dumper.rb:17:in `dump'\r\n/.rvm/gems/ruby-2.3.0@4.2/gems/activerecord-4.2.6/lib/active_record/schema_dumper.rb:22:in `dump'\r\n/.rvm/gems/ruby-2.3.0@4.2/gems/activerecord-4.2.6/lib/active_record/railties/databases.rake:240:in `block (4 levels) in <top (required)>'\r\n/.rvm/gems/ruby-2.3.0@4.2/gems/activerecord-4.2.6/lib/active_record/railties/databases.rake:239:in `open'\r\n/.rvm/gems/ruby-2.3.0@4.2/gems/activerecord-4.2.6/lib/active_record/railties/databases.rake:239:in `block (3 levels) in <top (required)>'\r\n/.rvm/gems/ruby-2.3.0@4.2/gems/activerecord-4.2.6/lib/active_record/railties/databases.rake:52:in `block (2 levels) in <top (required)>'\r\n/.rvm/gems/ruby-2.3.0@4.2/gems/activerecord-4.2.6/lib/active_record/railties/databases.rake:45:in `block (2 levels) in <top (required)>'\r\n/.rvm/gems/ruby-2.3.0@4.2/gems/rake-11.2.2/exe/rake:27:in `<top (required)>'\r\n/.rvm/gems/ruby-2.3.0@4.2/bin/ruby_executable_hooks:15:in `eval'\r\n/.rvm/gems/ruby-2.3.0@4.2/bin/ruby_executable_hooks:15:in `<main>'\r\nTasks: TOP => db:schema:dump\r\n```\r\n\r\n\r\nafter 2.1.5:\r\n    `$ rake db:migrate`:\r\n```\r\nNameError: undefined local variable or method `its' for #<Modware::Stack::Middleware:0x007fd503d6e928>\r\n/.rvm/gems/ruby-2.3.0@4.2/gems/schema_plus_enums-0.1.3/lib/schema_plus/enums/middleware.rb:10:in `after'\r\n/.rvm/gems/ruby-2.3.0@4.2/gems/modware-0.1.3/lib/modware/stack.rb:46:in `block in execute'\r\n/.rvm/gems/ruby-2.3.0@4.2/gems/modware-0.1.3/lib/modware/stack.rb:45:in `each'\r\n/.rvm/gems/ruby-2.3.0@4.2/gems/modware-0.1.3/lib/modware/stack.rb:45:in `execute'\r\n/.rvm/gems/ruby-2.3.0@4.2/gems/modware-0.1.3/lib/modware/stack.rb:19:in `start'\r\n/.rvm/gems/ruby-2.3.0@4.2/gems/schema_monkey-2.1.5/lib/schema_monkey/stack.rb:34:in `start'\r\n/.rvm/gems/ruby-2.3.0@4.2/gems/schema_plus_core-1.0.1/lib/schema_plus/core/active_record/schema_dumper.rb:34:in `extensions'\r\n/.rvm/gems/ruby-2.3.0@4.2/gems/activerecord-4.2.6/lib/active_record/schema_dumper.rb:37:in `dump'\r\n/.rvm/gems/ruby-2.3.0@4.2/gems/schema_plus_core-1.0.1/lib/schema_plus/core/active_record/schema_dumper.rb:17:in `dump'\r\n/.rvm/gems/ruby-2.3.0@4.2/gems/activerecord-4.2.6/lib/active_record/schema_dumper.rb:22:in `dump'\r\n/.rvm/gems/ruby-2.3.0@4.2/gems/activerecord-4.2.6/lib/active_record/railties/databases.rake:240:in `block (4 levels) in <top (required)>'\r\n/.rvm/gems/ruby-2.3.0@4.2/gems/activerecord-4.2.6/lib/active_record/railties/databases.rake:239:in `open'\r\n/.rvm/gems/ruby-2.3.0@4.2/gems/activerecord-4.2.6/lib/active_record/railties/databases.rake:239:in `block (3 levels) in <top (required)>'\r\n/.rvm/gems/ruby-2.3.0@4.2/gems/activerecord-4.2.6/lib/active_record/railties/databases.rake:52:in `block (2 levels) in <top (required)>'\r\n/.rvm/gems/ruby-2.3.0@4.2/gems/activerecord-4.2.6/lib/active_record/railties/databases.rake:45:in `block (2 levels) in <top (required)>'\r\n/.rvm/gems/ruby-2.3.0@4.2/gems/rake-11.2.2/exe/rake:27:in `<top (required)>'\r\n/.rvm/gems/ruby-2.3.0@4.2/bin/ruby_executable_hooks:15:in `eval'\r\n/.rvm/gems/ruby-2.3.0@4.2/bin/ruby_executable_hooks:15:in `<main>'\r\nTasks: TOP => db:schema:dump\r\n```"}}
{"actor":{"display_login":"allenwq"}}