public
Description: Allows you to enter a '$' in fields stored as decimal but are actually currency types
Homepage: http://www.faithfulgeek.org/2008/3/26/acts_as_currency-released
Clone URL: git://github.com/faithfulgeek/acts_as_currency.git
acts_as_currency / spec / debug.log
100644 38 lines (37 sloc) 3.992 kb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# Logfile created on Wed Mar 26 02:19:10 -0400 2008 by /
  SQL (0.000264) select sqlite_version(*)
  SQL (0.003154) CREATE TABLE schema_info (version integer)
  SQL (0.002144) INSERT INTO schema_info (version) VALUES(0)
  SQL (0.001842) UPDATE schema_info SET version = 0
  SQL (0.000247) select sqlite_version(*)
  SQL (0.000000) SQLite3::SQLException: no such table: products: DROP TABLE products
  SQL (0.002771) CREATE TABLE products ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "description" varchar(255) DEFAULT NULL, "quantity" int DEFAULT NULL, "price" decimal DEFAULT NULL, "discount_price" decimal DEFAULT NULL) 
  SQL (0.000000) SQLite3::SQLException: no such table: consultants: DROP TABLE consultants
  SQL (0.002657) CREATE TABLE consultants ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) DEFAULT NULL, "hourly_rate" decimal DEFAULT NULL) 
  SQL (0.000000) SQLite3::SQLException: table schema_info already exists: CREATE TABLE schema_info (version integer)
  SQL (0.002893) UPDATE schema_info SET version = 0
  SQL (0.000240) select sqlite_version(*)
  SQL (0.003287) DROP TABLE products
  SQL (0.002525) CREATE TABLE products ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "description" varchar(255) DEFAULT NULL, "quantity" int DEFAULT NULL, "price" decimal DEFAULT NULL, "discount_price" decimal DEFAULT NULL) 
  SQL (0.002686) DROP TABLE consultants
  SQL (0.003295) CREATE TABLE consultants ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) DEFAULT NULL, "hourly_rate" decimal DEFAULT NULL) 
  SQL (0.000000) SQLite3::SQLException: table schema_info already exists: CREATE TABLE schema_info (version integer)
  SQL (0.002115) UPDATE schema_info SET version = 0
  SQL (0.000601)  SELECT name
 FROM sqlite_master
 WHERE type = 'table' AND NOT name = 'sqlite_sequence'

  SQL (0.000347) select sqlite_version(*)
  SQL (0.002315) DROP TABLE products
  SQL (0.002372) CREATE TABLE products ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "description" varchar(255) DEFAULT NULL, "quantity" int DEFAULT NULL, "price" decimal DEFAULT NULL, "discount_price" decimal DEFAULT NULL) 
  SQL (0.002998) DROP TABLE consultants
  SQL (0.002903) CREATE TABLE consultants ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) DEFAULT NULL, "hourly_rate" decimal DEFAULT NULL) 
  SQL (0.000000) SQLite3::SQLException: table schema_info already exists: CREATE TABLE schema_info (version integer)
  SQL (0.002485) UPDATE schema_info SET version = 0
  SQL (0.000250) select sqlite_version(*)
  SQL (0.003018) DROP TABLE products
  SQL (0.002419) CREATE TABLE products ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "description" varchar(255) DEFAULT NULL, "quantity" int DEFAULT NULL, "price" decimal DEFAULT NULL, "discount_price" decimal DEFAULT NULL) 
  SQL (0.002720) DROP TABLE consultants
  SQL (0.002945) CREATE TABLE consultants ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) DEFAULT NULL, "hourly_rate" decimal DEFAULT NULL) 
  SQL (0.000000) SQLite3::SQLException: table schema_info already exists: CREATE TABLE schema_info (version integer)
  SQL (0.002367) UPDATE schema_info SET version = 0