formula 0.3.1 → 0.3.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (74) hide show
  1. data/Rakefile +23 -0
  2. data/lib/formula/version.rb +1 -1
  3. data/test/dummy/Rakefile +7 -0
  4. data/test/dummy/app/assets/javascripts/application.js +3 -0
  5. data/test/dummy/app/assets/javascripts/contacts.js +0 -0
  6. data/test/dummy/app/assets/javascripts/main.js +0 -0
  7. data/test/dummy/app/assets/stylesheets/application.css +158 -0
  8. data/test/dummy/app/assets/stylesheets/contacts.css +0 -0
  9. data/test/dummy/app/assets/stylesheets/main.css +0 -0
  10. data/test/dummy/app/controllers/application_controller.rb +3 -0
  11. data/test/dummy/app/controllers/contacts_controller.rb +37 -0
  12. data/test/dummy/app/controllers/main_controller.rb +10 -0
  13. data/test/dummy/app/helpers/application_helper.rb +2 -0
  14. data/test/dummy/app/helpers/contacts_helper.rb +2 -0
  15. data/test/dummy/app/helpers/main_helper.rb +2 -0
  16. data/test/dummy/app/models/contact.rb +17 -0
  17. data/test/dummy/app/models/group.rb +7 -0
  18. data/test/dummy/app/views/contacts/_form.html.erb +19 -0
  19. data/test/dummy/app/views/contacts/edit.html.erb +4 -0
  20. data/test/dummy/app/views/contacts/index.html.erb +27 -0
  21. data/test/dummy/app/views/contacts/new.html.erb +4 -0
  22. data/test/dummy/app/views/layouts/application.html.erb +14 -0
  23. data/test/dummy/app/views/main/index.html.erb +9 -0
  24. data/test/dummy/config.ru +4 -0
  25. data/test/dummy/config/application.rb +45 -0
  26. data/test/dummy/config/boot.rb +10 -0
  27. data/test/dummy/config/database.yml +17 -0
  28. data/test/dummy/config/environment.rb +5 -0
  29. data/test/dummy/config/environments/development.rb +30 -0
  30. data/test/dummy/config/environments/production.rb +60 -0
  31. data/test/dummy/config/environments/test.rb +39 -0
  32. data/test/dummy/config/initializers/other.rb +2 -0
  33. data/test/dummy/config/locales/en.yml +1 -0
  34. data/test/dummy/config/routes.rb +6 -0
  35. data/test/dummy/db/development.sqlite3 +0 -0
  36. data/test/dummy/db/migrate/20110109175811_create_contacts.rb +20 -0
  37. data/test/dummy/db/migrate/20110213001348_create_groups.rb +9 -0
  38. data/test/dummy/db/schema.rb +36 -0
  39. data/test/dummy/db/test.sqlite3 +0 -0
  40. data/test/dummy/log/development.log +526 -0
  41. data/test/dummy/log/test.log +56 -0
  42. data/test/dummy/public/favicon.ico +0 -0
  43. data/test/dummy/script/rails +6 -0
  44. data/test/dummy/test/fixtures/contacts.yml +7 -0
  45. data/test/dummy/test/fixtures/contacts/avatar.png +0 -0
  46. data/test/dummy/test/fixtures/groups.yml +5 -0
  47. data/test/dummy/test/functional/contacts_controller_test.rb +42 -0
  48. data/test/dummy/test/functional/main_controller_test.rb +10 -0
  49. data/test/dummy/test/integration/contact_form_test.rb +78 -0
  50. data/test/dummy/test/unit/contact_test.rb +4 -0
  51. data/test/dummy/test/unit/group_test.rb +4 -0
  52. data/test/dummy/test/unit/helpers/contacts_helper_test.rb +4 -0
  53. data/test/dummy/test/unit/helpers/main_helper_test.rb +4 -0
  54. data/test/dummy/tmp/cache/assets/BAB/A00/sprockets%2F347f335128024408181207cbc0461526 +0 -0
  55. data/test/dummy/tmp/cache/assets/C77/F30/sprockets%2F021780432569bfa6c8135d5d4111f2e8 +0 -0
  56. data/test/dummy/tmp/cache/assets/C89/150/sprockets%2F1ff78c0e818b9e0311560396b734719e +0 -0
  57. data/test/dummy/tmp/cache/assets/CE1/BA0/sprockets%2F263ecf6bc5196b70405d900e7c44c946 +0 -0
  58. data/test/dummy/tmp/cache/assets/D06/B40/sprockets%2F25fca4643219052b0d5c66cf2c71f72f +0 -0
  59. data/test/dummy/tmp/cache/assets/D11/430/sprockets%2F25ea8d6063b1eb98361b1196f2fce807 +0 -0
  60. data/test/dummy/tmp/cache/assets/D24/5A0/sprockets%2F3a89b583dd80975d1e0968e730de5bc9 +0 -0
  61. data/test/dummy/tmp/cache/assets/D2D/490/sprockets%2F52514897c01dab621a0d9892aafb1ea2 +0 -0
  62. data/test/dummy/tmp/cache/assets/D32/A10/sprockets%2F13fe41fee1fe35b49d145bcc06610705 +0 -0
  63. data/test/dummy/tmp/cache/assets/D54/ED0/sprockets%2F71c9fa01091d432b131da3bb73faf3d4 +0 -0
  64. data/test/dummy/tmp/cache/assets/D84/170/sprockets%2Fd09fc89236193cb0ff9deb09b97c648d +0 -0
  65. data/test/dummy/tmp/cache/assets/D84/210/sprockets%2Fabd0103ccec2b428ac62c94e4c40b384 +0 -0
  66. data/test/dummy/tmp/cache/assets/DA5/7E0/sprockets%2F87a5f378354ce6e80dda84ab1cfd06f3 +0 -0
  67. data/test/dummy/tmp/cache/assets/DA7/530/sprockets%2Fe36b8fcf5914a3a6bf058abfe7367b19 +0 -0
  68. data/test/dummy/tmp/cache/assets/DAA/470/sprockets%2Faa2b19ddf75cee55d7f2822e3da55779 +0 -0
  69. data/test/dummy/tmp/cache/assets/E04/890/sprockets%2F2f5173deea6c795b8fdde723bb4b63af +0 -0
  70. data/test/dummy/tmp/pids/server.pid +1 -0
  71. data/test/formula_test.rb +7 -0
  72. data/test/test_helper.rb +8 -0
  73. metadata +175 -10
  74. data/Gemfile +0 -3
@@ -0,0 +1,10 @@
1
+ require 'rubygems'
2
+ gemfile = File.expand_path('../../../../Gemfile', __FILE__)
3
+
4
+ if File.exist?(gemfile)
5
+ ENV['BUNDLE_GEMFILE'] = gemfile
6
+ require 'bundler'
7
+ Bundler.setup
8
+ end
9
+
10
+ $:.unshift File.expand_path('../../../../lib', __FILE__)
@@ -0,0 +1,17 @@
1
+ development:
2
+ adapter: sqlite3
3
+ database: db/development.sqlite3
4
+ pool: 5
5
+ timeout: 5000
6
+
7
+ test:
8
+ adapter: sqlite3
9
+ database: db/test.sqlite3
10
+ pool: 5
11
+ timeout: 5000
12
+
13
+ production:
14
+ adapter: sqlite3
15
+ database: db/production.sqlite3
16
+ pool: 5
17
+ timeout: 5000
@@ -0,0 +1,5 @@
1
+ # Load the rails application
2
+ require File.expand_path('../application', __FILE__)
3
+
4
+ # Initialize the rails application
5
+ Dummy::Application.initialize!
@@ -0,0 +1,30 @@
1
+ Dummy::Application.configure do
2
+ # Settings specified here will take precedence over those in config/application.rb
3
+
4
+ # In the development environment your application's code is reloaded on
5
+ # every request. This slows down response time but is perfect for development
6
+ # since you don't have to restart the web server when you make code changes.
7
+ config.cache_classes = false
8
+
9
+ # Log error messages when you accidentally call methods on nil.
10
+ config.whiny_nils = true
11
+
12
+ # Show full error reports and disable caching
13
+ config.consider_all_requests_local = true
14
+ config.action_controller.perform_caching = false
15
+
16
+ # Don't care if the mailer can't send
17
+ config.action_mailer.raise_delivery_errors = false
18
+
19
+ # Print deprecation notices to the Rails logger
20
+ config.active_support.deprecation = :log
21
+
22
+ # Only use best-standards-support built into browsers
23
+ config.action_dispatch.best_standards_support = :builtin
24
+
25
+ # Do not compress assets
26
+ config.assets.compress = false
27
+
28
+ # Expands the lines which load the assets
29
+ config.assets.debug = true
30
+ end
@@ -0,0 +1,60 @@
1
+ Dummy::Application.configure do
2
+ # Settings specified here will take precedence over those in config/application.rb
3
+
4
+ # Code is not reloaded between requests
5
+ config.cache_classes = true
6
+
7
+ # Full error reports are disabled and caching is turned on
8
+ config.consider_all_requests_local = false
9
+ config.action_controller.perform_caching = true
10
+
11
+ # Disable Rails's static asset server (Apache or nginx will already do this)
12
+ config.serve_static_assets = false
13
+
14
+ # Compress JavaScripts and CSS
15
+ config.assets.compress = true
16
+
17
+ # Don't fallback to assets pipeline if a precompiled asset is missed
18
+ config.assets.compile = false
19
+
20
+ # Generate digests for assets URLs
21
+ config.assets.digest = true
22
+
23
+ # Defaults to Rails.root.join("public/assets")
24
+ # config.assets.manifest = YOUR_PATH
25
+
26
+ # Specifies the header that your server uses for sending files
27
+ # config.action_dispatch.x_sendfile_header = "X-Sendfile" # for apache
28
+ # config.action_dispatch.x_sendfile_header = 'X-Accel-Redirect' # for nginx
29
+
30
+ # Force all access to the app over SSL, use Strict-Transport-Security, and use secure cookies.
31
+ # config.force_ssl = true
32
+
33
+ # See everything in the log (default is :info)
34
+ # config.log_level = :debug
35
+
36
+ # Use a different logger for distributed setups
37
+ # config.logger = SyslogLogger.new
38
+
39
+ # Use a different cache store in production
40
+ # config.cache_store = :mem_cache_store
41
+
42
+ # Enable serving of images, stylesheets, and JavaScripts from an asset server
43
+ # config.action_controller.asset_host = "http://assets.example.com"
44
+
45
+ # Precompile additional assets (application.js, application.css, and all non-JS/CSS are already added)
46
+ # config.assets.precompile += %w( search.js )
47
+
48
+ # Disable delivery errors, bad email addresses will be ignored
49
+ # config.action_mailer.raise_delivery_errors = false
50
+
51
+ # Enable threaded mode
52
+ # config.threadsafe!
53
+
54
+ # Enable locale fallbacks for I18n (makes lookups for any locale fall back to
55
+ # the I18n.default_locale when a translation can not be found)
56
+ config.i18n.fallbacks = true
57
+
58
+ # Send deprecation notices to registered listeners
59
+ config.active_support.deprecation = :notify
60
+ end
@@ -0,0 +1,39 @@
1
+ Dummy::Application.configure do
2
+ # Settings specified here will take precedence over those in config/application.rb
3
+
4
+ # The test environment is used exclusively to run your application's
5
+ # test suite. You never need to work with it otherwise. Remember that
6
+ # your test database is "scratch space" for the test suite and is wiped
7
+ # and recreated between test runs. Don't rely on the data there!
8
+ config.cache_classes = true
9
+
10
+ # Configure static asset server for tests with Cache-Control for performance
11
+ config.serve_static_assets = true
12
+ config.static_cache_control = "public, max-age=3600"
13
+
14
+ # Log error messages when you accidentally call methods on nil
15
+ config.whiny_nils = true
16
+
17
+ # Show full error reports and disable caching
18
+ config.consider_all_requests_local = true
19
+ config.action_controller.perform_caching = false
20
+
21
+ # Raise exceptions instead of rendering exception templates
22
+ config.action_dispatch.show_exceptions = false
23
+
24
+ # Disable request forgery protection in test environment
25
+ config.action_controller.allow_forgery_protection = false
26
+
27
+ # Tell Action Mailer not to deliver emails to the real world.
28
+ # The :test delivery method accumulates sent emails in the
29
+ # ActionMailer::Base.deliveries array.
30
+ config.action_mailer.delivery_method = :test
31
+
32
+ # Use SQL instead of Active Record's schema dumper when creating the test database.
33
+ # This is necessary if your schema can't be completely dumped by the schema dumper,
34
+ # like if you have constraints or database-specific column types
35
+ # config.active_record.schema_format = :sql
36
+
37
+ # Print deprecation notices to the stderr
38
+ config.active_support.deprecation = :stderr
39
+ end
@@ -0,0 +1,2 @@
1
+ Dummy::Application.config.session_store :cookie_store, :key => '_dummy_session'
2
+ Dummy::Application.config.secret_token = 'fa14f99ebb5c5acadfb9c8fc423ff02fe8ed1b331916c29616471f5acfcb50c1227a1689ca390e03c77aa55b1826fd5b86c97773966a8925df32c6358db45a18'
@@ -0,0 +1 @@
1
+ en: {}
@@ -0,0 +1,6 @@
1
+ Dummy::Application.routes.draw do
2
+
3
+ root :to => "main#index"
4
+
5
+ resources :contacts
6
+ end
Binary file
@@ -0,0 +1,20 @@
1
+ class CreateContacts < ActiveRecord::Migration
2
+ def change
3
+ create_table :contacts do |t|
4
+ t.references :group
5
+
6
+ t.string :name
7
+ t.text :details
8
+
9
+ t.string :phone
10
+ t.string :email
11
+ t.string :url
12
+
13
+ t.string :avatar_identifier
14
+ t.string :avatar_extension
15
+ t.integer :avatar_size
16
+
17
+ t.timestamps
18
+ end
19
+ end
20
+ end
@@ -0,0 +1,9 @@
1
+ class CreateGroups < ActiveRecord::Migration
2
+ def change
3
+ create_table :groups do |t|
4
+ t.string :name
5
+
6
+ t.timestamps
7
+ end
8
+ end
9
+ end
@@ -0,0 +1,36 @@
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 => 20110213001348) do
15
+
16
+ create_table "contacts", :force => true do |t|
17
+ t.integer "group_id"
18
+ t.string "name"
19
+ t.text "details"
20
+ t.string "phone"
21
+ t.string "email"
22
+ t.string "url"
23
+ t.string "avatar_identifier"
24
+ t.string "avatar_extension"
25
+ t.integer "avatar_size"
26
+ t.datetime "created_at"
27
+ t.datetime "updated_at"
28
+ end
29
+
30
+ create_table "groups", :force => true do |t|
31
+ t.string "name"
32
+ t.datetime "created_at"
33
+ t.datetime "updated_at"
34
+ end
35
+
36
+ end
Binary file
@@ -0,0 +1,526 @@
1
+  (0.1ms) select sqlite_version(*)
2
+  (1.1ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
3
+  (0.0ms) PRAGMA index_list("schema_migrations")
4
+  (0.7ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
5
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
6
+ Migrating to CreateContacts (20110109175811)
7
+  (0.4ms) CREATE TABLE "contacts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "group_id" integer, "name" varchar(255), "details" text, "phone" varchar(255), "email" varchar(255), "url" varchar(255), "avatar_identifier" varchar(255), "avatar_extension" varchar(255), "avatar_size" integer, "created_at" datetime, "updated_at" datetime)
8
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20110109175811')
9
+ Migrating to CreateGroups (20110213001348)
10
+  (0.3ms) CREATE TABLE "groups" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "created_at" datetime, "updated_at" datetime)
11
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20110213001348')
12
+  (0.3ms) select sqlite_version(*)
13
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
14
+  (0.0ms) PRAGMA index_list("contacts")
15
+  (0.0ms) PRAGMA index_list("groups")
16
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
17
+  (0.2ms) select sqlite_version(*)
18
+  (1.5ms) CREATE TABLE "contacts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "group_id" integer, "name" varchar(255), "details" text, "phone" varchar(255), "email" varchar(255), "url" varchar(255), "avatar_identifier" varchar(255), "avatar_extension" varchar(255), "avatar_size" integer, "created_at" datetime, "updated_at" datetime) 
19
+  (1.2ms) CREATE TABLE "groups" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "created_at" datetime, "updated_at" datetime)
20
+  (0.8ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
21
+  (0.0ms) PRAGMA index_list("schema_migrations")
22
+  (0.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
23
+  (0.1ms) SELECT version FROM "schema_migrations"
24
+  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20110213001348')
25
+  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20110109175811')
26
+
27
+
28
+ Started GET "/" for 127.0.0.1 at 2011-10-22 22:40:31 -0700
29
+ Processing by MainController#index as HTML
30
+ Rendered main/index.html.erb within layouts/application (12.3ms)
31
+ Compiled application.css (1ms) (pid 36436)
32
+ Compiled contacts.css (0ms) (pid 36436)
33
+ Compiled main.css (0ms) (pid 36436)
34
+ Compiled application.js (3ms) (pid 36436)
35
+ Compiled jquery.js (3ms) (pid 36436)
36
+ Compiled jquery_ujs.js (0ms) (pid 36436)
37
+ Compiled contacts.js (0ms) (pid 36436)
38
+ Compiled main.js (0ms) (pid 36436)
39
+ Completed 200 OK in 211ms (Views: 210.2ms | ActiveRecord: 0.0ms)
40
+
41
+
42
+ Started GET "/assets/contacts.js?body=1" for 127.0.0.1 at 2011-10-22 22:40:32 -0700
43
+ Served asset /contacts.js - 200 OK (10ms)
44
+
45
+
46
+ Started GET "/assets/contacts.css?body=1" for 127.0.0.1 at 2011-10-22 22:40:32 -0700
47
+ Served asset /contacts.css - 200 OK (8ms)
48
+
49
+
50
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2011-10-22 22:40:32 -0700
51
+ Served asset /jquery_ujs.js - 304 Not Modified (3ms)
52
+
53
+
54
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2011-10-22 22:40:32 -0700
55
+ Served asset /application.css - 200 OK (0ms)
56
+
57
+
58
+ Started GET "/assets/main.css?body=1" for 127.0.0.1 at 2011-10-22 22:40:32 -0700
59
+ Served asset /main.css - 304 Not Modified (2ms)
60
+
61
+
62
+ Started GET "/assets/main.js?body=1" for 127.0.0.1 at 2011-10-22 22:40:32 -0700
63
+ Served asset /main.js - 304 Not Modified (3ms)
64
+
65
+
66
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2011-10-22 22:40:32 -0700
67
+ Served asset /application.js - 304 Not Modified (0ms)
68
+
69
+
70
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2011-10-22 22:40:32 -0700
71
+ Served asset /jquery.js - 304 Not Modified (5ms)
72
+
73
+
74
+ Started GET "/contacts" for 127.0.0.1 at 2011-10-22 22:40:33 -0700
75
+ Processing by ContactsController#index as HTML
76
+ Contact Load (0.1ms) SELECT "contacts".* FROM "contacts" 
77
+ Rendered contacts/index.html.erb within layouts/application (1.2ms)
78
+ Completed 200 OK in 102ms (Views: 8.3ms | ActiveRecord: 0.8ms)
79
+
80
+
81
+ Started GET "/assets/main.css?body=1" for 127.0.0.1 at 2011-10-22 22:40:33 -0700
82
+ Served asset /main.css - 304 Not Modified (0ms)
83
+
84
+
85
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2011-10-22 22:40:33 -0700
86
+ Served asset /jquery.js - 304 Not Modified (0ms)
87
+
88
+
89
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2011-10-22 22:40:33 -0700
90
+ Served asset /jquery_ujs.js - 304 Not Modified (0ms)
91
+
92
+
93
+ Started GET "/assets/main.js?body=1" for 127.0.0.1 at 2011-10-22 22:40:33 -0700
94
+ Served asset /main.js - 304 Not Modified (0ms)
95
+
96
+
97
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2011-10-22 22:40:33 -0700
98
+ Served asset /application.js - 304 Not Modified (0ms)
99
+
100
+
101
+ Started GET "/contacts/new" for 127.0.0.1 at 2011-10-22 22:40:34 -0700
102
+ Processing by ContactsController#new as HTML
103
+ Group Load (0.1ms) SELECT "groups".* FROM "groups"
104
+ Rendered contacts/_form.html.erb (24.6ms)
105
+ Rendered contacts/new.html.erb within layouts/application (33.2ms)
106
+ Completed 200 OK in 83ms (Views: 39.2ms | ActiveRecord: 1.0ms)
107
+
108
+
109
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2011-10-22 22:40:34 -0700
110
+ Served asset /jquery.js - 304 Not Modified (0ms)
111
+
112
+
113
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2011-10-22 22:40:34 -0700
114
+ Served asset /application.js - 304 Not Modified (0ms)
115
+
116
+
117
+ Started GET "/assets/main.css?body=1" for 127.0.0.1 at 2011-10-22 22:40:34 -0700
118
+ Served asset /main.css - 304 Not Modified (0ms)
119
+
120
+
121
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2011-10-22 22:40:34 -0700
122
+ Served asset /jquery_ujs.js - 304 Not Modified (0ms)
123
+
124
+
125
+ Started GET "/assets/main.js?body=1" for 127.0.0.1 at 2011-10-22 22:40:34 -0700
126
+ Served asset /main.js - 304 Not Modified (0ms)
127
+
128
+
129
+ Started GET "/" for 127.0.0.1 at 2011-10-22 22:42:25 -0700
130
+ Processing by MainController#index as HTML
131
+ Rendered main/index.html.erb within layouts/application (0.6ms)
132
+ Completed 200 OK in 10ms (Views: 9.4ms | ActiveRecord: 0.0ms)
133
+
134
+
135
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2011-10-22 22:42:25 -0700
136
+ Served asset /application.css - 200 OK (0ms)
137
+
138
+
139
+ Started GET "/assets/contacts.css?body=1" for 127.0.0.1 at 2011-10-22 22:42:25 -0700
140
+ Served asset /contacts.css - 200 OK (0ms)
141
+
142
+
143
+ Started GET "/assets/main.css?body=1" for 127.0.0.1 at 2011-10-22 22:42:25 -0700
144
+ Served asset /main.css - 200 OK (0ms)
145
+
146
+
147
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2011-10-22 22:42:25 -0700
148
+ Served asset /jquery.js - 200 OK (0ms)
149
+
150
+
151
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2011-10-22 22:42:25 -0700
152
+ Served asset /jquery_ujs.js - 200 OK (0ms)
153
+
154
+
155
+ Started GET "/assets/main.js?body=1" for 127.0.0.1 at 2011-10-22 22:42:25 -0700
156
+ Served asset /main.js - 200 OK (0ms)
157
+
158
+
159
+ Started GET "/assets/contacts.js?body=1" for 127.0.0.1 at 2011-10-22 22:42:25 -0700
160
+ Served asset /contacts.js - 200 OK (0ms)
161
+
162
+
163
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2011-10-22 22:42:25 -0700
164
+ Served asset /application.js - 200 OK (0ms)
165
+
166
+
167
+ Started GET "/contacts" for 127.0.0.1 at 2011-10-22 22:42:26 -0700
168
+ Processing by ContactsController#index as HTML
169
+ Contact Load (0.1ms) SELECT "contacts".* FROM "contacts" 
170
+ Rendered contacts/index.html.erb within layouts/application (1.2ms)
171
+ Completed 200 OK in 19ms (Views: 8.4ms | ActiveRecord: 0.6ms)
172
+
173
+
174
+ Started GET "/contacts/new" for 127.0.0.1 at 2011-10-22 22:42:27 -0700
175
+ Processing by ContactsController#new as HTML
176
+ Group Load (0.1ms) SELECT "groups".* FROM "groups"
177
+ Rendered contacts/_form.html.erb (58.2ms)
178
+ Rendered contacts/new.html.erb within layouts/application (58.8ms)
179
+ Completed 200 OK in 79ms (Views: 65.2ms | ActiveRecord: 1.1ms)
180
+
181
+
182
+ Started GET "/contacts/new" for 127.0.0.1 at 2011-10-22 22:42:30 -0700
183
+ Processing by ContactsController#new as HTML
184
+ Group Load (0.1ms) SELECT "groups".* FROM "groups" 
185
+ Rendered contacts/_form.html.erb (24.7ms)
186
+ Rendered contacts/new.html.erb within layouts/application (25.2ms)
187
+ Completed 200 OK in 47ms (Views: 32.4ms | ActiveRecord: 1.0ms)
188
+
189
+
190
+ Started GET "/contacts" for 127.0.0.1 at 2011-10-22 22:42:58 -0700
191
+ Processing by ContactsController#index as HTML
192
+ Contact Load (0.1ms) SELECT "contacts".* FROM "contacts"
193
+ Rendered contacts/index.html.erb within layouts/application (0.6ms)
194
+ Completed 200 OK in 62ms (Views: 8.8ms | ActiveRecord: 0.6ms)
195
+
196
+
197
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2011-10-22 22:42:58 -0700
198
+ Served asset /application.css - 304 Not Modified (0ms)
199
+
200
+
201
+ Started GET "/assets/main.css?body=1" for 127.0.0.1 at 2011-10-22 22:42:58 -0700
202
+ Served asset /main.css - 304 Not Modified (0ms)
203
+
204
+
205
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2011-10-22 22:42:58 -0700
206
+ Served asset /jquery_ujs.js - 304 Not Modified (0ms)
207
+
208
+
209
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2011-10-22 22:42:58 -0700
210
+ Served asset /jquery.js - 304 Not Modified (0ms)
211
+
212
+
213
+ Started GET "/assets/contacts.css?body=1" for 127.0.0.1 at 2011-10-22 22:42:58 -0700
214
+ Served asset /contacts.css - 304 Not Modified (0ms)
215
+
216
+
217
+ Started GET "/assets/contacts.js?body=1" for 127.0.0.1 at 2011-10-22 22:42:58 -0700
218
+ Served asset /contacts.js - 304 Not Modified (0ms)
219
+
220
+
221
+ Started GET "/assets/main.js?body=1" for 127.0.0.1 at 2011-10-22 22:42:58 -0700
222
+ Served asset /main.js - 304 Not Modified (0ms)
223
+
224
+
225
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2011-10-22 22:42:58 -0700
226
+ Served asset /application.js - 304 Not Modified (0ms)
227
+
228
+
229
+ Started GET "/contacts" for 127.0.0.1 at 2011-10-22 22:42:58 -0700
230
+ Processing by ContactsController#index as HTML
231
+ Contact Load (0.1ms) SELECT "contacts".* FROM "contacts" 
232
+ Rendered contacts/index.html.erb within layouts/application (0.8ms)
233
+ Completed 200 OK in 29ms (Views: 10.2ms | ActiveRecord: 0.8ms)
234
+
235
+
236
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2011-10-22 22:42:58 -0700
237
+ Served asset /application.css - 304 Not Modified (0ms)
238
+
239
+
240
+ Started GET "/assets/contacts.css?body=1" for 127.0.0.1 at 2011-10-22 22:42:58 -0700
241
+ Served asset /contacts.css - 304 Not Modified (0ms)
242
+
243
+
244
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2011-10-22 22:42:58 -0700
245
+ Served asset /jquery.js - 304 Not Modified (0ms)
246
+
247
+
248
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2011-10-22 22:42:58 -0700
249
+ Served asset /jquery_ujs.js - 304 Not Modified (0ms)
250
+
251
+
252
+ Started GET "/assets/main.css?body=1" for 127.0.0.1 at 2011-10-22 22:42:58 -0700
253
+ Served asset /main.css - 304 Not Modified (0ms)
254
+
255
+
256
+ Started GET "/assets/contacts.js?body=1" for 127.0.0.1 at 2011-10-22 22:42:58 -0700
257
+ Served asset /contacts.js - 304 Not Modified (0ms)
258
+
259
+
260
+ Started GET "/assets/main.js?body=1" for 127.0.0.1 at 2011-10-22 22:42:58 -0700
261
+ Served asset /main.js - 304 Not Modified (0ms)
262
+
263
+
264
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2011-10-22 22:42:58 -0700
265
+ Served asset /application.js - 304 Not Modified (0ms)
266
+ Fixture Delete (0.4ms) DELETE FROM "contacts"
267
+ Fixture Insert (0.2ms) INSERT INTO "contacts" ("name", "details", "phone", "email", "url", "created_at", "updated_at", "id", "group_id") VALUES ('Kevin', 'A Ruby on Rails and Cocoa developer...', '(555) 555-5555', 'email@address.com', 'http://ksylvest.com/', '2011-10-23 05:42:58', '2011-10-23 05:42:58', 712064548, 637242267)
268
+ Fixture Delete (0.2ms) DELETE FROM "groups"
269
+ Fixture Insert (0.1ms) INSERT INTO "groups" ("name", "created_at", "updated_at", "id") VALUES ('Developer', '2011-10-23 05:42:58', '2011-10-23 05:42:58', 637242267)
270
+ Fixture Insert (0.0ms) INSERT INTO "groups" ("name", "created_at", "updated_at", "id") VALUES ('Designer', '2011-10-23 05:42:58', '2011-10-23 05:42:58', 866180701)
271
+
272
+
273
+ Started GET "/contacts" for 127.0.0.1 at 2011-10-22 22:42:59 -0700
274
+ Processing by ContactsController#index as HTML
275
+ Contact Load (0.1ms) SELECT "contacts".* FROM "contacts"
276
+ Rendered contacts/index.html.erb within layouts/application (9.7ms)
277
+ Completed 200 OK in 67ms (Views: 15.9ms | ActiveRecord: 0.7ms)
278
+
279
+
280
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2011-10-22 22:42:59 -0700
281
+ Served asset /application.css - 304 Not Modified (0ms)
282
+
283
+
284
+ Started GET "/assets/main.css?body=1" for 127.0.0.1 at 2011-10-22 22:42:59 -0700
285
+ Served asset /main.css - 304 Not Modified (0ms)
286
+
287
+
288
+ Started GET "/assets/contacts.css?body=1" for 127.0.0.1 at 2011-10-22 22:42:59 -0700
289
+ Served asset /contacts.css - 304 Not Modified (0ms)
290
+
291
+
292
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2011-10-22 22:42:59 -0700
293
+ Served asset /jquery.js - 304 Not Modified (0ms)
294
+
295
+
296
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2011-10-22 22:42:59 -0700
297
+ Served asset /jquery_ujs.js - 304 Not Modified (0ms)
298
+
299
+
300
+ Started GET "/assets/contacts.js?body=1" for 127.0.0.1 at 2011-10-22 22:42:59 -0700
301
+ Served asset /contacts.js - 304 Not Modified (0ms)
302
+
303
+
304
+ Started GET "/assets/main.js?body=1" for 127.0.0.1 at 2011-10-22 22:42:59 -0700
305
+ Served asset /main.js - 304 Not Modified (0ms)
306
+
307
+
308
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2011-10-22 22:42:59 -0700
309
+ Served asset /application.js - 304 Not Modified (0ms)
310
+
311
+
312
+ Started GET "/contacts/712064548/edit" for 127.0.0.1 at 2011-10-22 22:43:01 -0700
313
+ Processing by ContactsController#edit as HTML
314
+ Parameters: {"id"=>"712064548"}
315
+ Group Load (0.1ms) SELECT "groups".* FROM "groups" 
316
+ Rendered contacts/_form.html.erb (63.5ms)
317
+ Rendered contacts/edit.html.erb within layouts/application (64.4ms)
318
+ Completed 200 OK in 85ms (Views: 71.1ms | ActiveRecord: 1.2ms)
319
+
320
+
321
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2011-10-22 22:43:01 -0700
322
+ Served asset /application.css - 304 Not Modified (0ms)
323
+
324
+
325
+ Started GET "/assets/contacts.css?body=1" for 127.0.0.1 at 2011-10-22 22:43:01 -0700
326
+ Served asset /contacts.css - 304 Not Modified (0ms)
327
+
328
+
329
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2011-10-22 22:43:01 -0700
330
+ Served asset /jquery.js - 304 Not Modified (0ms)
331
+
332
+
333
+ Started GET "/assets/main.css?body=1" for 127.0.0.1 at 2011-10-22 22:43:01 -0700
334
+ Served asset /main.css - 304 Not Modified (0ms)
335
+
336
+
337
+ Started GET "/assets/contacts.js?body=1" for 127.0.0.1 at 2011-10-22 22:43:01 -0700
338
+ Served asset /contacts.js - 304 Not Modified (0ms)
339
+
340
+
341
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2011-10-22 22:43:01 -0700
342
+ Served asset /jquery_ujs.js - 304 Not Modified (0ms)
343
+
344
+
345
+ Started GET "/assets/main.js?body=1" for 127.0.0.1 at 2011-10-22 22:43:01 -0700
346
+ Served asset /main.js - 304 Not Modified (0ms)
347
+
348
+
349
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2011-10-22 22:43:01 -0700
350
+ Served asset /application.js - 304 Not Modified (0ms)
351
+
352
+
353
+ Started GET "/contacts/712064548/edit" for 127.0.0.1 at 2011-10-22 22:43:20 -0700
354
+ Processing by ContactsController#edit as HTML
355
+ Parameters: {"id"=>"712064548"}
356
+ Contact Load (0.2ms) SELECT "contacts".* FROM "contacts" WHERE "contacts"."id" = ? LIMIT 1 [["id", "712064548"]]
357
+ Group Load (0.2ms) SELECT "groups".* FROM "groups" 
358
+ Rendered contacts/_form.html.erb (68.1ms)
359
+ Rendered contacts/edit.html.erb within layouts/application (68.6ms)
360
+ Completed 200 OK in 90ms (Views: 74.5ms | ActiveRecord: 1.7ms)
361
+
362
+
363
+ Started GET "/assets/contacts.css?body=1" for 127.0.0.1 at 2011-10-22 22:43:20 -0700
364
+ Served asset /contacts.css - 304 Not Modified (0ms)
365
+
366
+
367
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2011-10-22 22:43:20 -0700
368
+ Served asset /application.css - 304 Not Modified (0ms)
369
+
370
+
371
+ Started GET "/assets/main.css?body=1" for 127.0.0.1 at 2011-10-22 22:43:20 -0700
372
+ Served asset /main.css - 304 Not Modified (0ms)
373
+
374
+
375
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2011-10-22 22:43:20 -0700
376
+ Served asset /jquery.js - 304 Not Modified (0ms)
377
+
378
+
379
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2011-10-22 22:43:20 -0700
380
+ Served asset /jquery_ujs.js - 304 Not Modified (0ms)
381
+
382
+
383
+ Started GET "/assets/contacts.js?body=1" for 127.0.0.1 at 2011-10-22 22:43:20 -0700
384
+ Served asset /contacts.js - 304 Not Modified (0ms)
385
+
386
+
387
+ Started GET "/assets/main.js?body=1" for 127.0.0.1 at 2011-10-22 22:43:20 -0700
388
+ Served asset /main.js - 304 Not Modified (0ms)
389
+
390
+
391
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2011-10-22 22:43:20 -0700
392
+ Served asset /application.js - 304 Not Modified (0ms)
393
+
394
+
395
+ Started PUT "/contacts/712064548" for 127.0.0.1 at 2011-10-22 22:43:29 -0700
396
+ Processing by ContactsController#update as HTML
397
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"dR+4MoJSRC9NEqsiijvTcID6gdXmzOI/jCZMEdu5Ws8=", "contact"=>{"name"=>"Kevin", "details"=>"A Ruby on Rails and Cocoa developer...", "email"=>"email@address.com", "phone"=>"(555) 555-5555", "url"=>"http://ksylvest.com/", "group_id"=>"637242267"}, "commit"=>"Save", "id"=>"712064548"}
398
+ Contact Load (0.2ms) SELECT "contacts".* FROM "contacts" WHERE "contacts"."id" = ? LIMIT 1 [["id", "712064548"]]
399
+ Group Load (0.1ms) SELECT "groups".* FROM "groups" WHERE "groups"."id" = 637242267 LIMIT 1
400
+ [attached] save attached
401
+ Redirected to http://localhost:3000/contacts
402
+ Completed 302 Found in 131ms
403
+
404
+
405
+ Started GET "/contacts" for 127.0.0.1 at 2011-10-22 22:43:29 -0700
406
+ Processing by ContactsController#index as HTML
407
+ Contact Load (0.1ms) SELECT "contacts".* FROM "contacts"
408
+ Rendered contacts/index.html.erb within layouts/application (43.8ms)
409
+ Completed 200 OK in 61ms (Views: 50.3ms | ActiveRecord: 0.8ms)
410
+
411
+
412
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2011-10-22 22:43:29 -0700
413
+ Served asset /application.css - 304 Not Modified (0ms)
414
+
415
+
416
+ Started GET "/assets/contacts.css?body=1" for 127.0.0.1 at 2011-10-22 22:43:29 -0700
417
+ Served asset /contacts.css - 304 Not Modified (0ms)
418
+
419
+
420
+ Started GET "/assets/main.css?body=1" for 127.0.0.1 at 2011-10-22 22:43:29 -0700
421
+ Served asset /main.css - 304 Not Modified (0ms)
422
+
423
+
424
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2011-10-22 22:43:29 -0700
425
+ Served asset /jquery.js - 304 Not Modified (0ms)
426
+
427
+
428
+ Started GET "/assets/contacts.js?body=1" for 127.0.0.1 at 2011-10-22 22:43:29 -0700
429
+ Served asset /contacts.js - 304 Not Modified (0ms)
430
+
431
+
432
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2011-10-22 22:43:29 -0700
433
+ Served asset /jquery_ujs.js - 304 Not Modified (0ms)
434
+
435
+
436
+ Started GET "/assets/main.js?body=1" for 127.0.0.1 at 2011-10-22 22:43:29 -0700
437
+ Served asset /main.js - 304 Not Modified (0ms)
438
+
439
+
440
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2011-10-22 22:43:29 -0700
441
+ Served asset /application.js - 304 Not Modified (0ms)
442
+
443
+
444
+ Started GET "/contacts/712064548/edit" for 127.0.0.1 at 2011-10-22 22:43:31 -0700
445
+ Processing by ContactsController#edit as HTML
446
+ Parameters: {"id"=>"712064548"}
447
+ Contact Load (0.2ms) SELECT "contacts".* FROM "contacts" WHERE "contacts"."id" = ? LIMIT 1 [["id", "712064548"]]
448
+ Group Load (0.2ms) SELECT "groups".* FROM "groups"
449
+ Rendered contacts/_form.html.erb (61.5ms)
450
+ Rendered contacts/edit.html.erb within layouts/application (62.2ms)
451
+ Completed 200 OK in 83ms (Views: 68.9ms | ActiveRecord: 1.4ms)
452
+
453
+
454
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2011-10-22 22:43:31 -0700
455
+ Served asset /application.css - 304 Not Modified (0ms)
456
+
457
+
458
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2011-10-22 22:43:31 -0700
459
+ Served asset /jquery.js - 304 Not Modified (0ms)
460
+
461
+
462
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2011-10-22 22:43:31 -0700
463
+ Served asset /jquery_ujs.js - 304 Not Modified (0ms)
464
+
465
+
466
+ Started GET "/assets/contacts.css?body=1" for 127.0.0.1 at 2011-10-22 22:43:31 -0700
467
+ Served asset /contacts.css - 304 Not Modified (0ms)
468
+
469
+
470
+ Started GET "/assets/main.css?body=1" for 127.0.0.1 at 2011-10-22 22:43:31 -0700
471
+ Served asset /main.css - 304 Not Modified (0ms)
472
+
473
+
474
+ Started GET "/assets/contacts.js?body=1" for 127.0.0.1 at 2011-10-22 22:43:31 -0700
475
+ Served asset /contacts.js - 304 Not Modified (0ms)
476
+
477
+
478
+ Started GET "/assets/main.js?body=1" for 127.0.0.1 at 2011-10-22 22:43:31 -0700
479
+ Served asset /main.js - 304 Not Modified (0ms)
480
+
481
+
482
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2011-10-22 22:43:31 -0700
483
+ Served asset /application.js - 304 Not Modified (0ms)
484
+
485
+
486
+ Started PUT "/contacts/712064548" for 127.0.0.1 at 2011-10-22 22:43:34 -0700
487
+ Processing by ContactsController#update as HTML
488
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"dR+4MoJSRC9NEqsiijvTcID6gdXmzOI/jCZMEdu5Ws8=", "contact"=>{"name"=>"", "details"=>"A Ruby on Rails and Cocoa developer...", "email"=>"email@address.com", "phone"=>"(555) 555-5555", "url"=>"http://ksylvest.com/", "group_id"=>"637242267"}, "commit"=>"Save", "id"=>"712064548"}
489
+ Contact Load (0.2ms) SELECT "contacts".* FROM "contacts" WHERE "contacts"."id" = ? LIMIT 1 [["id", "712064548"]]
490
+ Group Load (0.1ms) SELECT "groups".* FROM "groups" WHERE "groups"."id" = 637242267 LIMIT 1
491
+ Group Load (0.2ms) SELECT "groups".* FROM "groups" 
492
+ Rendered contacts/_form.html.erb (5.7ms)
493
+ Rendered contacts/edit.html.erb within layouts/application (6.2ms)
494
+ Completed 200 OK in 50ms (Views: 9.7ms | ActiveRecord: 0.2ms)
495
+
496
+
497
+ Started GET "/assets/contacts.css?body=1" for 127.0.0.1 at 2011-10-22 22:43:34 -0700
498
+ Served asset /contacts.css - 304 Not Modified (0ms)
499
+
500
+
501
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2011-10-22 22:43:34 -0700
502
+ Served asset /jquery.js - 304 Not Modified (0ms)
503
+
504
+
505
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2011-10-22 22:43:34 -0700
506
+ Served asset /jquery_ujs.js - 304 Not Modified (0ms)
507
+
508
+
509
+ Started GET "/assets/main.css?body=1" for 127.0.0.1 at 2011-10-22 22:43:34 -0700
510
+ Served asset /main.css - 304 Not Modified (0ms)
511
+
512
+
513
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2011-10-22 22:43:34 -0700
514
+ Served asset /application.css - 304 Not Modified (0ms)
515
+
516
+
517
+ Started GET "/assets/contacts.js?body=1" for 127.0.0.1 at 2011-10-22 22:43:34 -0700
518
+ Served asset /contacts.js - 304 Not Modified (0ms)
519
+
520
+
521
+ Started GET "/assets/main.js?body=1" for 127.0.0.1 at 2011-10-22 22:43:34 -0700
522
+ Served asset /main.js - 304 Not Modified (0ms)
523
+
524
+
525
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2011-10-22 22:43:34 -0700
526
+ Served asset /application.js - 304 Not Modified (0ms)