{"action":"opened","issue":{"url":"https://api.github.com/repos/bosko/rmre/issues/25","labels_url":"https://api.github.com/repos/bosko/rmre/issues/25/labels{/name}","comments_url":"https://api.github.com/repos/bosko/rmre/issues/25/comments","events_url":"https://api.github.com/repos/bosko/rmre/issues/25/events","html_url":"https://github.com/bosko/rmre/issues/25","id":68691726,"number":25,"title":"Oracle: undefined method `type' for \"VARCHAR2(16)\":String","user":{"login":"gf59ru","id":9844145,"avatar_url":"https://avatars.githubusercontent.com/u/9844145?v=3","gravatar_id":"","url":"https://api.github.com/users/gf59ru","html_url":"https://github.com/gf59ru","followers_url":"https://api.github.com/users/gf59ru/followers","following_url":"https://api.github.com/users/gf59ru/following{/other_user}","gists_url":"https://api.github.com/users/gf59ru/gists{/gist_id}","starred_url":"https://api.github.com/users/gf59ru/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gf59ru/subscriptions","organizations_url":"https://api.github.com/users/gf59ru/orgs","repos_url":"https://api.github.com/users/gf59ru/repos","events_url":"https://api.github.com/users/gf59ru/events{/privacy}","received_events_url":"https://api.github.com/users/gf59ru/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-04-15T14:05:19Z","updated_at":"2015-04-15T14:05:19Z","closed_at":null,"body":"Hi!\r\nI tried to generate models from oracle database\r\n```rmre -a oracle_enhanced -d database-u user -p password -o ./app/models```\r\nModel files were generated\r\nBut when i created controller and views for one of tables, and opened my application in browser, i saw\r\n```  Showing D:/RoR/GDB/app/views/gdb_drillholes/index.html.erb where line #3 raised:\r\n   undefined method `type' for \"VARCHAR2(16)\":String```\r\n\r\nThen i opened db/schema.rb file\r\nIt's content was so\r\n```\r\n...\r\n# Could not dump table \"dba_free_space\" because of following NoMethodError\r\n#   undefined method `type' for \"VARCHAR2(30)\":String\r\n# Could not dump table \"dba_role_privs\" because of following NoMethodError\r\n#   undefined method `type' for \"VARCHAR2(30)\":String\r\n# Could not dump table \"dba_roles\" because of following NoMethodError\r\n#   undefined method `type' for \"VARCHAR2(30)\":String\r\n...\r\n```\r\nand no one table creation script\r\n\r\nWhat did i do wrong?\r\nCan this generator create schema or i must write it myself?\r\n\r\nOracle client is 11.2.0 x86\r\nOracle server 11R2\r\nRuby 2.1.5p273 [i386-mingw32]\r\nRails 4.2.1\r\nactiverecord-oracle_enhanced-adapter 2.0.15\r\nruby-oci8 2.0.15"}}