tag:blogger.com,1999:blog-5054960.post7038249087735295756..comments2024-02-14T03:07:32.078-08:00Comments on Mariuz's Blog: Rails On Firebird - status and follow the guidePopa Adrian Mariushttp://www.blogger.com/profile/09862886782232467681noreply@blogger.comBlogger6125tag:blogger.com,1999:blog-5054960.post-84835892062142768322011-02-16T03:40:43.469-08:002011-02-16T03:40:43.469-08:00Thank you!
It is working fine now =)
I changed t...Thank you!<br /><br />It is working fine now =)<br /><br />I changed the dialect to 3.Nielson Rolimhttps://www.blogger.com/profile/13144750539701276130noreply@blogger.comtag:blogger.com,1999:blog-5054960.post-81621772585649681622011-01-16T04:12:24.627-08:002011-01-16T04:12:24.627-08:00I never use dialect 1 but
rowland found the issue...I never use dialect 1 but <br />rowland found <a href="https://github.com/rowland/fb_adapter/issues/issue/4/#comment_677897" rel="nofollow">the issue</a> <br />I suspect a dialect 1 database and mixed-case table names are behind the errors. A backup/restore may solve Nielson's issue.<br />Actually, it turns out it is gfix which is required: <a href="http://www.firebirdsql.org/manual/Popa Adrian Mariushttps://www.blogger.com/profile/09862886782232467681noreply@blogger.comtag:blogger.com,1999:blog-5054960.post-53829391959090493072011-01-14T04:51:50.843-08:002011-01-14T04:51:50.843-08:00The message is about TBPROD
check if it works wit...The message is about TBPROD<br /><br />check if it works with select * from TBPROD<br /><br />My guess is that is something wrong with the model/tablePopa Adrian Mariushttps://www.blogger.com/profile/09862886782232467681noreply@blogger.comtag:blogger.com,1999:blog-5054960.post-51340703030644496332011-01-14T04:37:31.194-08:002011-01-14T04:37:31.194-08:00The output was cleaned but here is on gist
https...The output was cleaned but here is on gist <br /><br /><a href="https://gist.github.com/9dbec72ab99a70dcb9fa" rel="nofollow">https://gist.github.com/9dbec72ab99a70dcb9fa</a><br /><br />I also requested a new version of the gem versionPopa Adrian Mariushttps://www.blogger.com/profile/09862886782232467681noreply@blogger.comtag:blogger.com,1999:blog-5054960.post-14975651336180639642011-01-14T04:31:57.848-08:002011-01-14T04:31:57.848-08:00Please install fb_adapter from git
Seems that yo...Please install fb_adapter <a href="http://mapopa.blogspot.com/2009/02/installing-firebird-active-record-for.html" rel="nofollow">from git</a> <br /><br />Seems that you have a version of adapter that you doesn't give the first row (<a href="https://github.com/rowland/fb_adapter/commit/770a929d9486f716579d3832b44885cd6d903d44" rel="nofollow">ROWS</a> feature was implemented later )<br /><br />Popa Adrian Mariushttps://www.blogger.com/profile/09862886782232467681noreply@blogger.comtag:blogger.com,1999:blog-5054960.post-37670090460969524722011-01-11T14:14:56.967-08:002011-01-11T14:14:56.967-08:00Hi Mariuz!
Great post! It's exactly what I ne...Hi Mariuz!<br /><br />Great post! It's exactly what I needed.<br /><br />I followed your tips, but I still got some issues.<br /><br />I am using Firebird 2.5 and Rails 2.3.8. I've installed the to gems fb and fb_adapter and connected to the database successfully. But, when I tried to get an object from the database I've got the follow error:<br /><br />>> p = Tbprod.first<br />Nielson Rolimhttps://www.blogger.com/profile/13144750539701276130noreply@blogger.com