{"action":"opened","issue":{"url":"https://api.github.com/repos/skwp/dotfiles/issues/678","labels_url":"https://api.github.com/repos/skwp/dotfiles/issues/678/labels{/name}","comments_url":"https://api.github.com/repos/skwp/dotfiles/issues/678/comments","events_url":"https://api.github.com/repos/skwp/dotfiles/issues/678/events","html_url":"https://github.com/skwp/dotfiles/issues/678","id":117018279,"number":678,"title":"Generating rails migration with polymorphic modifier","user":{"login":"DavidVII","id":504075,"avatar_url":"https://avatars.githubusercontent.com/u/504075?v=3","gravatar_id":"","url":"https://api.github.com/users/DavidVII","html_url":"https://github.com/DavidVII","followers_url":"https://api.github.com/users/DavidVII/followers","following_url":"https://api.github.com/users/DavidVII/following{/other_user}","gists_url":"https://api.github.com/users/DavidVII/gists{/gist_id}","starred_url":"https://api.github.com/users/DavidVII/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DavidVII/subscriptions","organizations_url":"https://api.github.com/users/DavidVII/orgs","repos_url":"https://api.github.com/users/DavidVII/repos","events_url":"https://api.github.com/users/DavidVII/events{/privacy}","received_events_url":"https://api.github.com/users/DavidVII/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-11-15T21:13:57Z","updated_at":"2015-11-15T21:13:57Z","closed_at":null,"body":"Hello, not sure if this is the right place to post this, but I'm only seeing this issue when using yadr. I'm getting unexpected behavior when generating a rails migration or model with the polymorphic modifier. Consider the following:\r\n\r\n```\r\nrails generate migration CreateTaggings taggable:references{polymorphic}\r\n```\r\n\r\nThis will generate the following migration\r\n\r\n```ruby\r\nclass CreateTaggings < ActiveRecord::Migration\r\n  def change\r\n    create_table :taggings do |t|\r\n      t.referencesc :taggable\r\n      t.referencesh :taggable\r\n      t.referencesi :taggable\r\n      t.referencesl :taggable\r\n      t.referencesm :taggable\r\n      t.referenceso :taggable\r\n      t.referencesp :taggable\r\n      t.referencesr :taggable\r\n      t.referencesy :taggable\r\n    end\r\n  end\r\nend\r\n```\r\n\r\nIf I don't use yadr then everything works as expected so I'm lead to believe something in these dotfiles is the culprit. Maybe something to do with curly braces?"}}