search for: firerubyexception

Displaying 6 results from an estimated 6 matches for "firerubyexception".

2006 May 25
2
Best way to validate an integer field?
...83648) 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), "ORDER_ID" = 13,...
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 welcome :-) PS. Sorry...
2006 Jan 29
4
Problems with FireRuby and scaffolding
I am trying to generate some scaffolding using "ruby 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
2008 Apr 23
2
Table Unknown - SCHEMA_INFO
...ation 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 trace, but I can...
2007 Jan 22
0
rail 1.2.1: Fireruby exception with firebird
...on 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. Dynamic SQL Error SQL error code = -901 feature is not supported Unsuccessful execution caused by system error that does not preclude successful execution of subsequent statements SQL Code = -901 Firebird Code = 335544569 : SELECT * FROM admins WHERE (admins."...
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: