similar to: Problems with FireRuby and scaffolding

Displaying 20 results from an estimated 400 matches similar to: "Problems with FireRuby and scaffolding"

2006 Mar 16
5
Multiple databases + switching databases
Hello, I have an application that access two different DBMS - Firebird and Postgres. So far, that''s ok. The problem is, depending on the customer logged, a different database (Firebird) must be selected. To make the things clearer: Postgres: 1 database shared by all customers with these tables: - user - vehicle - driver Firebird: several databases with different names and identical
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:
2006 Apr 11
0
Problem using generate/scaffold and FireRuby
Hi to all, I am trying to use "ruby script/generate scaffold product". I always get the message "uninitialized constant CHARACTER_SET". I have a products table in a Firebird database called depot_development.fdb. Here is my config file : > common: &common > adapter: firebird > host: localhost > username: SYSDBA > password: masterkey >
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
2005 Nov 16
2
Firebird adapter next steps
I saw that the Firebird adapter was merged to the trunk last night... thanks Jeremy! Since I last submitted the fb patch (11/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,
2009 Mar 31
7
Firebird adapter HELP???????
Hi All, Is 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 /
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
Hello! I''m new to Ruby and Rails, but have been reading along here, and searched the archives and didn''t see anything addressing some concerns I have with using Rails and Firebird. I prefer Firebird when it is available, and I''m very pleased to see that others have gotten it working with Ruby. I have been trying to use it with Rails, with mixed success.
2006 May 25
2
Best way to validate an integer field?
I am trying to validate an integer field called quantity. I don''t know how to chack if it has gone beyond or below the maximum or minimum value allowed by the Firebird RDBMS. I tired adding this code to the validate method in the model: if (quantity > -2147483648) and (quantity < 2147483648) errors.add("quantity", "is out of range (must be between
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:
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
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/.
2012 Feb 02
9
sqldf for Very Large Tab Delimited Files
Hi All, I have a very (very) large tab-delimited text file without headers. There are only 8 columns and millions of rows. I want to make numerous pieces of this file by sub-setting it for individual stations. Station is given as in the first column. I am trying to learn and use sqldf package for this but am stuck in a couple of places. To simulate my requirement, I have taken iris dataset as an
2009 Dec 01
3
best practises for avoiding to write passwords in shell scripts (example sqlplus from Oracle)
Hi folks I have here a CentOS box where i need to setup cronjob (with session to remote Oracle instance). On the remote DB i have no access, expect limited user. How to avoid putting passwords in shell scripts? The solution doesn't need to be perfect, only better than plain text passwords in scripts. Mostly remote host only support password authentication (no certificates and so on).
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. Dynamic SQL Error SQL error
2009 Apr 27
5
ruby jasper report
Hi, I am trying to create a pdf using ruby jasper. For this I am referring this url:- http://oldwiki.rubyonrails.org/rails/pages/howtointegratejasperreports I have done everything whatever is in that link. Still I am not able to get the pdf. I am not getting any error in log file. My log file is:- "Processing AccountController#customer_report (for 127.0.0.1 at 2009-04-27 13:19:34) [GET]
2017 Nov 27
6
Failed attempts
Pete Biggs wrote: > On Mon, 2017-11-27 at 12:10 -0500, Jerry Geis wrote: >> hi All, >> >> I happened to login to one of my servers today and saw 96000 failed >> login attempts. shown below is the address its coming from. I added it to my >> firewall to drop. >> >> Failed password for root from 123.183.209.135 port 14299 ssh2 >> >> FYI -
2005 Oct 12
2
Monitor DTMF problems
Hello We have discovered a problem with DTMF on Asterisk. We have a setup with a T1 from PSTN going into an Asterisk box, and then out again on T1 and into a normal PBX (EADS) We use it to record all calls going to/from the PBX. The problem is that when we record the calls (with MONITOR command), DTMF tones gets obscured, and is not understood in the other end, if we dont Monitor, there are no
2008 Aug 29
1
DB stop&start
Hi I need a script to automatically Starting/Stopping an Oracle 10g DB on CentOS5.2 64bit i.e lsnrctl start/stop db start/stop emctl start/stop dbconsole" Any help? -- Madunix_at_Gmail Sysadmin "Computers are useless. They can only give you answers" - Pablo Picasso "Never trust a computer you can't throw out a window." - Steve Wozniak -------------- next part
2004 Sep 01
2
ocfs doesn't free space?
an ocfs-volume was nearly full (only 800MB free). i deleted some datafiles to free space: $ df -h . Filesystem Size Used Avail Use% Mounted on /dev/sdp1 10G 5.3G 4.8G 53% /db/DPS so there are more than 4GB available. $ sqlplus /nolog SQL*Plus: Release 9.2.0.4.0 - Production on Wed Sep 1 12:57:48 2004 Copyright (c) 1982, 2002, Oracle Corporation. All rights