search for: fireruby

Displaying 17 results from an estimated 17 matches for "fireruby".

2007 Jul 23
2
Firebird, fireruby
Hi Guys I am pretty new to Ruby. One of our client is using Firebird as his backend database. I have to create a script which will connect to his database, fetch some data and update few tables in MS-SQL database. Now problem is: i have installed FireRuby, got databaes, changed my database.yml file. I am trying to display all the users in Members table. but i am getting following error: ActiveRecord::AdapterNotFound in UsersController#index The Firebird adapter requires FireRuby version 0.4.0 or greater; you appear to be running an older version...
2006 Jan 29
4
Problems with FireRuby and scaffolding
...uby script/generate scaffold order order". It always fails with the message "uninitialized constant CHARACTER_SET". I have an orders table in a Firebird databse called TARPRILOGISTICS.GDB. The database is in a folder named "database" in my rails app root folder. I tried FireRuby 0.4 and 0.4.1. My config file looks like this: development: adapter: firebird database: ../database/TARPRILOGISTICS.GDB username: sysdba password: masterkey charset: UNICODE_FSS host: localhost Any solutions to this problem? Thank you. -- Posted via http://www.ruby-forum.com/.
2005 Nov 16
2
Firebird adapter next steps
.../1), I''ve been working on several improvements, including: 1) I reorganized the code to match the newer conventions used in the other adapters (mostly just changed the order and grouping of methods, and added some "section header" comments). 2) An updated, improved version of the FireRuby extension was released last weekend (0.4.0). Based on the updates, I was able to improve and simplify the adapter. (Most importantly, I was able to remove the hack/work-around that was there to deal with the fact that FireRuby returned DATE columns as Time objects). 3) Migrations! 4) Added connec...
2006 Jul 30
0
Error in new record using Fireruby
The Action Controler List worked, but if i add one new record, i''m view the message bellow " FireRuby::FireRubyException: Error preparing a SQL statement. Dynamic SQL Error SQL error code = -842 Precision must be from 1 to 18 Wrong numeric type SQL Code = -842 Firebird Code = 335544569 : SELECT CAST(0 AS DECIMAL(0,0)) FROM RDB$DATABASE " I''m apreciate any help, is are welco...
2006 Apr 11
0
Problem using generate/scaffold and FireRuby
...ommon > > and my firebird''s aliases.conf > > depot_development = C:\Sistemas\Ruby\db\depot_development.fdb > depot_production = C:\Sistemas\Ruby\db\depot_production.fdb > depot_test = C:\Sistemas\Ruby\db\depot_test.fdb > Running on WinXP SP2, Firebird 1.5.3, FireRuby 0.4.1, here are the details of the script: ruby script/generate scaffold product admin -t > exists app/controllers/ > exists app/helpers/ > create app/views/admin > create test/functional/ > dependency model > create app/models/ >...
2006 Mar 10
0
Problem with fireruby when connecting to database
Hi there, i got a similar problem like Franz Bettag in http://www.ruby-forum.com/topic/57499#new i posted this again because the upper ticket was placed in ruby and not in ruby on rails! :) -- Posted via http://www.ruby-forum.com/.
2007 May 15
0
Trouble with "require" and FastCGI
I didn''t mention in the subject that I''m using Firebird because I''m hoping non-Firebird developers will read this since there only seem to be about four people using Rails with Firebird. First what works for me - WinXP/Rails/Apache/FireRuby works great. I''ve also got WinXP/ Rails/Apache/FastCGI working well. When I mix FastCGI and FireRuby I blow up with this: 126: The specified module could not be found. - C:/ruby/lib/ruby/ gems/1.8/gems/fireruby-0.4.1-mswin32/lib/fr_lib.so The top of the call stack looks like this: C...
2005 Aug 12
10
Anyone using Firebird w/ Rails?
I saw that there''s a patch in the queue (http://dev.rubyonrails.com/ticket/1874) for a Firebird adapter. Just wondering if anyone is using this, the other Firebird adapter, or something else w/ Rails. My main interest is that sometimes Windows is a target platform, and Firebird is stable on Windows, whereas I''ve heard that the Windows version of PostgreSQL isn''t
2007 Jan 22
0
rail 1.2.1: Fireruby exception with firebird
Rubyonrails application which was working fine with rails 1.1.6, fireruby and firebird 1.5.3 does not work with rails 1.2.1. The error is reproduced below. Could not get over this problem. Any help coming through? Thanks in advance. ActiveRecord::StatementInvalid in TimekeeperadminController#authenticate FireRuby::FireRubyException: Error preparing a SQL statement....
2009 Mar 31
7
Firebird adapter HELP???????
...anyone successfully using ROR 2.x with Firebird 2.x in a production environment? The support seems to have dwindled. I would greatly appreciate any installation guidelines, comments or tips. What is somewhat confusing is what is required to for ROR to play nicely with firebird. I have come across fireruby, fb_adapter, fb-0.5.9...there does not seem to be cohesive install / requirement steps...I certainly don''t mind working through all this but would appreciate any help to nudge me along. Thanks, Rick -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~-...
2006 May 25
2
Best way to validate an integer field?
...gt; -2147483648) and (quantity < 2147483648) errors.add("quantity", "is out of range (must be between -2147483648 and 2147483648)") end But when I try entering a big value for example a bunch of numbers in the form field I get this sql error when I hit edit: FireRuby::FireRubyException: Error preparing a SQL statement. Dynamic SQL Error SQL error code = -104 Token unknown - line 1, char 239 9 Invalid token SQL Code = -104 Firebird Code = 335544569 : UPDATE parts SET "ORDERED_DATE" = CAST(''2006-05-24 21:45:00'' AS TIMESTAMP), "OR...
2007 Nov 13
4
question about activerecord test_numeric_fields in base_test.rb
There''s a test for activerecord called test_numeric_fields in base_test.rb. here''s the test def test_numeric_fields m = NumericData.new( :bank_balance => 1586.43, :big_bank_balance => BigDecimal("1000234000567.95"), :world_population => 6000000000, :my_house_population => 3 ) assert m.save m1 =
2006 Apr 28
2
Rails and Firebird
...ked or discussion of the problem would be great! If there are things that need fixing, I''m happy to try and help. I thought I''d ask here and see if there was any information about the problems I''ve been having before I e-mailed the authors of the Firebird adapter and FireRuby to see if there is anything I''m missing or can help with. Any discussion would be welcome. First problem: [bug] Segmentation fault. One of my machines segfaults every time a Firebird query of any complexity is issued. The other machine I''m working on handle fairly complicate...
2009 Mar 15
2
Rails + Firebird 2.1.x
Hi all, I have played with JRuby on Rails in the past and managed to make it work with Firebird. Although migrations did not work, I managed to do everything manually and it worked. Now, I am working with Ruby on Rails and was wondering if anyone here has managed to get Rails to work with Firebird 2.1.x. If yes, what were the steps? I installed fb and fb_adapter, and I get the following error:
2007 Jan 17
1
Updating to RUBY 1.8.4
Hi to all ... I''m an italian people. I''m developing a proget using Ruby on Rails, with Firebird 2.0 as data base. Actually I''m using this version of GEM: RUBY: 1.8.2 RAILS: 1.1.2 ACTIVE-RECORD: 1.14.2 FIRERUBY: 0.4.1 RUBY-GEMS: 0.8.10 Now I need to upgrade to RUBY: 1.8.4, because I need to use Rmagick for generate bar code. I installed Ruby 1.8.4 but now my application crashed when I try to access the database. Could it be a compatibility problem between the firebird adapter and the new version of Ruby...
2008 Apr 23
2
Table Unknown - SCHEMA_INFO
...cord::Migration def self.up create_table :reports do |t| t.string :name t.string :description t.string :location t.timestamps end end def self.down drop_table :reports end end When I attempt to migrate this (rake db:migrate), I get the following error: FireRuby::FireRubyException: Error preparing a SQL statement. Dynamic SQL Error SQL error code = -204 Table unknown SCHEMA_INFO At line 1, column 21. Undefined name SQL Code = -204 Firebird Code = 335544569 : SELECT version FROM schema_info I''ve tried running it with --trace, and going through the...
2006 Mar 15
8
Tags to ruby interface: What I am missing? (repost)
I offer my apologies in advance for the repost. On a list as busy as this, it is sometimes easy to get missed in the shuffle. I am trying to create, display and edit a referenced object''s text field on the same view as my root object. For example: ------------------------- Quiz: <<quiz.name>> Preamble: <<quiz.preamble_presentation.text>> Postamble: