easy_contact 0.0.3 → 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- checksums.yaml.gz.sig +2 -0
- data.tar.gz.sig +0 -0
- data/Rakefile +16 -9
- data/app/models/easy_contact/entry.rb +1 -1
- data/lib/easy_contact/version.rb +1 -1
- data/test/dummy/README.rdoc +28 -0
- data/test/dummy/Rakefile +6 -0
- data/test/dummy/app/assets/javascripts/application.js +13 -0
- data/test/dummy/app/assets/stylesheets/application.css +13 -0
- data/test/dummy/app/controllers/application_controller.rb +5 -0
- data/test/dummy/app/helpers/application_helper.rb +2 -0
- data/test/dummy/app/models/user.rb +3 -0
- data/test/dummy/app/views/layouts/application.html.erb +14 -0
- data/test/dummy/bin/bundle +3 -0
- data/test/dummy/bin/rails +4 -0
- data/test/dummy/bin/rake +4 -0
- data/test/dummy/config.ru +4 -0
- data/test/dummy/config/application.rb +23 -0
- data/test/dummy/config/boot.rb +5 -0
- data/test/dummy/config/database.yml +25 -0
- data/test/dummy/config/environment.rb +5 -0
- data/test/dummy/config/environments/development.rb +29 -0
- data/test/dummy/config/environments/production.rb +80 -0
- data/test/dummy/config/environments/test.rb +36 -0
- data/test/dummy/config/initializers/backtrace_silencers.rb +7 -0
- data/test/dummy/config/initializers/filter_parameter_logging.rb +4 -0
- data/test/dummy/config/initializers/inflections.rb +16 -0
- data/test/dummy/config/initializers/mime_types.rb +5 -0
- data/test/dummy/config/initializers/secret_token.rb +12 -0
- data/test/dummy/config/initializers/session_store.rb +3 -0
- data/test/dummy/config/initializers/wrap_parameters.rb +14 -0
- data/test/dummy/config/locales/en.yml +23 -0
- data/test/dummy/config/routes.rb +56 -0
- data/test/dummy/db/development.sqlite3 +0 -0
- data/test/dummy/db/migrate/20130221043330_create_users.rb +8 -0
- data/test/dummy/db/migrate/20130221043348_easy_contact_migration.rb +18 -0
- data/test/dummy/db/schema.rb +37 -0
- data/test/dummy/db/test.sqlite3 +0 -0
- data/test/dummy/log/development.log +67 -0
- data/test/dummy/log/test.log +825 -0
- data/test/dummy/public/404.html +58 -0
- data/test/dummy/public/422.html +58 -0
- data/test/dummy/public/500.html +57 -0
- data/test/dummy/public/favicon.ico +0 -0
- data/test/dummy/test/models/easy_contact/entry_test.rb +36 -0
- data/test/dummy/test/models/easy_contact/foo_test.rb +8 -0
- data/test/easy_contact_test.rb +7 -0
- data/test/test_helper.rb +30 -0
- metadata +123 -48
- metadata.gz.sig +0 -0
@@ -0,0 +1,12 @@
|
|
1
|
+
# Be sure to restart your server when you modify this file.
|
2
|
+
|
3
|
+
# Your secret key is used for verifying the integrity of signed cookies.
|
4
|
+
# If you change this key, all old signed cookies will become invalid!
|
5
|
+
|
6
|
+
# Make sure the secret is at least 30 characters and all random,
|
7
|
+
# no regular words or you'll be exposed to dictionary attacks.
|
8
|
+
# You can use `rake secret` to generate a secure secret key.
|
9
|
+
|
10
|
+
# Make sure your secret_key_base is kept private
|
11
|
+
# if you're sharing your code publicly.
|
12
|
+
Dummy::Application.config.secret_key_base = '14b4b9cd7933007968917ea2be4b2f7f7a90e19e13ec1ae84c8bb046bf25d17b5dafa9f8b6daef30de39d7731651ff31405deb8aae1fb06a0fe3c3a739a5dc12'
|
@@ -0,0 +1,14 @@
|
|
1
|
+
# Be sure to restart your server when you modify this file.
|
2
|
+
|
3
|
+
# This file contains settings for ActionController::ParamsWrapper which
|
4
|
+
# is enabled by default.
|
5
|
+
|
6
|
+
# Enable parameter wrapping for JSON. You can disable this by setting :format to an empty array.
|
7
|
+
ActiveSupport.on_load(:action_controller) do
|
8
|
+
wrap_parameters format: [:json] if respond_to?(:wrap_parameters)
|
9
|
+
end
|
10
|
+
|
11
|
+
# To enable root element in JSON for ActiveRecord objects.
|
12
|
+
# ActiveSupport.on_load(:active_record) do
|
13
|
+
# self.include_root_in_json = true
|
14
|
+
# end
|
@@ -0,0 +1,23 @@
|
|
1
|
+
# Files in the config/locales directory are used for internationalization
|
2
|
+
# and are automatically loaded by Rails. If you want to use locales other
|
3
|
+
# than English, add the necessary files in this directory.
|
4
|
+
#
|
5
|
+
# To use the locales, use `I18n.t`:
|
6
|
+
#
|
7
|
+
# I18n.t 'hello'
|
8
|
+
#
|
9
|
+
# In views, this is aliased to just `t`:
|
10
|
+
#
|
11
|
+
# <%= t('hello') %>
|
12
|
+
#
|
13
|
+
# To use a different locale, set it with `I18n.locale`:
|
14
|
+
#
|
15
|
+
# I18n.locale = :es
|
16
|
+
#
|
17
|
+
# This would use the information in config/locales/es.yml.
|
18
|
+
#
|
19
|
+
# To learn more, please read the Rails Internationalization guide
|
20
|
+
# available at http://guides.rubyonrails.org/i18n.html.
|
21
|
+
|
22
|
+
en:
|
23
|
+
hello: "Hello world"
|
@@ -0,0 +1,56 @@
|
|
1
|
+
Dummy::Application.routes.draw do
|
2
|
+
# The priority is based upon order of creation: first created -> highest priority.
|
3
|
+
# See how all your routes lay out with "rake routes".
|
4
|
+
|
5
|
+
# You can have the root of your site routed with "root"
|
6
|
+
# root 'welcome#index'
|
7
|
+
|
8
|
+
# Example of regular route:
|
9
|
+
# get 'products/:id' => 'catalog#view'
|
10
|
+
|
11
|
+
# Example of named route that can be invoked with purchase_url(id: product.id)
|
12
|
+
# get 'products/:id/purchase' => 'catalog#purchase', as: :purchase
|
13
|
+
|
14
|
+
# Example resource route (maps HTTP verbs to controller actions automatically):
|
15
|
+
# resources :products
|
16
|
+
|
17
|
+
# Example resource route with options:
|
18
|
+
# resources :products do
|
19
|
+
# member do
|
20
|
+
# get 'short'
|
21
|
+
# post 'toggle'
|
22
|
+
# end
|
23
|
+
#
|
24
|
+
# collection do
|
25
|
+
# get 'sold'
|
26
|
+
# end
|
27
|
+
# end
|
28
|
+
|
29
|
+
# Example resource route with sub-resources:
|
30
|
+
# resources :products do
|
31
|
+
# resources :comments, :sales
|
32
|
+
# resource :seller
|
33
|
+
# end
|
34
|
+
|
35
|
+
# Example resource route with more complex sub-resources:
|
36
|
+
# resources :products do
|
37
|
+
# resources :comments
|
38
|
+
# resources :sales do
|
39
|
+
# get 'recent', on: :collection
|
40
|
+
# end
|
41
|
+
# end
|
42
|
+
|
43
|
+
# Example resource route with concerns:
|
44
|
+
# concern :toggleable do
|
45
|
+
# post 'toggle'
|
46
|
+
# end
|
47
|
+
# resources :posts, concerns: :toggleable
|
48
|
+
# resources :photos, concerns: :toggleable
|
49
|
+
|
50
|
+
# Example resource route within a namespace:
|
51
|
+
# namespace :admin do
|
52
|
+
# # Directs /admin/products/* to Admin::ProductsController
|
53
|
+
# # (app/controllers/admin/products_controller.rb)
|
54
|
+
# resources :products
|
55
|
+
# end
|
56
|
+
end
|
Binary file
|
@@ -0,0 +1,18 @@
|
|
1
|
+
class EasyContactMigration < ActiveRecord::Migration
|
2
|
+
def change
|
3
|
+
create_table :easy_contact_entries do |t|
|
4
|
+
t.string :type
|
5
|
+
t.string :label
|
6
|
+
t.text :content
|
7
|
+
t.string :addition
|
8
|
+
t.string :extra
|
9
|
+
t.string :country
|
10
|
+
t.string :locale
|
11
|
+
t.boolean :primary
|
12
|
+
t.references :contactable
|
13
|
+
|
14
|
+
t.timestamps
|
15
|
+
end
|
16
|
+
add_index :easy_contact_entries, :contactable_id
|
17
|
+
end
|
18
|
+
end
|
@@ -0,0 +1,37 @@
|
|
1
|
+
# encoding: UTF-8
|
2
|
+
# This file is auto-generated from the current state of the database. Instead
|
3
|
+
# of editing this file, please use the migrations feature of Active Record to
|
4
|
+
# incrementally modify your database, and then regenerate this schema definition.
|
5
|
+
#
|
6
|
+
# Note that this schema.rb definition is the authoritative source for your
|
7
|
+
# database schema. If you need to create the application database on another
|
8
|
+
# system, you should be using db:schema:load, not running all the migrations
|
9
|
+
# from scratch. The latter is a flawed and unsustainable approach (the more migrations
|
10
|
+
# you'll amass, the slower it'll run and the greater likelihood for issues).
|
11
|
+
#
|
12
|
+
# It's strongly recommended to check this file into your version control system.
|
13
|
+
|
14
|
+
ActiveRecord::Schema.define(:version => 20130221043348) do
|
15
|
+
|
16
|
+
create_table "easy_contact_entries", :force => true do |t|
|
17
|
+
t.string "type"
|
18
|
+
t.string "label"
|
19
|
+
t.text "content"
|
20
|
+
t.string "addition"
|
21
|
+
t.string "extra"
|
22
|
+
t.string "country"
|
23
|
+
t.string "locale"
|
24
|
+
t.boolean "primary"
|
25
|
+
t.integer "contactable_id"
|
26
|
+
t.datetime "created_at", :null => false
|
27
|
+
t.datetime "updated_at", :null => false
|
28
|
+
end
|
29
|
+
|
30
|
+
add_index "easy_contact_entries", ["contactable_id"], :name => "index_easy_contact_entries_on_contactable_id"
|
31
|
+
|
32
|
+
create_table "users", :force => true do |t|
|
33
|
+
t.datetime "created_at", :null => false
|
34
|
+
t.datetime "updated_at", :null => false
|
35
|
+
end
|
36
|
+
|
37
|
+
end
|
Binary file
|
@@ -0,0 +1,67 @@
|
|
1
|
+
Connecting to database specified by database.yml
|
2
|
+
Connecting to database specified by database.yml
|
3
|
+
Connecting to database specified by database.yml
|
4
|
+
Connecting to database specified by database.yml
|
5
|
+
[1m[36m (0.1ms)[0m [1mselect sqlite_version(*)[0m
|
6
|
+
[1m[35m (29.7ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
|
7
|
+
[1m[36m (2.7ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
8
|
+
[1m[35m (27.8ms)[0m SELECT "schema_migrations"."version" FROM "schema_migrations"
|
9
|
+
Migrating to EasyContactMigration (20130221042833)
|
10
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
11
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
12
|
+
Connecting to database specified by database.yml
|
13
|
+
[1m[36m (1.6ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
14
|
+
Migrating to EasyContactMigration (20130221042833)
|
15
|
+
[1m[35m (0.0ms)[0m select sqlite_version(*)
|
16
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
17
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
18
|
+
Connecting to database specified by database.yml
|
19
|
+
[1m[36m (2.2ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
20
|
+
Migrating to EasyContactMigration (20130221042833)
|
21
|
+
[1m[35m (0.0ms)[0m select sqlite_version(*)
|
22
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
23
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
24
|
+
Connecting to database specified by database.yml
|
25
|
+
Connecting to database specified by database.yml
|
26
|
+
[1m[36m (1.4ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
27
|
+
Migrating to EasyContactMigration (20130221042833)
|
28
|
+
[1m[35m (0.0ms)[0m select sqlite_version(*)
|
29
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
30
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
31
|
+
Connecting to database specified by database.yml
|
32
|
+
[1m[36m (1.4ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
33
|
+
Migrating to EasyContactMigration (20130221042833)
|
34
|
+
[1m[35m (0.0ms)[0m select sqlite_version(*)
|
35
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
36
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
37
|
+
Connecting to database specified by database.yml
|
38
|
+
Connecting to database specified by database.yml
|
39
|
+
Connecting to database specified by database.yml
|
40
|
+
[1m[36m (1.5ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
41
|
+
Migrating to CreateUsers (20130221043330)
|
42
|
+
[1m[35m (0.0ms)[0m select sqlite_version(*)
|
43
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
44
|
+
[1m[35m (0.5ms)[0m CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
45
|
+
[1m[36m (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20130221043330')[0m
|
46
|
+
[1m[35m (55.3ms)[0m commit transaction
|
47
|
+
Migrating to EasyContactMigration (20130221043348)
|
48
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
49
|
+
[1m[35m (0.8ms)[0m CREATE TABLE "easy_contact_entries" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "label" varchar(255), "content" text, "addition" varchar(255), "extra" varchar(255), "country" varchar(255), "locale" varchar(255), "primary" boolean, "contactable_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
50
|
+
[1m[36m (0.2ms)[0m [1mCREATE INDEX "index_easy_contact_entries_on_contactable_id" ON "easy_contact_entries" ("contactable_id")[0m
|
51
|
+
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20130221043348')
|
52
|
+
[1m[36m (3.4ms)[0m [1mcommit transaction[0m
|
53
|
+
[1m[35m (0.1ms)[0m SELECT "schema_migrations"."version" FROM "schema_migrations"
|
54
|
+
Connecting to database specified by database.yml
|
55
|
+
[1m[36m (1.4ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
56
|
+
[1m[35m (0.2ms)[0m select sqlite_version(*)
|
57
|
+
[1m[36m (56.0ms)[0m [1mCREATE TABLE "easy_contact_entries" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "label" varchar(255), "content" text, "addition" varchar(255), "extra" varchar(255), "country" varchar(255), "locale" varchar(255), "primary" boolean, "contactable_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
58
|
+
[1m[35m (3.5ms)[0m CREATE INDEX "index_easy_contact_entries_on_contactable_id" ON "easy_contact_entries" ("contactable_id")
|
59
|
+
[1m[36m (3.4ms)[0m [1mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
60
|
+
[1m[35m (3.3ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
|
61
|
+
[1m[36m (4.1ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
62
|
+
[1m[35m (0.1ms)[0m SELECT version FROM "schema_migrations"
|
63
|
+
[1m[36m (2.9ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130221043348')[0m
|
64
|
+
[1m[35m (3.9ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130221043330')
|
65
|
+
Connecting to database specified by database.yml
|
66
|
+
Connecting to database specified by database.yml
|
67
|
+
Connecting to database specified by database.yml
|
@@ -0,0 +1,825 @@
|
|
1
|
+
Connecting to database specified by database.yml
|
2
|
+
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
3
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
4
|
+
Connecting to database specified by database.yml
|
5
|
+
Connecting to database specified by database.yml
|
6
|
+
[1m[36m (0.4ms)[0m [1mbegin transaction[0m
|
7
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
8
|
+
Connecting to database specified by database.yml
|
9
|
+
[1m[36m (0.4ms)[0m [1mbegin transaction[0m
|
10
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
11
|
+
Connecting to database specified by database.yml
|
12
|
+
[1m[36m (0.4ms)[0m [1mbegin transaction[0m
|
13
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
14
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
15
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
16
|
+
Connecting to database specified by database.yml
|
17
|
+
[1m[36m (0.4ms)[0m [1mbegin transaction[0m
|
18
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
19
|
+
[1m[36mSQL (84.3ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 23 Feb 2013 01:28:58 UTC +00:00], ["updated_at", Sat, 23 Feb 2013 01:28:58 UTC +00:00]]
|
20
|
+
[1m[35mSQL (2.7ms)[0m INSERT INTO "easy_contact_entries" ("addition", "contactable_id", "content", "country", "created_at", "extra", "label", "locale", "primary", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["addition", nil], ["contactable_id", 1], ["content", "first entry"], ["country", nil], ["created_at", Sat, 23 Feb 2013 01:28:58 UTC +00:00], ["extra", nil], ["label", nil], ["locale", nil], ["primary", nil], ["type", nil], ["updated_at", Sat, 23 Feb 2013 01:28:58 UTC +00:00]]
|
21
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "easy_contact_entries" ("addition", "contactable_id", "content", "country", "created_at", "extra", "label", "locale", "primary", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["addition", nil], ["contactable_id", 1], ["content", "second entry"], ["country", nil], ["created_at", Sat, 23 Feb 2013 01:28:58 UTC +00:00], ["extra", nil], ["label", nil], ["locale", nil], ["primary", nil], ["type", nil], ["updated_at", Sat, 23 Feb 2013 01:28:58 UTC +00:00]]
|
22
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
23
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "easy_contact_entries" WHERE "easy_contact_entries"."contactable_id" = 1[0m
|
24
|
+
[1m[35mEasyContact::Entry Load (0.3ms)[0m SELECT "easy_contact_entries".* FROM "easy_contact_entries" WHERE "easy_contact_entries"."contactable_id" = 1
|
25
|
+
[1m[36m (8.1ms)[0m [1mrollback transaction[0m
|
26
|
+
[1m[35m (0.2ms)[0m begin transaction
|
27
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
28
|
+
Connecting to database specified by database.yml
|
29
|
+
[1m[36m (0.4ms)[0m [1mbegin transaction[0m
|
30
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
31
|
+
[1m[36mSQL (24.0ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 23 Feb 2013 02:02:27 UTC +00:00], ["updated_at", Sat, 23 Feb 2013 02:02:27 UTC +00:00]]
|
32
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "easy_contact_entries" ("addition", "contactable_id", "content", "country", "created_at", "extra", "label", "locale", "primary", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["addition", nil], ["contactable_id", 1], ["content", "first entry"], ["country", nil], ["created_at", Sat, 23 Feb 2013 02:02:27 UTC +00:00], ["extra", nil], ["label", nil], ["locale", nil], ["primary", nil], ["type", nil], ["updated_at", Sat, 23 Feb 2013 02:02:27 UTC +00:00]]
|
33
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "easy_contact_entries" ("addition", "contactable_id", "content", "country", "created_at", "extra", "label", "locale", "primary", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["addition", nil], ["contactable_id", 1], ["content", "second entry"], ["country", nil], ["created_at", Sat, 23 Feb 2013 02:02:27 UTC +00:00], ["extra", nil], ["label", nil], ["locale", nil], ["primary", nil], ["type", nil], ["updated_at", Sat, 23 Feb 2013 02:02:27 UTC +00:00]]
|
34
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
35
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "easy_contact_entries" WHERE "easy_contact_entries"."contactable_id" = 1[0m
|
36
|
+
[1m[35m (1.1ms)[0m rollback transaction
|
37
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
38
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
39
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
40
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
41
|
+
Connecting to database specified by database.yml
|
42
|
+
[1m[36m (0.4ms)[0m [1mbegin transaction[0m
|
43
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
44
|
+
[1m[36mSQL (7.1ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 23 Feb 2013 02:02:51 UTC +00:00], ["updated_at", Sat, 23 Feb 2013 02:02:51 UTC +00:00]]
|
45
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "easy_contact_entries" ("addition", "contactable_id", "content", "country", "created_at", "extra", "label", "locale", "primary", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["addition", nil], ["contactable_id", 1], ["content", "first entry"], ["country", nil], ["created_at", Sat, 23 Feb 2013 02:02:51 UTC +00:00], ["extra", nil], ["label", nil], ["locale", nil], ["primary", nil], ["type", nil], ["updated_at", Sat, 23 Feb 2013 02:02:51 UTC +00:00]]
|
46
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "easy_contact_entries" ("addition", "contactable_id", "content", "country", "created_at", "extra", "label", "locale", "primary", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["addition", nil], ["contactable_id", 1], ["content", "second entry"], ["country", nil], ["created_at", Sat, 23 Feb 2013 02:02:51 UTC +00:00], ["extra", nil], ["label", nil], ["locale", nil], ["primary", nil], ["type", nil], ["updated_at", Sat, 23 Feb 2013 02:02:51 UTC +00:00]]
|
47
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
48
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "easy_contact_entries" WHERE "easy_contact_entries"."contactable_id" = 1[0m
|
49
|
+
[1m[35m (2.6ms)[0m rollback transaction
|
50
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
51
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
52
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 23 Feb 2013 02:02:51 UTC +00:00], ["updated_at", Sat, 23 Feb 2013 02:02:51 UTC +00:00]]
|
53
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "easy_contact_entries" ("addition", "contactable_id", "content", "country", "created_at", "extra", "label", "locale", "primary", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["addition", nil], ["contactable_id", 1], ["content", "first name"], ["country", nil], ["created_at", Sat, 23 Feb 2013 02:02:51 UTC +00:00], ["extra", nil], ["label", nil], ["locale", nil], ["primary", nil], ["type", "EasyContact::Name"], ["updated_at", Sat, 23 Feb 2013 02:02:51 UTC +00:00]]
|
54
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "easy_contact_entries" ("addition", "contactable_id", "content", "country", "created_at", "extra", "label", "locale", "primary", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["addition", nil], ["contactable_id", 1], ["content", "second name"], ["country", nil], ["created_at", Sat, 23 Feb 2013 02:02:51 UTC +00:00], ["extra", nil], ["label", nil], ["locale", nil], ["primary", nil], ["type", "EasyContact::Name"], ["updated_at", Sat, 23 Feb 2013 02:02:51 UTC +00:00]]
|
55
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
56
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "easy_contact_entries" WHERE "easy_contact_entries"."type" IN ('EasyContact::Name') AND "easy_contact_entries"."contactable_id" = 1[0m
|
57
|
+
[1m[35m (19.9ms)[0m rollback transaction
|
58
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
59
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
60
|
+
Connecting to database specified by database.yml
|
61
|
+
[1m[36m (0.4ms)[0m [1mbegin transaction[0m
|
62
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
63
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
64
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
65
|
+
[1m[36mSQL (36.8ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 23 Feb 2013 02:04:05 UTC +00:00], ["updated_at", Sat, 23 Feb 2013 02:04:05 UTC +00:00]]
|
66
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "easy_contact_entries" ("addition", "contactable_id", "content", "country", "created_at", "extra", "label", "locale", "primary", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["addition", nil], ["contactable_id", 1], ["content", "first name"], ["country", nil], ["created_at", Sat, 23 Feb 2013 02:04:05 UTC +00:00], ["extra", nil], ["label", nil], ["locale", nil], ["primary", nil], ["type", "EasyContact::Name"], ["updated_at", Sat, 23 Feb 2013 02:04:05 UTC +00:00]]
|
67
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "easy_contact_entries" ("addition", "contactable_id", "content", "country", "created_at", "extra", "label", "locale", "primary", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["addition", nil], ["contactable_id", 1], ["content", "second name"], ["country", nil], ["created_at", Sat, 23 Feb 2013 02:04:05 UTC +00:00], ["extra", nil], ["label", nil], ["locale", nil], ["primary", nil], ["type", "EasyContact::Name"], ["updated_at", Sat, 23 Feb 2013 02:04:05 UTC +00:00]]
|
68
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
69
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "easy_contact_entries" WHERE "easy_contact_entries"."type" IN ('EasyContact::Name') AND "easy_contact_entries"."contactable_id" = 1[0m
|
70
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "easy_contact_entries" WHERE "easy_contact_entries"."contactable_id" = 1
|
71
|
+
[1m[36m (2.2ms)[0m [1mrollback transaction[0m
|
72
|
+
[1m[35m (0.1ms)[0m begin transaction
|
73
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
74
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 23 Feb 2013 02:04:05 UTC +00:00], ["updated_at", Sat, 23 Feb 2013 02:04:05 UTC +00:00]]
|
75
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "easy_contact_entries" ("addition", "contactable_id", "content", "country", "created_at", "extra", "label", "locale", "primary", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["addition", nil], ["contactable_id", 1], ["content", "first entry"], ["country", nil], ["created_at", Sat, 23 Feb 2013 02:04:05 UTC +00:00], ["extra", nil], ["label", nil], ["locale", nil], ["primary", nil], ["type", nil], ["updated_at", Sat, 23 Feb 2013 02:04:05 UTC +00:00]]
|
76
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "easy_contact_entries" ("addition", "contactable_id", "content", "country", "created_at", "extra", "label", "locale", "primary", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["addition", nil], ["contactable_id", 1], ["content", "second entry"], ["country", nil], ["created_at", Sat, 23 Feb 2013 02:04:05 UTC +00:00], ["extra", nil], ["label", nil], ["locale", nil], ["primary", nil], ["type", nil], ["updated_at", Sat, 23 Feb 2013 02:04:05 UTC +00:00]]
|
77
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
78
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "easy_contact_entries" WHERE "easy_contact_entries"."contactable_id" = 1
|
79
|
+
[1m[36m (35.1ms)[0m [1mrollback transaction[0m
|
80
|
+
Connecting to database specified by database.yml
|
81
|
+
[1m[36m (0.4ms)[0m [1mbegin transaction[0m
|
82
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
83
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
84
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
85
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
86
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
87
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
88
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
89
|
+
Connecting to database specified by database.yml
|
90
|
+
[1m[36m (0.4ms)[0m [1mbegin transaction[0m
|
91
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
92
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
93
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
94
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
95
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
96
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
97
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
98
|
+
Connecting to database specified by database.yml
|
99
|
+
[1m[36m (0.4ms)[0m [1mbegin transaction[0m
|
100
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
101
|
+
[1m[36mSQL (123.9ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 23 Feb 2013 03:11:30 UTC +00:00], ["updated_at", Sat, 23 Feb 2013 03:11:30 UTC +00:00]]
|
102
|
+
[1m[35mSQL (2.4ms)[0m INSERT INTO "easy_contact_entries" ("addition", "contactable_id", "content", "country", "created_at", "extra", "label", "locale", "primary", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["addition", nil], ["contactable_id", 1], ["content", "first entry"], ["country", nil], ["created_at", Sat, 23 Feb 2013 03:11:30 UTC +00:00], ["extra", nil], ["label", nil], ["locale", nil], ["primary", nil], ["type", nil], ["updated_at", Sat, 23 Feb 2013 03:11:30 UTC +00:00]]
|
103
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "easy_contact_entries" ("addition", "contactable_id", "content", "country", "created_at", "extra", "label", "locale", "primary", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["addition", nil], ["contactable_id", 1], ["content", "second entry"], ["country", nil], ["created_at", Sat, 23 Feb 2013 03:11:30 UTC +00:00], ["extra", nil], ["label", nil], ["locale", nil], ["primary", nil], ["type", nil], ["updated_at", Sat, 23 Feb 2013 03:11:30 UTC +00:00]]
|
104
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
105
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "easy_contact_entries" WHERE "easy_contact_entries"."contactable_id" = 1[0m
|
106
|
+
[1m[35m (1.3ms)[0m rollback transaction
|
107
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
108
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
109
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 23 Feb 2013 03:11:30 UTC +00:00], ["updated_at", Sat, 23 Feb 2013 03:11:30 UTC +00:00]]
|
110
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "easy_contact_entries" ("addition", "contactable_id", "content", "country", "created_at", "extra", "label", "locale", "primary", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["addition", nil], ["contactable_id", 1], ["content", "first name"], ["country", nil], ["created_at", Sat, 23 Feb 2013 03:11:31 UTC +00:00], ["extra", nil], ["label", nil], ["locale", nil], ["primary", nil], ["type", "EasyContact::Name"], ["updated_at", Sat, 23 Feb 2013 03:11:31 UTC +00:00]]
|
111
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "easy_contact_entries" ("addition", "contactable_id", "content", "country", "created_at", "extra", "label", "locale", "primary", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["addition", nil], ["contactable_id", 1], ["content", "second name"], ["country", nil], ["created_at", Sat, 23 Feb 2013 03:11:31 UTC +00:00], ["extra", nil], ["label", nil], ["locale", nil], ["primary", nil], ["type", "EasyContact::Name"], ["updated_at", Sat, 23 Feb 2013 03:11:31 UTC +00:00]]
|
112
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
113
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "easy_contact_entries" WHERE "easy_contact_entries"."type" IN ('EasyContact::Name') AND "easy_contact_entries"."contactable_id" = 1[0m
|
114
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "easy_contact_entries" WHERE "easy_contact_entries"."contactable_id" = 1
|
115
|
+
[1m[36m (0.9ms)[0m [1mrollback transaction[0m
|
116
|
+
[1m[35m (0.1ms)[0m begin transaction
|
117
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
118
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 23 Feb 2013 03:11:31 UTC +00:00], ["updated_at", Sat, 23 Feb 2013 03:11:31 UTC +00:00]]
|
119
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "easy_contact_entries" ("addition", "contactable_id", "content", "country", "created_at", "extra", "label", "locale", "primary", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["addition", nil], ["contactable_id", 1], ["content", "second name"], ["country", nil], ["created_at", Sat, 23 Feb 2013 03:11:31 UTC +00:00], ["extra", nil], ["label", nil], ["locale", nil], ["primary", nil], ["type", "EasyContact::Name"], ["updated_at", Sat, 23 Feb 2013 03:11:31 UTC +00:00]]
|
120
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
121
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "easy_contact_entries" WHERE "easy_contact_entries"."type" IN ('EasyContact::Name') AND "easy_contact_entries"."contactable_id" = 1[0m
|
122
|
+
[1m[35m (0.9ms)[0m rollback transaction
|
123
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
124
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
125
|
+
[1m[36m (0.6ms)[0m [1mbegin transaction[0m
|
126
|
+
---------------------------
|
127
|
+
EasyContactTest: test_truth
|
128
|
+
---------------------------
|
129
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
130
|
+
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
131
|
+
---------------------------
|
132
|
+
EasyContactTest: test_works
|
133
|
+
---------------------------
|
134
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
135
|
+
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
136
|
+
---------------------------
|
137
|
+
EasyContactTest: test_truth
|
138
|
+
---------------------------
|
139
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
140
|
+
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
141
|
+
---------------------------
|
142
|
+
EasyContactTest: test_truth
|
143
|
+
---------------------------
|
144
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
145
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
146
|
+
---------------------------
|
147
|
+
EasyContactTest: test_works
|
148
|
+
---------------------------
|
149
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
150
|
+
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
151
|
+
-------------------------------------------------------------
|
152
|
+
EasyContact::Entry::Basic: test_0001_create nested attributes
|
153
|
+
-------------------------------------------------------------
|
154
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
155
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
156
|
+
--------------------------------------------------------
|
157
|
+
EasyContact::Entry::Basic: test_0002_create nested names
|
158
|
+
--------------------------------------------------------
|
159
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
160
|
+
[1m[36mSQL (71.9ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Mon, 15 Jul 2013 07:25:40 UTC +00:00], ["updated_at", Mon, 15 Jul 2013 07:25:40 UTC +00:00]]
|
161
|
+
[1m[35mSQL (2.4ms)[0m INSERT INTO "easy_contact_entries" ("contactable_id", "content", "created_at", "type", "updated_at") VALUES (?, ?, ?, ?, ?) [["contactable_id", 1], ["content", "first name"], ["created_at", Mon, 15 Jul 2013 07:25:40 UTC +00:00], ["type", "EasyContact::Name"], ["updated_at", Mon, 15 Jul 2013 07:25:40 UTC +00:00]]
|
162
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "easy_contact_entries" ("contactable_id", "content", "created_at", "type", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["contactable_id", 1], ["content", "second name"], ["created_at", Mon, 15 Jul 2013 07:25:40 UTC +00:00], ["type", "EasyContact::Name"], ["updated_at", Mon, 15 Jul 2013 07:25:40 UTC +00:00]]
|
163
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
164
|
+
[1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM "easy_contact_entries" WHERE "easy_contact_entries"."type" IN ('EasyContact::Name') AND "easy_contact_entries"."contactable_id" = ?[0m [["contactable_id", 1]]
|
165
|
+
[1m[35m (24.6ms)[0m rollback transaction
|
166
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
167
|
+
-------------------------------------------------------
|
168
|
+
EasyContact::Entry::Basic: test_0003_reject blank field
|
169
|
+
-------------------------------------------------------
|
170
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
171
|
+
[1m[36mSQL (0.6ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Mon, 15 Jul 2013 07:25:40 UTC +00:00], ["updated_at", Mon, 15 Jul 2013 07:25:40 UTC +00:00]]
|
172
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "easy_contact_entries" ("contactable_id", "content", "created_at", "type", "updated_at") VALUES (?, ?, ?, ?, ?) [["contactable_id", 1], ["content", "second name"], ["created_at", Mon, 15 Jul 2013 07:25:40 UTC +00:00], ["type", "EasyContact::Name"], ["updated_at", Mon, 15 Jul 2013 07:25:40 UTC +00:00]]
|
173
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
174
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "easy_contact_entries" WHERE "easy_contact_entries"."type" IN ('EasyContact::Name') AND "easy_contact_entries"."contactable_id" = ? [["contactable_id", 1]]
|
175
|
+
[1m[36m (1.0ms)[0m [1mrollback transaction[0m
|
176
|
+
[1m[35m (0.1ms)[0m begin transaction
|
177
|
+
---------------------------
|
178
|
+
EasyContactTest: test_truth
|
179
|
+
---------------------------
|
180
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
181
|
+
[1m[35m (0.0ms)[0m begin transaction
|
182
|
+
---------------------------
|
183
|
+
EasyContactTest: test_works
|
184
|
+
---------------------------
|
185
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
186
|
+
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
187
|
+
-------------------------------------------------------------
|
188
|
+
EasyContact::Entry::Basic: test_0001_create nested attributes
|
189
|
+
-------------------------------------------------------------
|
190
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
191
|
+
[1m[36mSQL (3.4ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Mon, 15 Jul 2013 07:33:35 UTC +00:00], ["updated_at", Mon, 15 Jul 2013 07:33:35 UTC +00:00]]
|
192
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "easy_contact_entries" ("contactable_id", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["contactable_id", 1], ["content", "first entry"], ["created_at", Mon, 15 Jul 2013 07:33:35 UTC +00:00], ["updated_at", Mon, 15 Jul 2013 07:33:35 UTC +00:00]]
|
193
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "easy_contact_entries" ("contactable_id", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["contactable_id", 1], ["content", "second entry"], ["created_at", Mon, 15 Jul 2013 07:33:35 UTC +00:00], ["updated_at", Mon, 15 Jul 2013 07:33:35 UTC +00:00]]
|
194
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
195
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "easy_contact_entries" WHERE "easy_contact_entries"."contactable_id" = ?[0m [["contactable_id", 1]]
|
196
|
+
[1m[35m (2.7ms)[0m rollback transaction
|
197
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
198
|
+
--------------------------------------------------------
|
199
|
+
EasyContact::Entry::Basic: test_0002_create nested names
|
200
|
+
--------------------------------------------------------
|
201
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
202
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Mon, 15 Jul 2013 07:33:35 UTC +00:00], ["updated_at", Mon, 15 Jul 2013 07:33:35 UTC +00:00]]
|
203
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "easy_contact_entries" ("contactable_id", "content", "created_at", "type", "updated_at") VALUES (?, ?, ?, ?, ?) [["contactable_id", 1], ["content", "first name"], ["created_at", Mon, 15 Jul 2013 07:33:35 UTC +00:00], ["type", "EasyContact::Name"], ["updated_at", Mon, 15 Jul 2013 07:33:35 UTC +00:00]]
|
204
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "easy_contact_entries" ("contactable_id", "content", "created_at", "type", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["contactable_id", 1], ["content", "second name"], ["created_at", Mon, 15 Jul 2013 07:33:35 UTC +00:00], ["type", "EasyContact::Name"], ["updated_at", Mon, 15 Jul 2013 07:33:35 UTC +00:00]]
|
205
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
206
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "easy_contact_entries" WHERE "easy_contact_entries"."type" IN ('EasyContact::Name') AND "easy_contact_entries"."contactable_id" = ?[0m [["contactable_id", 1]]
|
207
|
+
[1m[35m (10.1ms)[0m rollback transaction
|
208
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
209
|
+
-------------------------------------------------------
|
210
|
+
EasyContact::Entry::Basic: test_0003_reject blank field
|
211
|
+
-------------------------------------------------------
|
212
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
213
|
+
[1m[36mSQL (0.6ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Mon, 15 Jul 2013 07:33:35 UTC +00:00], ["updated_at", Mon, 15 Jul 2013 07:33:35 UTC +00:00]]
|
214
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "easy_contact_entries" ("contactable_id", "content", "created_at", "type", "updated_at") VALUES (?, ?, ?, ?, ?) [["contactable_id", 1], ["content", "second name"], ["created_at", Mon, 15 Jul 2013 07:33:35 UTC +00:00], ["type", "EasyContact::Name"], ["updated_at", Mon, 15 Jul 2013 07:33:35 UTC +00:00]]
|
215
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
216
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "easy_contact_entries" WHERE "easy_contact_entries"."type" IN ('EasyContact::Name') AND "easy_contact_entries"."contactable_id" = ? [["contactable_id", 1]]
|
217
|
+
[1m[36m (1.0ms)[0m [1mrollback transaction[0m
|
218
|
+
[1m[35m (0.1ms)[0m begin transaction
|
219
|
+
---------------------------
|
220
|
+
EasyContactTest: test_truth
|
221
|
+
---------------------------
|
222
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
223
|
+
[1m[35m (0.0ms)[0m begin transaction
|
224
|
+
---------------------------
|
225
|
+
EasyContactTest: test_works
|
226
|
+
---------------------------
|
227
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
228
|
+
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
229
|
+
-------------------------------------------------------------
|
230
|
+
EasyContact::Entry::Basic: test_0001_create nested attributes
|
231
|
+
-------------------------------------------------------------
|
232
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
233
|
+
[1m[36mSQL (2.4ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Mon, 15 Jul 2013 07:35:00 UTC +00:00], ["updated_at", Mon, 15 Jul 2013 07:35:00 UTC +00:00]]
|
234
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "easy_contact_entries" ("contactable_id", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["contactable_id", 1], ["content", "first entry"], ["created_at", Mon, 15 Jul 2013 07:35:00 UTC +00:00], ["updated_at", Mon, 15 Jul 2013 07:35:00 UTC +00:00]]
|
235
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "easy_contact_entries" ("contactable_id", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["contactable_id", 1], ["content", "second entry"], ["created_at", Mon, 15 Jul 2013 07:35:00 UTC +00:00], ["updated_at", Mon, 15 Jul 2013 07:35:00 UTC +00:00]]
|
236
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
237
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "easy_contact_entries" WHERE "easy_contact_entries"."contactable_id" = ?[0m [["contactable_id", 1]]
|
238
|
+
[1m[35m (1.3ms)[0m rollback transaction
|
239
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
240
|
+
--------------------------------------------------------
|
241
|
+
EasyContact::Entry::Basic: test_0002_create nested names
|
242
|
+
--------------------------------------------------------
|
243
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
244
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Mon, 15 Jul 2013 07:35:00 UTC +00:00], ["updated_at", Mon, 15 Jul 2013 07:35:00 UTC +00:00]]
|
245
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "easy_contact_entries" ("contactable_id", "content", "created_at", "type", "updated_at") VALUES (?, ?, ?, ?, ?) [["contactable_id", 1], ["content", "first name"], ["created_at", Mon, 15 Jul 2013 07:35:00 UTC +00:00], ["type", "EasyContact::Name"], ["updated_at", Mon, 15 Jul 2013 07:35:00 UTC +00:00]]
|
246
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "easy_contact_entries" ("contactable_id", "content", "created_at", "type", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["contactable_id", 1], ["content", "second name"], ["created_at", Mon, 15 Jul 2013 07:35:00 UTC +00:00], ["type", "EasyContact::Name"], ["updated_at", Mon, 15 Jul 2013 07:35:00 UTC +00:00]]
|
247
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
248
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "easy_contact_entries" WHERE "easy_contact_entries"."type" IN ('EasyContact::Name') AND "easy_contact_entries"."contactable_id" = ?[0m [["contactable_id", 1]]
|
249
|
+
[1m[35m (3.7ms)[0m rollback transaction
|
250
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
251
|
+
-------------------------------------------------------
|
252
|
+
EasyContact::Entry::Basic: test_0003_reject blank field
|
253
|
+
-------------------------------------------------------
|
254
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
255
|
+
[1m[36mSQL (0.7ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Mon, 15 Jul 2013 07:35:00 UTC +00:00], ["updated_at", Mon, 15 Jul 2013 07:35:00 UTC +00:00]]
|
256
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "easy_contact_entries" ("contactable_id", "content", "created_at", "type", "updated_at") VALUES (?, ?, ?, ?, ?) [["contactable_id", 1], ["content", "second name"], ["created_at", Mon, 15 Jul 2013 07:35:00 UTC +00:00], ["type", "EasyContact::Name"], ["updated_at", Mon, 15 Jul 2013 07:35:00 UTC +00:00]]
|
257
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
258
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "easy_contact_entries" WHERE "easy_contact_entries"."type" IN ('EasyContact::Name') AND "easy_contact_entries"."contactable_id" = ? [["contactable_id", 1]]
|
259
|
+
[1m[36m (3.0ms)[0m [1mrollback transaction[0m
|
260
|
+
[1m[35m (0.1ms)[0m begin transaction
|
261
|
+
---------------------------
|
262
|
+
EasyContactTest: test_truth
|
263
|
+
---------------------------
|
264
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
265
|
+
[1m[35m (0.1ms)[0m begin transaction
|
266
|
+
---------------------------
|
267
|
+
EasyContactTest: test_works
|
268
|
+
---------------------------
|
269
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
270
|
+
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
271
|
+
-------------------------------------------------------------
|
272
|
+
EasyContact::Entry::Basic: test_0001_create nested attributes
|
273
|
+
-------------------------------------------------------------
|
274
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
275
|
+
[1m[36mSQL (2.4ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Mon, 15 Jul 2013 07:36:03 UTC +00:00], ["updated_at", Mon, 15 Jul 2013 07:36:03 UTC +00:00]]
|
276
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "easy_contact_entries" ("contactable_id", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["contactable_id", 1], ["content", "first entry"], ["created_at", Mon, 15 Jul 2013 07:36:03 UTC +00:00], ["updated_at", Mon, 15 Jul 2013 07:36:03 UTC +00:00]]
|
277
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "easy_contact_entries" ("contactable_id", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["contactable_id", 1], ["content", "second entry"], ["created_at", Mon, 15 Jul 2013 07:36:03 UTC +00:00], ["updated_at", Mon, 15 Jul 2013 07:36:03 UTC +00:00]]
|
278
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
279
|
+
[1m[36m (2.2ms)[0m [1mrollback transaction[0m
|
280
|
+
[1m[35m (0.1ms)[0m begin transaction
|
281
|
+
---------------------------
|
282
|
+
EasyContactTest: test_truth
|
283
|
+
---------------------------
|
284
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
285
|
+
[1m[35m (0.0ms)[0m begin transaction
|
286
|
+
---------------------------
|
287
|
+
EasyContactTest: test_works
|
288
|
+
---------------------------
|
289
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
290
|
+
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
291
|
+
-------------------------------------------------------------
|
292
|
+
EasyContact::Entry::Basic: test_0001_create nested attributes
|
293
|
+
-------------------------------------------------------------
|
294
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
295
|
+
[1m[36mSQL (3.7ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Mon, 15 Jul 2013 07:36:18 UTC +00:00], ["updated_at", Mon, 15 Jul 2013 07:36:18 UTC +00:00]]
|
296
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "easy_contact_entries" ("contactable_id", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["contactable_id", 1], ["content", "first entry"], ["created_at", Mon, 15 Jul 2013 07:36:18 UTC +00:00], ["updated_at", Mon, 15 Jul 2013 07:36:18 UTC +00:00]]
|
297
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "easy_contact_entries" ("contactable_id", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["contactable_id", 1], ["content", "second entry"], ["created_at", Mon, 15 Jul 2013 07:36:18 UTC +00:00], ["updated_at", Mon, 15 Jul 2013 07:36:18 UTC +00:00]]
|
298
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
299
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "easy_contact_entries" WHERE "easy_contact_entries"."contactable_id" = ?[0m [["contactable_id", 1]]
|
300
|
+
[1m[35m (2.4ms)[0m rollback transaction
|
301
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
302
|
+
---------------------------
|
303
|
+
EasyContactTest: test_truth
|
304
|
+
---------------------------
|
305
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
306
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
307
|
+
---------------------------
|
308
|
+
EasyContactTest: test_works
|
309
|
+
---------------------------
|
310
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
311
|
+
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
312
|
+
-------------------------------------------------------------
|
313
|
+
EasyContact::Entry::Basic: test_0001_create nested attributes
|
314
|
+
-------------------------------------------------------------
|
315
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
316
|
+
[1m[36mSQL (2.5ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Mon, 15 Jul 2013 07:36:35 UTC +00:00], ["updated_at", Mon, 15 Jul 2013 07:36:35 UTC +00:00]]
|
317
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "easy_contact_entries" ("contactable_id", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["contactable_id", 1], ["content", "first entry"], ["created_at", Mon, 15 Jul 2013 07:36:35 UTC +00:00], ["updated_at", Mon, 15 Jul 2013 07:36:35 UTC +00:00]]
|
318
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "easy_contact_entries" ("contactable_id", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["contactable_id", 1], ["content", "second entry"], ["created_at", Mon, 15 Jul 2013 07:36:35 UTC +00:00], ["updated_at", Mon, 15 Jul 2013 07:36:35 UTC +00:00]]
|
319
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
320
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "easy_contact_entries" WHERE "easy_contact_entries"."contactable_id" = ?[0m [["contactable_id", 1]]
|
321
|
+
[1m[35m (2.9ms)[0m rollback transaction
|
322
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
323
|
+
---------------------------
|
324
|
+
EasyContactTest: test_truth
|
325
|
+
---------------------------
|
326
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
327
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
328
|
+
---------------------------
|
329
|
+
EasyContactTest: test_works
|
330
|
+
---------------------------
|
331
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
332
|
+
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
333
|
+
-------------------------------------------------------------
|
334
|
+
EasyContact::Entry::Basic: test_0001_create nested attributes
|
335
|
+
-------------------------------------------------------------
|
336
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
337
|
+
[1m[36mSQL (2.3ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Mon, 15 Jul 2013 07:37:17 UTC +00:00], ["updated_at", Mon, 15 Jul 2013 07:37:17 UTC +00:00]]
|
338
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "easy_contact_entries" ("contactable_id", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["contactable_id", 1], ["content", "first entry"], ["created_at", Mon, 15 Jul 2013 07:37:17 UTC +00:00], ["updated_at", Mon, 15 Jul 2013 07:37:17 UTC +00:00]]
|
339
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "easy_contact_entries" ("contactable_id", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["contactable_id", 1], ["content", "second entry"], ["created_at", Mon, 15 Jul 2013 07:37:17 UTC +00:00], ["updated_at", Mon, 15 Jul 2013 07:37:17 UTC +00:00]]
|
340
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
341
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "easy_contact_entries" WHERE "easy_contact_entries"."contactable_id" = ?[0m [["contactable_id", 1]]
|
342
|
+
[1m[35m (2.6ms)[0m rollback transaction
|
343
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
344
|
+
---------------------------
|
345
|
+
EasyContactTest: test_truth
|
346
|
+
---------------------------
|
347
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
348
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
349
|
+
---------------------------
|
350
|
+
EasyContactTest: test_works
|
351
|
+
---------------------------
|
352
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
353
|
+
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
354
|
+
-------------------------------------------------------------
|
355
|
+
EasyContact::Entry::Basic: test_0001_create nested attributes
|
356
|
+
-------------------------------------------------------------
|
357
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
358
|
+
[1m[36mSQL (2.4ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Mon, 15 Jul 2013 07:37:33 UTC +00:00], ["updated_at", Mon, 15 Jul 2013 07:37:33 UTC +00:00]]
|
359
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "easy_contact_entries" ("contactable_id", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["contactable_id", 1], ["content", "first entry"], ["created_at", Mon, 15 Jul 2013 07:37:33 UTC +00:00], ["updated_at", Mon, 15 Jul 2013 07:37:33 UTC +00:00]]
|
360
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "easy_contact_entries" ("contactable_id", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["contactable_id", 1], ["content", "second entry"], ["created_at", Mon, 15 Jul 2013 07:37:33 UTC +00:00], ["updated_at", Mon, 15 Jul 2013 07:37:33 UTC +00:00]]
|
361
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
362
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "easy_contact_entries" WHERE "easy_contact_entries"."contactable_id" = ?[0m [["contactable_id", 1]]
|
363
|
+
[1m[35m (2.5ms)[0m rollback transaction
|
364
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
365
|
+
--------------------------------------------------------
|
366
|
+
EasyContact::Entry::Basic: test_0002_create nested names
|
367
|
+
--------------------------------------------------------
|
368
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
369
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Mon, 15 Jul 2013 07:37:33 UTC +00:00], ["updated_at", Mon, 15 Jul 2013 07:37:33 UTC +00:00]]
|
370
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "easy_contact_entries" ("contactable_id", "content", "created_at", "type", "updated_at") VALUES (?, ?, ?, ?, ?) [["contactable_id", 1], ["content", "first name"], ["created_at", Mon, 15 Jul 2013 07:37:33 UTC +00:00], ["type", "EasyContact::Name"], ["updated_at", Mon, 15 Jul 2013 07:37:33 UTC +00:00]]
|
371
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "easy_contact_entries" ("contactable_id", "content", "created_at", "type", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["contactable_id", 1], ["content", "second name"], ["created_at", Mon, 15 Jul 2013 07:37:33 UTC +00:00], ["type", "EasyContact::Name"], ["updated_at", Mon, 15 Jul 2013 07:37:33 UTC +00:00]]
|
372
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
373
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "easy_contact_entries" WHERE "easy_contact_entries"."type" IN ('EasyContact::Name') AND "easy_contact_entries"."contactable_id" = ?[0m [["contactable_id", 1]]
|
374
|
+
[1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "easy_contact_entries" WHERE "easy_contact_entries"."contactable_id" = ? [["contactable_id", 1]]
|
375
|
+
[1m[36m (20.3ms)[0m [1mrollback transaction[0m
|
376
|
+
[1m[35m (0.1ms)[0m begin transaction
|
377
|
+
-------------------------------------------------------
|
378
|
+
EasyContact::Entry::Basic: test_0003_reject blank field
|
379
|
+
-------------------------------------------------------
|
380
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
381
|
+
[1m[35mSQL (0.6ms)[0m INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Mon, 15 Jul 2013 07:37:33 UTC +00:00], ["updated_at", Mon, 15 Jul 2013 07:37:33 UTC +00:00]]
|
382
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "easy_contact_entries" ("contactable_id", "content", "created_at", "type", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["contactable_id", 1], ["content", "second name"], ["created_at", Mon, 15 Jul 2013 07:37:33 UTC +00:00], ["type", "EasyContact::Name"], ["updated_at", Mon, 15 Jul 2013 07:37:33 UTC +00:00]]
|
383
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
384
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "easy_contact_entries" WHERE "easy_contact_entries"."type" IN ('EasyContact::Name') AND "easy_contact_entries"."contactable_id" = ?[0m [["contactable_id", 1]]
|
385
|
+
[1m[35m (1.3ms)[0m rollback transaction
|
386
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
387
|
+
---------------------------
|
388
|
+
EasyContactTest: test_truth
|
389
|
+
---------------------------
|
390
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
391
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
392
|
+
---------------------------
|
393
|
+
EasyContactTest: test_works
|
394
|
+
---------------------------
|
395
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
396
|
+
[1m[36m (0.4ms)[0m [1mbegin transaction[0m
|
397
|
+
-------------------------------------------------------------
|
398
|
+
EasyContact::Entry::Basic: test_0001_create nested attributes
|
399
|
+
-------------------------------------------------------------
|
400
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
401
|
+
[1m[36mSQL (2.9ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Mon, 15 Jul 2013 07:38:16 UTC +00:00], ["updated_at", Mon, 15 Jul 2013 07:38:16 UTC +00:00]]
|
402
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "easy_contact_entries" ("contactable_id", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["contactable_id", 1], ["content", "first entry"], ["created_at", Mon, 15 Jul 2013 07:38:16 UTC +00:00], ["updated_at", Mon, 15 Jul 2013 07:38:16 UTC +00:00]]
|
403
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "easy_contact_entries" ("contactable_id", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["contactable_id", 1], ["content", "second entry"], ["created_at", Mon, 15 Jul 2013 07:38:16 UTC +00:00], ["updated_at", Mon, 15 Jul 2013 07:38:16 UTC +00:00]]
|
404
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
405
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "easy_contact_entries" WHERE "easy_contact_entries"."contactable_id" = ?[0m [["contactable_id", 1]]
|
406
|
+
[1m[35m (1.0ms)[0m rollback transaction
|
407
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
408
|
+
--------------------------------------------------------
|
409
|
+
EasyContact::Entry::Basic: test_0002_create nested names
|
410
|
+
--------------------------------------------------------
|
411
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
412
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Mon, 15 Jul 2013 07:38:16 UTC +00:00], ["updated_at", Mon, 15 Jul 2013 07:38:16 UTC +00:00]]
|
413
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "easy_contact_entries" ("contactable_id", "content", "created_at", "type", "updated_at") VALUES (?, ?, ?, ?, ?) [["contactable_id", 1], ["content", "first name"], ["created_at", Mon, 15 Jul 2013 07:38:16 UTC +00:00], ["type", "EasyContact::Name"], ["updated_at", Mon, 15 Jul 2013 07:38:16 UTC +00:00]]
|
414
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "easy_contact_entries" ("contactable_id", "content", "created_at", "type", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["contactable_id", 1], ["content", "second name"], ["created_at", Mon, 15 Jul 2013 07:38:16 UTC +00:00], ["type", "EasyContact::Name"], ["updated_at", Mon, 15 Jul 2013 07:38:16 UTC +00:00]]
|
415
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
416
|
+
[1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM "easy_contact_entries" WHERE "easy_contact_entries"."type" IN ('EasyContact::Name') AND "easy_contact_entries"."contactable_id" = ?[0m [["contactable_id", 1]]
|
417
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "easy_contact_entries" WHERE "easy_contact_entries"."contactable_id" = ? [["contactable_id", 1]]
|
418
|
+
[1m[36m (0.9ms)[0m [1mrollback transaction[0m
|
419
|
+
[1m[35m (0.1ms)[0m begin transaction
|
420
|
+
-------------------------------------------------------
|
421
|
+
EasyContact::Entry::Basic: test_0003_reject blank field
|
422
|
+
-------------------------------------------------------
|
423
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
424
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Mon, 15 Jul 2013 07:38:16 UTC +00:00], ["updated_at", Mon, 15 Jul 2013 07:38:16 UTC +00:00]]
|
425
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "easy_contact_entries" ("contactable_id", "content", "created_at", "type", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["contactable_id", 1], ["content", "second name"], ["created_at", Mon, 15 Jul 2013 07:38:16 UTC +00:00], ["type", "EasyContact::Name"], ["updated_at", Mon, 15 Jul 2013 07:38:16 UTC +00:00]]
|
426
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
427
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "easy_contact_entries" WHERE "easy_contact_entries"."type" IN ('EasyContact::Name') AND "easy_contact_entries"."contactable_id" = ?[0m [["contactable_id", 1]]
|
428
|
+
[1m[35m (0.9ms)[0m rollback transaction
|
429
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
430
|
+
---------------------------
|
431
|
+
EasyContactTest: test_truth
|
432
|
+
---------------------------
|
433
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
434
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
435
|
+
---------------------------
|
436
|
+
EasyContactTest: test_works
|
437
|
+
---------------------------
|
438
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
439
|
+
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
440
|
+
-------------------------------------------------------------
|
441
|
+
EasyContact::Entry::Basic: test_0001_create nested attributes
|
442
|
+
-------------------------------------------------------------
|
443
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
444
|
+
[1m[36mSQL (2.6ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Mon, 15 Jul 2013 07:39:10 UTC +00:00], ["updated_at", Mon, 15 Jul 2013 07:39:10 UTC +00:00]]
|
445
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "easy_contact_entries" ("contactable_id", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["contactable_id", 1], ["content", "first entry"], ["created_at", Mon, 15 Jul 2013 07:39:10 UTC +00:00], ["updated_at", Mon, 15 Jul 2013 07:39:10 UTC +00:00]]
|
446
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "easy_contact_entries" ("contactable_id", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["contactable_id", 1], ["content", "second entry"], ["created_at", Mon, 15 Jul 2013 07:39:10 UTC +00:00], ["updated_at", Mon, 15 Jul 2013 07:39:10 UTC +00:00]]
|
447
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
448
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "easy_contact_entries" WHERE "easy_contact_entries"."contactable_id" = ?[0m [["contactable_id", 1]]
|
449
|
+
[1m[35m (0.9ms)[0m rollback transaction
|
450
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
451
|
+
--------------------------------------------------------
|
452
|
+
EasyContact::Entry::Basic: test_0002_create nested names
|
453
|
+
--------------------------------------------------------
|
454
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
455
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Mon, 15 Jul 2013 07:39:10 UTC +00:00], ["updated_at", Mon, 15 Jul 2013 07:39:10 UTC +00:00]]
|
456
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "easy_contact_entries" ("contactable_id", "content", "created_at", "type", "updated_at") VALUES (?, ?, ?, ?, ?) [["contactable_id", 1], ["content", "first name"], ["created_at", Mon, 15 Jul 2013 07:39:10 UTC +00:00], ["type", "EasyContact::Name"], ["updated_at", Mon, 15 Jul 2013 07:39:10 UTC +00:00]]
|
457
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "easy_contact_entries" ("contactable_id", "content", "created_at", "type", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["contactable_id", 1], ["content", "second name"], ["created_at", Mon, 15 Jul 2013 07:39:10 UTC +00:00], ["type", "EasyContact::Name"], ["updated_at", Mon, 15 Jul 2013 07:39:10 UTC +00:00]]
|
458
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
459
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "easy_contact_entries" WHERE "easy_contact_entries"."type" IN ('EasyContact::Name') AND "easy_contact_entries"."contactable_id" = ?[0m [["contactable_id", 1]]
|
460
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "easy_contact_entries" WHERE "easy_contact_entries"."contactable_id" = ? [["contactable_id", 1]]
|
461
|
+
[1m[36m (0.9ms)[0m [1mrollback transaction[0m
|
462
|
+
[1m[35m (0.0ms)[0m begin transaction
|
463
|
+
-------------------------------------------------------
|
464
|
+
EasyContact::Entry::Basic: test_0003_reject blank field
|
465
|
+
-------------------------------------------------------
|
466
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
467
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Mon, 15 Jul 2013 07:39:10 UTC +00:00], ["updated_at", Mon, 15 Jul 2013 07:39:10 UTC +00:00]]
|
468
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "easy_contact_entries" ("contactable_id", "content", "created_at", "type", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["contactable_id", 1], ["content", "second name"], ["created_at", Mon, 15 Jul 2013 07:39:10 UTC +00:00], ["type", "EasyContact::Name"], ["updated_at", Mon, 15 Jul 2013 07:39:10 UTC +00:00]]
|
469
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
470
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "easy_contact_entries" WHERE "easy_contact_entries"."type" IN ('EasyContact::Name') AND "easy_contact_entries"."contactable_id" = ?[0m [["contactable_id", 1]]
|
471
|
+
[1m[35m (0.8ms)[0m rollback transaction
|
472
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
473
|
+
---------------------------
|
474
|
+
EasyContactTest: test_truth
|
475
|
+
---------------------------
|
476
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
477
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
478
|
+
---------------------------
|
479
|
+
EasyContactTest: test_works
|
480
|
+
---------------------------
|
481
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
482
|
+
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
483
|
+
-------------------------------------------------------------
|
484
|
+
EasyContact::Entry::Basic: test_0001_create nested attributes
|
485
|
+
-------------------------------------------------------------
|
486
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
487
|
+
[1m[36mSQL (2.5ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Mon, 15 Jul 2013 07:43:09 UTC +00:00], ["updated_at", Mon, 15 Jul 2013 07:43:09 UTC +00:00]]
|
488
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "easy_contact_entries" ("contactable_id", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["contactable_id", 1], ["content", "first entry"], ["created_at", Mon, 15 Jul 2013 07:43:09 UTC +00:00], ["updated_at", Mon, 15 Jul 2013 07:43:09 UTC +00:00]]
|
489
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "easy_contact_entries" ("contactable_id", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["contactable_id", 1], ["content", "second entry"], ["created_at", Mon, 15 Jul 2013 07:43:09 UTC +00:00], ["updated_at", Mon, 15 Jul 2013 07:43:09 UTC +00:00]]
|
490
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
491
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "easy_contact_entries" WHERE "easy_contact_entries"."contactable_id" = ?[0m [["contactable_id", 1]]
|
492
|
+
[1m[35m (2.5ms)[0m rollback transaction
|
493
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
494
|
+
--------------------------------------------------------
|
495
|
+
EasyContact::Entry::Basic: test_0002_create nested names
|
496
|
+
--------------------------------------------------------
|
497
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
498
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Mon, 15 Jul 2013 07:43:09 UTC +00:00], ["updated_at", Mon, 15 Jul 2013 07:43:09 UTC +00:00]]
|
499
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "easy_contact_entries" ("contactable_id", "content", "created_at", "type", "updated_at") VALUES (?, ?, ?, ?, ?) [["contactable_id", 1], ["content", "first name"], ["created_at", Mon, 15 Jul 2013 07:43:09 UTC +00:00], ["type", "EasyContact::Name"], ["updated_at", Mon, 15 Jul 2013 07:43:09 UTC +00:00]]
|
500
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "easy_contact_entries" ("contactable_id", "content", "created_at", "type", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["contactable_id", 1], ["content", "second name"], ["created_at", Mon, 15 Jul 2013 07:43:09 UTC +00:00], ["type", "EasyContact::Name"], ["updated_at", Mon, 15 Jul 2013 07:43:09 UTC +00:00]]
|
501
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
502
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "easy_contact_entries" WHERE "easy_contact_entries"."type" IN ('EasyContact::Name') AND "easy_contact_entries"."contactable_id" = ?[0m [["contactable_id", 1]]
|
503
|
+
[1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "easy_contact_entries" WHERE "easy_contact_entries"."contactable_id" = ? [["contactable_id", 1]]
|
504
|
+
[1m[36m (0.9ms)[0m [1mrollback transaction[0m
|
505
|
+
[1m[35m (0.1ms)[0m begin transaction
|
506
|
+
-------------------------------------------------------
|
507
|
+
EasyContact::Entry::Basic: test_0003_reject blank field
|
508
|
+
-------------------------------------------------------
|
509
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
510
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Mon, 15 Jul 2013 07:43:09 UTC +00:00], ["updated_at", Mon, 15 Jul 2013 07:43:09 UTC +00:00]]
|
511
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "easy_contact_entries" ("contactable_id", "content", "created_at", "type", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["contactable_id", 1], ["content", "second name"], ["created_at", Mon, 15 Jul 2013 07:43:09 UTC +00:00], ["type", "EasyContact::Name"], ["updated_at", Mon, 15 Jul 2013 07:43:09 UTC +00:00]]
|
512
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
513
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "easy_contact_entries" WHERE "easy_contact_entries"."type" IN ('EasyContact::Name') AND "easy_contact_entries"."contactable_id" = ?[0m [["contactable_id", 1]]
|
514
|
+
[1m[35m (1.0ms)[0m rollback transaction
|
515
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
516
|
+
---------------------------
|
517
|
+
EasyContactTest: test_truth
|
518
|
+
---------------------------
|
519
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
520
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
521
|
+
---------------------------
|
522
|
+
EasyContactTest: test_works
|
523
|
+
---------------------------
|
524
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
525
|
+
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
526
|
+
-------------------------------------------------------------
|
527
|
+
EasyContact::Entry::Basic: test_0001_create nested attributes
|
528
|
+
-------------------------------------------------------------
|
529
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
530
|
+
[1m[36mSQL (2.3ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Tue, 16 Jul 2013 04:12:31 UTC +00:00], ["updated_at", Tue, 16 Jul 2013 04:12:31 UTC +00:00]]
|
531
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "easy_contact_entries" ("contactable_id", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["contactable_id", 1], ["content", "first entry"], ["created_at", Tue, 16 Jul 2013 04:12:31 UTC +00:00], ["updated_at", Tue, 16 Jul 2013 04:12:31 UTC +00:00]]
|
532
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "easy_contact_entries" ("contactable_id", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["contactable_id", 1], ["content", "second entry"], ["created_at", Tue, 16 Jul 2013 04:12:31 UTC +00:00], ["updated_at", Tue, 16 Jul 2013 04:12:31 UTC +00:00]]
|
533
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
534
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "easy_contact_entries" WHERE "easy_contact_entries"."contactable_id" = ?[0m [["contactable_id", 1]]
|
535
|
+
[1m[35m (1.0ms)[0m rollback transaction
|
536
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
537
|
+
--------------------------------------------------------
|
538
|
+
EasyContact::Entry::Basic: test_0002_create nested names
|
539
|
+
--------------------------------------------------------
|
540
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
541
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Tue, 16 Jul 2013 04:12:31 UTC +00:00], ["updated_at", Tue, 16 Jul 2013 04:12:31 UTC +00:00]]
|
542
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "easy_contact_entries" ("contactable_id", "content", "created_at", "type", "updated_at") VALUES (?, ?, ?, ?, ?) [["contactable_id", 1], ["content", "first name"], ["created_at", Tue, 16 Jul 2013 04:12:31 UTC +00:00], ["type", "EasyContact::Name"], ["updated_at", Tue, 16 Jul 2013 04:12:31 UTC +00:00]]
|
543
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "easy_contact_entries" ("contactable_id", "content", "created_at", "type", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["contactable_id", 1], ["content", "second name"], ["created_at", Tue, 16 Jul 2013 04:12:31 UTC +00:00], ["type", "EasyContact::Name"], ["updated_at", Tue, 16 Jul 2013 04:12:31 UTC +00:00]]
|
544
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
545
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "easy_contact_entries" WHERE "easy_contact_entries"."type" IN ('EasyContact::Name') AND "easy_contact_entries"."contactable_id" = ?[0m [["contactable_id", 1]]
|
546
|
+
[1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "easy_contact_entries" WHERE "easy_contact_entries"."contactable_id" = ? [["contactable_id", 1]]
|
547
|
+
[1m[36m (0.9ms)[0m [1mrollback transaction[0m
|
548
|
+
[1m[35m (0.1ms)[0m begin transaction
|
549
|
+
-------------------------------------------------------
|
550
|
+
EasyContact::Entry::Basic: test_0003_reject blank field
|
551
|
+
-------------------------------------------------------
|
552
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
553
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Tue, 16 Jul 2013 04:12:31 UTC +00:00], ["updated_at", Tue, 16 Jul 2013 04:12:31 UTC +00:00]]
|
554
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "easy_contact_entries" ("contactable_id", "content", "created_at", "type", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["contactable_id", 1], ["content", "second name"], ["created_at", Tue, 16 Jul 2013 04:12:31 UTC +00:00], ["type", "EasyContact::Name"], ["updated_at", Tue, 16 Jul 2013 04:12:31 UTC +00:00]]
|
555
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
556
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "easy_contact_entries" WHERE "easy_contact_entries"."type" IN ('EasyContact::Name') AND "easy_contact_entries"."contactable_id" = ?[0m [["contactable_id", 1]]
|
557
|
+
[1m[35m (2.6ms)[0m rollback transaction
|
558
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
559
|
+
---------------------------
|
560
|
+
EasyContactTest: test_truth
|
561
|
+
---------------------------
|
562
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
563
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
564
|
+
---------------------------
|
565
|
+
EasyContactTest: test_works
|
566
|
+
---------------------------
|
567
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
568
|
+
[1m[36m (0.4ms)[0m [1mbegin transaction[0m
|
569
|
+
-------------------------------------------------------------
|
570
|
+
EasyContact::Entry::Basic: test_0001_create nested attributes
|
571
|
+
-------------------------------------------------------------
|
572
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
573
|
+
[1m[36mSQL (2.3ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Tue, 16 Jul 2013 04:15:01 UTC +00:00], ["updated_at", Tue, 16 Jul 2013 04:15:01 UTC +00:00]]
|
574
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "easy_contact_entries" ("contactable_id", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["contactable_id", 1], ["content", "first entry"], ["created_at", Tue, 16 Jul 2013 04:15:01 UTC +00:00], ["updated_at", Tue, 16 Jul 2013 04:15:01 UTC +00:00]]
|
575
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "easy_contact_entries" ("contactable_id", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["contactable_id", 1], ["content", "second entry"], ["created_at", Tue, 16 Jul 2013 04:15:01 UTC +00:00], ["updated_at", Tue, 16 Jul 2013 04:15:01 UTC +00:00]]
|
576
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
577
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "easy_contact_entries" WHERE "easy_contact_entries"."contactable_id" = ?[0m [["contactable_id", 1]]
|
578
|
+
[1m[35m (2.5ms)[0m rollback transaction
|
579
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
580
|
+
--------------------------------------------------------
|
581
|
+
EasyContact::Entry::Basic: test_0002_create nested names
|
582
|
+
--------------------------------------------------------
|
583
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
584
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Tue, 16 Jul 2013 04:15:01 UTC +00:00], ["updated_at", Tue, 16 Jul 2013 04:15:01 UTC +00:00]]
|
585
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "easy_contact_entries" ("contactable_id", "content", "created_at", "type", "updated_at") VALUES (?, ?, ?, ?, ?) [["contactable_id", 1], ["content", "first name"], ["created_at", Tue, 16 Jul 2013 04:15:01 UTC +00:00], ["type", "EasyContact::Name"], ["updated_at", Tue, 16 Jul 2013 04:15:01 UTC +00:00]]
|
586
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "easy_contact_entries" ("contactable_id", "content", "created_at", "type", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["contactable_id", 1], ["content", "second name"], ["created_at", Tue, 16 Jul 2013 04:15:01 UTC +00:00], ["type", "EasyContact::Name"], ["updated_at", Tue, 16 Jul 2013 04:15:01 UTC +00:00]]
|
587
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
588
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "easy_contact_entries" WHERE "easy_contact_entries"."type" IN ('EasyContact::Name') AND "easy_contact_entries"."contactable_id" = ?[0m [["contactable_id", 1]]
|
589
|
+
[1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "easy_contact_entries" WHERE "easy_contact_entries"."contactable_id" = ? [["contactable_id", 1]]
|
590
|
+
[1m[36m (0.9ms)[0m [1mrollback transaction[0m
|
591
|
+
[1m[35m (0.1ms)[0m begin transaction
|
592
|
+
-------------------------------------------------------
|
593
|
+
EasyContact::Entry::Basic: test_0003_reject blank field
|
594
|
+
-------------------------------------------------------
|
595
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
596
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Tue, 16 Jul 2013 04:15:01 UTC +00:00], ["updated_at", Tue, 16 Jul 2013 04:15:01 UTC +00:00]]
|
597
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "easy_contact_entries" ("contactable_id", "content", "created_at", "type", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["contactable_id", 1], ["content", "second name"], ["created_at", Tue, 16 Jul 2013 04:15:01 UTC +00:00], ["type", "EasyContact::Name"], ["updated_at", Tue, 16 Jul 2013 04:15:01 UTC +00:00]]
|
598
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
599
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "easy_contact_entries" WHERE "easy_contact_entries"."type" IN ('EasyContact::Name') AND "easy_contact_entries"."contactable_id" = ?[0m [["contactable_id", 1]]
|
600
|
+
[1m[35m (0.9ms)[0m rollback transaction
|
601
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
602
|
+
---------------------------
|
603
|
+
EasyContactTest: test_truth
|
604
|
+
---------------------------
|
605
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
606
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
607
|
+
---------------------------
|
608
|
+
EasyContactTest: test_works
|
609
|
+
---------------------------
|
610
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
611
|
+
[1m[36m (0.5ms)[0m [1mbegin transaction[0m
|
612
|
+
-------------------------------------------------------------
|
613
|
+
EasyContact::Entry::Basic: test_0001_create nested attributes
|
614
|
+
-------------------------------------------------------------
|
615
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
616
|
+
[1m[36mSQL (2.3ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Tue, 16 Jul 2013 04:15:19 UTC +00:00], ["updated_at", Tue, 16 Jul 2013 04:15:19 UTC +00:00]]
|
617
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "easy_contact_entries" ("contactable_id", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["contactable_id", 1], ["content", "first entry"], ["created_at", Tue, 16 Jul 2013 04:15:19 UTC +00:00], ["updated_at", Tue, 16 Jul 2013 04:15:19 UTC +00:00]]
|
618
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "easy_contact_entries" ("contactable_id", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["contactable_id", 1], ["content", "second entry"], ["created_at", Tue, 16 Jul 2013 04:15:19 UTC +00:00], ["updated_at", Tue, 16 Jul 2013 04:15:19 UTC +00:00]]
|
619
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
620
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "easy_contact_entries" WHERE "easy_contact_entries"."contactable_id" = ?[0m [["contactable_id", 1]]
|
621
|
+
[1m[35m (2.6ms)[0m rollback transaction
|
622
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
623
|
+
--------------------------------------------------------
|
624
|
+
EasyContact::Entry::Basic: test_0002_create nested names
|
625
|
+
--------------------------------------------------------
|
626
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
627
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Tue, 16 Jul 2013 04:15:19 UTC +00:00], ["updated_at", Tue, 16 Jul 2013 04:15:19 UTC +00:00]]
|
628
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "easy_contact_entries" ("contactable_id", "content", "created_at", "type", "updated_at") VALUES (?, ?, ?, ?, ?) [["contactable_id", 1], ["content", "first name"], ["created_at", Tue, 16 Jul 2013 04:15:19 UTC +00:00], ["type", "EasyContact::Name"], ["updated_at", Tue, 16 Jul 2013 04:15:19 UTC +00:00]]
|
629
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "easy_contact_entries" ("contactable_id", "content", "created_at", "type", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["contactable_id", 1], ["content", "second name"], ["created_at", Tue, 16 Jul 2013 04:15:19 UTC +00:00], ["type", "EasyContact::Name"], ["updated_at", Tue, 16 Jul 2013 04:15:19 UTC +00:00]]
|
630
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
631
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "easy_contact_entries" WHERE "easy_contact_entries"."type" IN ('EasyContact::Name') AND "easy_contact_entries"."contactable_id" = ?[0m [["contactable_id", 1]]
|
632
|
+
[1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "easy_contact_entries" WHERE "easy_contact_entries"."contactable_id" = ? [["contactable_id", 1]]
|
633
|
+
[1m[36m (1.0ms)[0m [1mrollback transaction[0m
|
634
|
+
[1m[35m (0.1ms)[0m begin transaction
|
635
|
+
-------------------------------------------------------
|
636
|
+
EasyContact::Entry::Basic: test_0003_reject blank field
|
637
|
+
-------------------------------------------------------
|
638
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
639
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Tue, 16 Jul 2013 04:15:19 UTC +00:00], ["updated_at", Tue, 16 Jul 2013 04:15:19 UTC +00:00]]
|
640
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "easy_contact_entries" ("contactable_id", "content", "created_at", "type", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["contactable_id", 1], ["content", "second name"], ["created_at", Tue, 16 Jul 2013 04:15:19 UTC +00:00], ["type", "EasyContact::Name"], ["updated_at", Tue, 16 Jul 2013 04:15:19 UTC +00:00]]
|
641
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
642
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "easy_contact_entries" WHERE "easy_contact_entries"."type" IN ('EasyContact::Name') AND "easy_contact_entries"."contactable_id" = ?[0m [["contactable_id", 1]]
|
643
|
+
[1m[35m (1.0ms)[0m rollback transaction
|
644
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
645
|
+
---------------------------
|
646
|
+
EasyContactTest: test_truth
|
647
|
+
---------------------------
|
648
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
649
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
650
|
+
---------------------------
|
651
|
+
EasyContactTest: test_works
|
652
|
+
---------------------------
|
653
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
654
|
+
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
655
|
+
---------------------------
|
656
|
+
EasyContactTest: test_truth
|
657
|
+
---------------------------
|
658
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
659
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
660
|
+
---------------------------
|
661
|
+
EasyContactTest: test_works
|
662
|
+
---------------------------
|
663
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
664
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
665
|
+
[1m[35mSQL (2.4ms)[0m INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Tue, 16 Jul 2013 04:19:42 UTC +00:00], ["updated_at", Tue, 16 Jul 2013 04:19:42 UTC +00:00]]
|
666
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "easy_contact_entries" ("contactable_id", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["contactable_id", 1], ["content", "first entry"], ["created_at", Tue, 16 Jul 2013 04:19:42 UTC +00:00], ["updated_at", Tue, 16 Jul 2013 04:19:42 UTC +00:00]]
|
667
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "easy_contact_entries" ("contactable_id", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["contactable_id", 1], ["content", "second entry"], ["created_at", Tue, 16 Jul 2013 04:19:42 UTC +00:00], ["updated_at", Tue, 16 Jul 2013 04:19:42 UTC +00:00]]
|
668
|
+
[1m[36m (71.2ms)[0m [1mcommit transaction[0m
|
669
|
+
[1m[35m (0.4ms)[0m SELECT COUNT(*) FROM "easy_contact_entries" WHERE "easy_contact_entries"."contactable_id" = ? [["contactable_id", 1]]
|
670
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
671
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Tue, 16 Jul 2013 04:19:42 UTC +00:00], ["updated_at", Tue, 16 Jul 2013 04:19:42 UTC +00:00]]
|
672
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "easy_contact_entries" ("contactable_id", "content", "created_at", "type", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["contactable_id", 2], ["content", "first name"], ["created_at", Tue, 16 Jul 2013 04:19:42 UTC +00:00], ["type", "EasyContact::Name"], ["updated_at", Tue, 16 Jul 2013 04:19:42 UTC +00:00]]
|
673
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "easy_contact_entries" ("contactable_id", "content", "created_at", "type", "updated_at") VALUES (?, ?, ?, ?, ?) [["contactable_id", 2], ["content", "second name"], ["created_at", Tue, 16 Jul 2013 04:19:42 UTC +00:00], ["type", "EasyContact::Name"], ["updated_at", Tue, 16 Jul 2013 04:19:42 UTC +00:00]]
|
674
|
+
[1m[36m (3.5ms)[0m [1mcommit transaction[0m
|
675
|
+
[1m[35m (0.3ms)[0m SELECT COUNT(*) FROM "easy_contact_entries" WHERE "easy_contact_entries"."type" IN ('EasyContact::Name') AND "easy_contact_entries"."contactable_id" = ? [["contactable_id", 2]]
|
676
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "easy_contact_entries" WHERE "easy_contact_entries"."contactable_id" = ?[0m [["contactable_id", 2]]
|
677
|
+
[1m[35m (0.1ms)[0m begin transaction
|
678
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Tue, 16 Jul 2013 04:19:42 UTC +00:00], ["updated_at", Tue, 16 Jul 2013 04:19:42 UTC +00:00]]
|
679
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "easy_contact_entries" ("contactable_id", "content", "created_at", "type", "updated_at") VALUES (?, ?, ?, ?, ?) [["contactable_id", 3], ["content", "second name"], ["created_at", Tue, 16 Jul 2013 04:19:42 UTC +00:00], ["type", "EasyContact::Name"], ["updated_at", Tue, 16 Jul 2013 04:19:42 UTC +00:00]]
|
680
|
+
[1m[36m (2.6ms)[0m [1mcommit transaction[0m
|
681
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "easy_contact_entries" WHERE "easy_contact_entries"."type" IN ('EasyContact::Name') AND "easy_contact_entries"."contactable_id" = ? [["contactable_id", 3]]
|
682
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
683
|
+
---------------------------
|
684
|
+
EasyContactTest: test_truth
|
685
|
+
---------------------------
|
686
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
687
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
688
|
+
---------------------------
|
689
|
+
EasyContactTest: test_works
|
690
|
+
---------------------------
|
691
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
692
|
+
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
693
|
+
---------------------------
|
694
|
+
EasyContactTest: test_truth
|
695
|
+
---------------------------
|
696
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
697
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
698
|
+
---------------------------
|
699
|
+
EasyContactTest: test_works
|
700
|
+
---------------------------
|
701
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
702
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
703
|
+
[1m[35mSQL (2.5ms)[0m INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Tue, 16 Jul 2013 04:20:33 UTC +00:00], ["updated_at", Tue, 16 Jul 2013 04:20:33 UTC +00:00]]
|
704
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "easy_contact_entries" ("contactable_id", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["contactable_id", 4], ["content", "first entry"], ["created_at", Tue, 16 Jul 2013 04:20:33 UTC +00:00], ["updated_at", Tue, 16 Jul 2013 04:20:33 UTC +00:00]]
|
705
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "easy_contact_entries" ("contactable_id", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["contactable_id", 4], ["content", "second entry"], ["created_at", Tue, 16 Jul 2013 04:20:33 UTC +00:00], ["updated_at", Tue, 16 Jul 2013 04:20:33 UTC +00:00]]
|
706
|
+
[1m[36m (33.0ms)[0m [1mcommit transaction[0m
|
707
|
+
[1m[35m (0.4ms)[0m SELECT COUNT(*) FROM "easy_contact_entries" WHERE "easy_contact_entries"."contactable_id" = ? [["contactable_id", 4]]
|
708
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
709
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Tue, 16 Jul 2013 04:20:33 UTC +00:00], ["updated_at", Tue, 16 Jul 2013 04:20:33 UTC +00:00]]
|
710
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "easy_contact_entries" ("contactable_id", "content", "created_at", "type", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["contactable_id", 5], ["content", "first name"], ["created_at", Tue, 16 Jul 2013 04:20:33 UTC +00:00], ["type", "EasyContact::Name"], ["updated_at", Tue, 16 Jul 2013 04:20:33 UTC +00:00]]
|
711
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "easy_contact_entries" ("contactable_id", "content", "created_at", "type", "updated_at") VALUES (?, ?, ?, ?, ?) [["contactable_id", 5], ["content", "second name"], ["created_at", Tue, 16 Jul 2013 04:20:33 UTC +00:00], ["type", "EasyContact::Name"], ["updated_at", Tue, 16 Jul 2013 04:20:33 UTC +00:00]]
|
712
|
+
[1m[36m (19.3ms)[0m [1mcommit transaction[0m
|
713
|
+
[1m[35m (0.3ms)[0m SELECT COUNT(*) FROM "easy_contact_entries" WHERE "easy_contact_entries"."type" IN ('EasyContact::Name') AND "easy_contact_entries"."contactable_id" = ? [["contactable_id", 5]]
|
714
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "easy_contact_entries" WHERE "easy_contact_entries"."contactable_id" = ?[0m [["contactable_id", 5]]
|
715
|
+
[1m[35m (0.1ms)[0m begin transaction
|
716
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Tue, 16 Jul 2013 04:20:33 UTC +00:00], ["updated_at", Tue, 16 Jul 2013 04:20:33 UTC +00:00]]
|
717
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "easy_contact_entries" ("contactable_id", "content", "created_at", "type", "updated_at") VALUES (?, ?, ?, ?, ?) [["contactable_id", 6], ["content", "second name"], ["created_at", Tue, 16 Jul 2013 04:20:33 UTC +00:00], ["type", "EasyContact::Name"], ["updated_at", Tue, 16 Jul 2013 04:20:33 UTC +00:00]]
|
718
|
+
[1m[36m (11.9ms)[0m [1mcommit transaction[0m
|
719
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "easy_contact_entries" WHERE "easy_contact_entries"."type" IN ('EasyContact::Name') AND "easy_contact_entries"."contactable_id" = ? [["contactable_id", 6]]
|
720
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
721
|
+
---------------------------
|
722
|
+
EasyContactTest: test_truth
|
723
|
+
---------------------------
|
724
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
725
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
726
|
+
---------------------------
|
727
|
+
EasyContactTest: test_works
|
728
|
+
---------------------------
|
729
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
730
|
+
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
731
|
+
---------------------------
|
732
|
+
EasyContactTest: test_truth
|
733
|
+
---------------------------
|
734
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
735
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
736
|
+
---------------------------
|
737
|
+
EasyContactTest: test_works
|
738
|
+
---------------------------
|
739
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
740
|
+
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
741
|
+
-------------------------------------------------------------
|
742
|
+
EasyContact::Entry::Basic: test_0001_create nested attributes
|
743
|
+
-------------------------------------------------------------
|
744
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
745
|
+
[1m[36mSQL (2.4ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Tue, 16 Jul 2013 04:21:44 UTC +00:00], ["updated_at", Tue, 16 Jul 2013 04:21:44 UTC +00:00]]
|
746
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "easy_contact_entries" ("contactable_id", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["contactable_id", 7], ["content", "first entry"], ["created_at", Tue, 16 Jul 2013 04:21:44 UTC +00:00], ["updated_at", Tue, 16 Jul 2013 04:21:44 UTC +00:00]]
|
747
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "easy_contact_entries" ("contactable_id", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["contactable_id", 7], ["content", "second entry"], ["created_at", Tue, 16 Jul 2013 04:21:44 UTC +00:00], ["updated_at", Tue, 16 Jul 2013 04:21:44 UTC +00:00]]
|
748
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
749
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "easy_contact_entries" WHERE "easy_contact_entries"."contactable_id" = ?[0m [["contactable_id", 7]]
|
750
|
+
[1m[35m (50.9ms)[0m rollback transaction
|
751
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
752
|
+
--------------------------------------------------------
|
753
|
+
EasyContact::Entry::Basic: test_0002_create nested names
|
754
|
+
--------------------------------------------------------
|
755
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
756
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Tue, 16 Jul 2013 04:21:44 UTC +00:00], ["updated_at", Tue, 16 Jul 2013 04:21:44 UTC +00:00]]
|
757
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "easy_contact_entries" ("contactable_id", "content", "created_at", "type", "updated_at") VALUES (?, ?, ?, ?, ?) [["contactable_id", 7], ["content", "first name"], ["created_at", Tue, 16 Jul 2013 04:21:44 UTC +00:00], ["type", "EasyContact::Name"], ["updated_at", Tue, 16 Jul 2013 04:21:44 UTC +00:00]]
|
758
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "easy_contact_entries" ("contactable_id", "content", "created_at", "type", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["contactable_id", 7], ["content", "second name"], ["created_at", Tue, 16 Jul 2013 04:21:44 UTC +00:00], ["type", "EasyContact::Name"], ["updated_at", Tue, 16 Jul 2013 04:21:44 UTC +00:00]]
|
759
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
760
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "easy_contact_entries" WHERE "easy_contact_entries"."type" IN ('EasyContact::Name') AND "easy_contact_entries"."contactable_id" = ?[0m [["contactable_id", 7]]
|
761
|
+
[1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "easy_contact_entries" WHERE "easy_contact_entries"."contactable_id" = ? [["contactable_id", 7]]
|
762
|
+
[1m[36m (156.9ms)[0m [1mrollback transaction[0m
|
763
|
+
[1m[35m (0.1ms)[0m begin transaction
|
764
|
+
-------------------------------------------------------
|
765
|
+
EasyContact::Entry::Basic: test_0003_reject blank field
|
766
|
+
-------------------------------------------------------
|
767
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
768
|
+
[1m[35mSQL (0.6ms)[0m INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Tue, 16 Jul 2013 04:21:44 UTC +00:00], ["updated_at", Tue, 16 Jul 2013 04:21:44 UTC +00:00]]
|
769
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "easy_contact_entries" ("contactable_id", "content", "created_at", "type", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["contactable_id", 7], ["content", "second name"], ["created_at", Tue, 16 Jul 2013 04:21:44 UTC +00:00], ["type", "EasyContact::Name"], ["updated_at", Tue, 16 Jul 2013 04:21:44 UTC +00:00]]
|
770
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
771
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "easy_contact_entries" WHERE "easy_contact_entries"."type" IN ('EasyContact::Name') AND "easy_contact_entries"."contactable_id" = ?[0m [["contactable_id", 7]]
|
772
|
+
[1m[35m (61.9ms)[0m rollback transaction
|
773
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
774
|
+
---------------------------
|
775
|
+
EasyContactTest: test_truth
|
776
|
+
---------------------------
|
777
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
778
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
779
|
+
---------------------------
|
780
|
+
EasyContactTest: test_works
|
781
|
+
---------------------------
|
782
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
783
|
+
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
784
|
+
-------------------------------------------------------------
|
785
|
+
EasyContact::Entry::Basic: test_0001_create nested attributes
|
786
|
+
-------------------------------------------------------------
|
787
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
788
|
+
[1m[36mSQL (2.3ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Tue, 16 Jul 2013 04:24:19 UTC +00:00], ["updated_at", Tue, 16 Jul 2013 04:24:19 UTC +00:00]]
|
789
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "easy_contact_entries" ("contactable_id", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["contactable_id", 7], ["content", "first entry"], ["created_at", Tue, 16 Jul 2013 04:24:19 UTC +00:00], ["updated_at", Tue, 16 Jul 2013 04:24:19 UTC +00:00]]
|
790
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "easy_contact_entries" ("contactable_id", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["contactable_id", 7], ["content", "second entry"], ["created_at", Tue, 16 Jul 2013 04:24:19 UTC +00:00], ["updated_at", Tue, 16 Jul 2013 04:24:19 UTC +00:00]]
|
791
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
792
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "easy_contact_entries" WHERE "easy_contact_entries"."contactable_id" = ?[0m [["contactable_id", 7]]
|
793
|
+
[1m[35m (2.5ms)[0m rollback transaction
|
794
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
795
|
+
--------------------------------------------------------
|
796
|
+
EasyContact::Entry::Basic: test_0002_create nested names
|
797
|
+
--------------------------------------------------------
|
798
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
799
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Tue, 16 Jul 2013 04:24:19 UTC +00:00], ["updated_at", Tue, 16 Jul 2013 04:24:19 UTC +00:00]]
|
800
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "easy_contact_entries" ("contactable_id", "content", "created_at", "type", "updated_at") VALUES (?, ?, ?, ?, ?) [["contactable_id", 7], ["content", "first name"], ["created_at", Tue, 16 Jul 2013 04:24:19 UTC +00:00], ["type", "EasyContact::Name"], ["updated_at", Tue, 16 Jul 2013 04:24:19 UTC +00:00]]
|
801
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "easy_contact_entries" ("contactable_id", "content", "created_at", "type", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["contactable_id", 7], ["content", "second name"], ["created_at", Tue, 16 Jul 2013 04:24:19 UTC +00:00], ["type", "EasyContact::Name"], ["updated_at", Tue, 16 Jul 2013 04:24:19 UTC +00:00]]
|
802
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
803
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "easy_contact_entries" WHERE "easy_contact_entries"."type" IN ('EasyContact::Name') AND "easy_contact_entries"."contactable_id" = ?[0m [["contactable_id", 7]]
|
804
|
+
[1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "easy_contact_entries" WHERE "easy_contact_entries"."contactable_id" = ? [["contactable_id", 7]]
|
805
|
+
[1m[36m (0.9ms)[0m [1mrollback transaction[0m
|
806
|
+
[1m[35m (0.1ms)[0m begin transaction
|
807
|
+
-------------------------------------------------------
|
808
|
+
EasyContact::Entry::Basic: test_0003_reject blank field
|
809
|
+
-------------------------------------------------------
|
810
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
811
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Tue, 16 Jul 2013 04:24:19 UTC +00:00], ["updated_at", Tue, 16 Jul 2013 04:24:19 UTC +00:00]]
|
812
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "easy_contact_entries" ("contactable_id", "content", "created_at", "type", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["contactable_id", 7], ["content", "second name"], ["created_at", Tue, 16 Jul 2013 04:24:19 UTC +00:00], ["type", "EasyContact::Name"], ["updated_at", Tue, 16 Jul 2013 04:24:19 UTC +00:00]]
|
813
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
814
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "easy_contact_entries" WHERE "easy_contact_entries"."type" IN ('EasyContact::Name') AND "easy_contact_entries"."contactable_id" = ?[0m [["contactable_id", 7]]
|
815
|
+
[1m[35m (1.1ms)[0m rollback transaction
|
816
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
817
|
+
---------------------------
|
818
|
+
EasyContactTest: test_truth
|
819
|
+
---------------------------
|
820
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
821
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
822
|
+
---------------------------
|
823
|
+
EasyContactTest: test_works
|
824
|
+
---------------------------
|
825
|
+
[1m[35m (0.0ms)[0m rollback transaction
|