[Rails] Noob: database selection question

2010-03-12 Thread Len Sumnler
I am reading through "Agile Web Development with Rails" 3rd edition. My question is this; The book seems to suggest that development should be done using sqlite3 and that the testing and/or production can be switched to some other database. Now it does not say you have to do it this way and even

[Rails] Re: add_index error ?cd

2010-02-24 Thread Len Sumnler
Ugis Ozols wrote: > Hello, > > Here's my version of your migration file: http://gist.github.com/313327 > > Changed t.int to t.integer as i dont think rails understand int as in > integer (maybe i'm wrong here). Although changed table name to > aropenitems so it's in plural all over migration file

[Rails] add_index error ?cd

2010-02-23 Thread Len Sumnler
Created the following Ruby Migration program 001_create_aropenitems.rb class CreateAropenitems < ActiveRecord::Migration def self.up create_table :aropenitem do |t| t.int :cust_no t.date :doc_date t.integer :doc_no t.string :doc_type, :limit => 1 t.integer :appl