payload: {"action":"created","issue":{"url":"https://api.github.com/repos/cucumber/cucumber-rails/issues/278","repository_url":"https://api.github.com/repos/cucumber/cucumber-rails","labels_url":"https://api.github.com/repos/cucumber/cucumber-rails/issues/278/labels{/name}","comments_url":"https://api.github.com/repos/cucumber/cucumber-rails/issues/278/comments","events_url":"https://api.github.com/repos/cucumber/cucumber-rails/issues/278/events","html_url":"https://github.com/cucumber/cucumber-rails/issues/278","id":28324359,"node_id":"MDU6SXNzdWUyODMyNDM1OQ==","number":278,"title":"cucumber.rake should execute db:test:clone not test:prepare","user":{"login":"kramerdog","id":5235525,"node_id":"MDQ6VXNlcjUyMzU1MjU=","avatar_url":"https://avatars1.githubusercontent.com/u/5235525?v=4","gravatar_id":"","url":"https://api.github.com/users/kramerdog","html_url":"https://github.com/kramerdog","followers_url":"https://api.github.com/users/kramerdog/followers","following_url":"https://api.github.com/users/kramerdog/following{/other_user}","gists_url":"https://api.github.com/users/kramerdog/gists{/gist_id}","starred_url":"https://api.github.com/users/kramerdog/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kramerdog/subscriptions","organizations_url":"https://api.github.com/users/kramerdog/orgs","repos_url":"https://api.github.com/users/kramerdog/repos","events_url":"https://api.github.com/users/kramerdog/events{/privacy}","received_events_url":"https://api.github.com/users/kramerdog/received_events","type":"User","site_admin":false},"labels":[{"id":1372366379,"node_id":"MDU6TGFiZWwxMzcyMzY2Mzc5","url":"https://api.github.com/repos/cucumber/cucumber-rails/labels/Awaiting%20feedback%20-%20reporter","name":"Awaiting feedback - reporter","color":"8ebfe2","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":9,"created_at":"2014-02-26T10:53:27Z","updated_at":"2019-05-29T08:23:41Z","closed_at":null,"author_association":"NONE","body":"As I just mentioned in $277 I did a \n      rails generate cucumber:install \non a new Rails 4 project today and couldnt work out why running rake cucumber didnt rebuild my test database\n\nIt took me ages to figure out but it seems that the Rails team have silently restructured the way that all of the Rake tasks work for cloning the structure of the development database to a freshly built test database.\n\nFrom what I can tell the test:prepare task used to rebuild the test database. Now it appears from \n...\\lib\\ruby\\gems\\2.0.0\\gems\\activerecord-4.0.3\\lib\\active_record\\railties\\databases.rake\n\nthat prepare is now only the task to 'Check for pending migrations and load the test schema'\n\nI had to update all occurrences of test:prepare in cucumber.rake, such as in:\n\n```\nCucumber::Rake::Task.new({:wip => 'test:prepare'}, 'Run features that are being worked on') do |t|\n  t.binary = vendored_cucumber_bin\n  t.fork = true # You may get faster startup if you set this to false\n  t.profile = 'wip'\nend\n```\n\nwith db:test:clone to get rake cucumber to rebuild my test database prior to running mu cucumber features.\n\nSo shouldn't the cucumber.rake task generated now be using db:test:clone?\n\nI should note that I am using\n\n```\nconfig.active_record.schema_format = :sql\n```\n\nin application.rb\n\nand also had to add the line to application.rb:\n\nActiveRecord::Base.schema_format = config.active_record.schema_format\n\nas a workaround as ActiveRecord::Base.schema_format was still being evaluated as :ruby in the clone task of databases.rake and is supposed to evaluate as :sql as a result of my config setting\n\nruby 2.0.0p353\nrails 4.0.3\ncucumber 1.3.10\ncucumber-rails 1.4.0\nOS Win64\n"},"comment":{"url":"https://api.github.com/repos/cucumber/cucumber-rails/issues/comments/496836849","html_url":"https://github.com/cucumber/cucumber-rails/issues/278#issuecomment-496836849","issue_url":"https://api.github.com/repos/cucumber/cucumber-rails/issues/278","id":496836849,"node_id":"MDEyOklzc3VlQ29tbWVudDQ5NjgzNjg0OQ==","user":{"login":"luke-hill","id":20105237,"node_id":"MDQ6VXNlcjIwMTA1MjM3","avatar_url":"https://avatars2.githubusercontent.com/u/20105237?v=4","gravatar_id":"","url":"https://api.github.com/users/luke-hill","html_url":"https://github.com/luke-hill","followers_url":"https://api.github.com/users/luke-hill/followers","following_url":"https://api.github.com/users/luke-hill/following{/other_user}","gists_url":"https://api.github.com/users/luke-hill/gists{/gist_id}","starred_url":"https://api.github.com/users/luke-hill/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/luke-hill/subscriptions","organizations_url":"https://api.github.com/users/luke-hill/orgs","repos_url":"https://api.github.com/users/luke-hill/repos","events_url":"https://api.github.com/users/luke-hill/events{/privacy}","received_events_url":"https://api.github.com/users/luke-hill/received_events","type":"User","site_admin":false},"created_at":"2019-05-29T08:23:41Z","updated_at":"2019-05-29T08:23:41Z","author_association":"CONTRIBUTOR","body":"I'll keep monitoring this for a while then close if appropriate."}}
other: {"actor":{"display_login":"luke-hill"}}