Prerequisites
- Install Ruby/Informix
- Install Rails/Informix
Configuration
development:
adapter: informix
database: dbname@dbservername
username: you
password: secret
Usage notes
- If no dbserver is specified, defaults to INFORMIXSERVER
- If no username or password are specified, defaults to the user running the web server and his/her credentials
- A sequence must be created for each table in the form #{tablename}_seq:
create table customers(id serial primary key, name varchar(40));
create sequence customers_seq;
- BYTE/TEXT columns must allow NULLs
- If you want to use pagination you have to use Informix 10 or above because the SKIP option is needed.
Example
An example of an Informix on Rails application by Guy Bowerman.
Category:DatabaseDrivers
Updated
on November 01, 2007 05:59
by
Santana (189.133.156.49)