{"action":"created","issue":{"url":"https://api.github.com/repos/rails/rails/issues/18750","labels_url":"https://api.github.com/repos/rails/rails/issues/18750/labels{/name}","comments_url":"https://api.github.com/repos/rails/rails/issues/18750/comments","events_url":"https://api.github.com/repos/rails/rails/issues/18750/events","html_url":"https://github.com/rails/rails/issues/18750","id":56124994,"number":18750,"title":"Undefined method `to_sql' for class `ActiveRecord::ConnectionAdapters::TableDefinition' (NameError)","user":{"login":"piyushawasthi","id":6093252,"avatar_url":"https://avatars.githubusercontent.com/u/6093252?v=3","gravatar_id":"","url":"https://api.github.com/users/piyushawasthi","html_url":"https://github.com/piyushawasthi","followers_url":"https://api.github.com/users/piyushawasthi/followers","following_url":"https://api.github.com/users/piyushawasthi/following{/other_user}","gists_url":"https://api.github.com/users/piyushawasthi/gists{/gist_id}","starred_url":"https://api.github.com/users/piyushawasthi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/piyushawasthi/subscriptions","organizations_url":"https://api.github.com/users/piyushawasthi/orgs","repos_url":"https://api.github.com/users/piyushawasthi/repos","events_url":"https://api.github.com/users/piyushawasthi/events{/privacy}","received_events_url":"https://api.github.com/users/piyushawasthi/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/rails/rails/labels/activerecord","name":"activerecord","color":"0b02e1"},{"url":"https://api.github.com/repos/rails/rails/labels/needs%20feedback","name":"needs feedback","color":"ededed"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-01-31T13:31:26Z","updated_at":"2015-06-22T14:13:50Z","closed_at":"2015-06-22T14:13:50Z","body":"I have got this bug while upgrading my app rails version '4.2.0',\r\n\r\n/gems/activesupport-4.2.0/lib/active_support/core_ext/module/aliasing.rb:32:in `alias_method': undefined method `to_sql' for class `ActiveRecord::ConnectionAdapters::TableDefinition' (NameError)\r\n"},"comment":{"url":"https://api.github.com/repos/rails/rails/issues/comments/114121117","html_url":"https://github.com/rails/rails/issues/18750#issuecomment-114121117","issue_url":"https://api.github.com/repos/rails/rails/issues/18750","id":114121117,"user":{"login":"senny","id":5402,"avatar_url":"https://avatars.githubusercontent.com/u/5402?v=3","gravatar_id":"","url":"https://api.github.com/users/senny","html_url":"https://github.com/senny","followers_url":"https://api.github.com/users/senny/followers","following_url":"https://api.github.com/users/senny/following{/other_user}","gists_url":"https://api.github.com/users/senny/gists{/gist_id}","starred_url":"https://api.github.com/users/senny/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/senny/subscriptions","organizations_url":"https://api.github.com/users/senny/orgs","repos_url":"https://api.github.com/users/senny/repos","events_url":"https://api.github.com/users/senny/events{/privacy}","received_events_url":"https://api.github.com/users/senny/received_events","type":"User","site_admin":false},"created_at":"2015-06-22T14:13:50Z","updated_at":"2015-06-22T14:13:50Z","body":"It's been a month without feedback. To help debug the issue we need some way to reproduce the problem in a blank rails application. As @pan pointed out this could very well be the usage of a gem that's causing issues. For the time being I'm going to close this issue. If you still experience problems, please report back with further information. Thank you :yellow_heart: "}}