{"action":"closed","issue":{"url":"https://api.github.com/repos/ibmdb/ruby-ibmdb/issues/13","labels_url":"https://api.github.com/repos/ibmdb/ruby-ibmdb/issues/13/labels{/name}","comments_url":"https://api.github.com/repos/ibmdb/ruby-ibmdb/issues/13/comments","events_url":"https://api.github.com/repos/ibmdb/ruby-ibmdb/issues/13/events","html_url":"https://github.com/ibmdb/ruby-ibmdb/issues/13","id":52197787,"number":13,"title":"Rails connecting to IDS - Not recognising Table","user":{"login":"stianh26","id":8969145,"avatar_url":"https://avatars.githubusercontent.com/u/8969145?v=3","gravatar_id":"","url":"https://api.github.com/users/stianh26","html_url":"https://github.com/stianh26","followers_url":"https://api.github.com/users/stianh26/followers","following_url":"https://api.github.com/users/stianh26/following{/other_user}","gists_url":"https://api.github.com/users/stianh26/gists{/gist_id}","starred_url":"https://api.github.com/users/stianh26/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stianh26/subscriptions","organizations_url":"https://api.github.com/users/stianh26/orgs","repos_url":"https://api.github.com/users/stianh26/repos","events_url":"https://api.github.com/users/stianh26/events{/privacy}","received_events_url":"https://api.github.com/users/stianh26/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":19,"created_at":"2014-12-17T03:33:27Z","updated_at":"2015-07-30T06:47:45Z","closed_at":"2015-07-30T06:47:45Z","body":"I am trying to build a Rails(4.0.12, same issue in 4.1.8) application to connect to an existing IDS database (12.10.FC1X4).\r\nColumns in table:\r\n![table](https://cloud.githubusercontent.com/assets/8969145/5466036/d44db516-85dd-11e4-9c08-3b5ade732899.PNG)\r\nModel:\r\n![model](https://cloud.githubusercontent.com/assets/8969145/5466062/30f46b02-85de-11e4-828f-81896f8dc30a.png)\r\nOutput:\r\n![outputpo](https://cloud.githubusercontent.com/assets/8969145/5466098/e202ae86-85de-11e4-92bf-7302457d6370.png)\r\nI am expecting to get the entire row back from the DB\r\nRunning SQL Directly:\r\n![sql-results](https://cloud.githubusercontent.com/assets/8969145/5466177/67549544-85e0-11e4-8efe-8948e581b656.png)\r\n\r\n\r\nIf I query for non-existing records I do get errors as expected.\r\n\r\n\r\nDoes anyone know what I am doing wrong?\r\nI believe the issue is that the SERIAL8 datatype is not being mapped to a ruby data type (integer I would assume).\r\n\r\nAny assistance would be greatly appreciated\r\n\r\nKind Regards,\r\n\r\nStian Henriksen"}}