branston 0.6.1 → 0.6.2
Sign up to get free protection for your applications and to get access to all the features.
- data/README.rdoc +1 -1
- data/lib/branston/Gemfile +25 -0
- data/lib/branston/Gemfile.lock +76 -0
- data/lib/branston/app/controllers/application_controller.rb +1 -1
- data/lib/branston/app/controllers/outcomes_controller.rb +2 -0
- data/lib/branston/app/controllers/stories_controller.rb +82 -86
- data/lib/branston/app/controllers/users_controller.rb +69 -11
- data/lib/branston/app/helpers/iterations_helper.rb +13 -13
- data/lib/branston/app/models/iteration.rb +3 -1
- data/lib/branston/app/models/release.rb +0 -1
- data/lib/branston/app/models/story.rb +30 -28
- data/lib/branston/app/models/user.rb +46 -1
- data/lib/branston/app/views/layouts/_header.html.erb +8 -3
- data/lib/branston/app/views/layouts/user_roles.html.erb +5 -5
- data/lib/branston/app/views/sessions/new.html.erb +8 -14
- data/lib/branston/app/views/users/_admin_controls.html.erb +14 -0
- data/lib/branston/app/views/users/_form.html.erb +27 -0
- data/lib/branston/app/views/users/edit.html.erb +9 -0
- data/lib/branston/app/views/users/index.html.erb +14 -0
- data/lib/branston/app/views/users/new.html.erb +3 -22
- data/lib/branston/config/boot.rb +20 -0
- data/lib/branston/config/environment.rb +2 -7
- data/lib/branston/config/environments/test.rb +0 -8
- data/lib/branston/config/preinitializer.rb +21 -0
- data/lib/branston/config/routes.rb +15 -10
- data/lib/branston/db/development.sqlite3 +0 -0
- data/lib/branston/db/development_structure.sql +21 -8
- data/lib/branston/db/migrate/20100723161424_add_state_to_user.rb +12 -0
- data/lib/branston/db/migrate/20100726150322_add_activation_fields_to_user.rb +12 -0
- data/lib/branston/db/migrate/20100729125551_set_default_user_state_to_pending.rb +10 -0
- data/lib/branston/db/migrate/20100812133837_add_is_admin_property_to_user.rb +10 -0
- data/lib/branston/db/migrate/20100812140532_set_default_user_state_to_active.rb +10 -0
- data/lib/branston/db/migrate/20100812143455_add_default_admin_user.rb +17 -0
- data/lib/branston/db/migrate/20110408162438_remove_is_admin_property_and_add_role_instead.rb +12 -0
- data/lib/branston/db/pristine.sqlite3 +0 -0
- data/lib/branston/db/schema.rb +6 -8
- data/lib/branston/db/test.sqlite3 +0 -0
- data/lib/branston/log/development.log +1181 -433
- data/lib/branston/log/test.log +145306 -52026
- data/lib/branston/test/blueprints.rb +22 -28
- data/lib/branston/test/functional/iterations_controller_test.rb +149 -113
- data/lib/branston/test/functional/outcomes_controller_test.rb +94 -60
- data/lib/branston/test/functional/preconditions_controller_test.rb +101 -67
- data/lib/branston/test/functional/releases_controller_test.rb +85 -49
- data/lib/branston/test/functional/scenarios_controller_test.rb +104 -70
- data/lib/branston/test/functional/stories_controller_test.rb +41 -12
- data/lib/branston/test/functional/users_controller_test.rb +364 -43
- data/lib/branston/test/unit/iteration_test.rb +37 -6
- data/lib/branston/test/unit/outcome_test.rb +2 -2
- data/lib/branston/test/unit/participation_test.rb +2 -2
- data/lib/branston/test/unit/precondition_test.rb +3 -3
- data/lib/branston/test/unit/release_test.rb +4 -0
- data/lib/branston/test/unit/scenario_test.rb +4 -4
- data/lib/branston/test/unit/story_test.rb +62 -40
- data/lib/branston/test/unit/user_test.rb +195 -5
- metadata +136 -156
- data/lib/branston/app/controllers/user_roles_controller.rb +0 -105
- data/lib/branston/app/helpers/user_roles_helper.rb +0 -2
- data/lib/branston/app/models/user_role.rb +0 -21
- data/lib/branston/app/views/layouts/outcomes.html.erb +0 -17
- data/lib/branston/app/views/layouts/preconditions.html.erb +0 -17
- data/lib/branston/app/views/layouts/releases.html.erb +0 -17
- data/lib/branston/app/views/user_roles/edit.html.erb +0 -16
- data/lib/branston/app/views/user_roles/index.html.erb +0 -20
- data/lib/branston/app/views/user_roles/new.html.erb +0 -15
- data/lib/branston/app/views/user_roles/show.html.erb +0 -8
- data/lib/branston/coverage/app-controllers-application_controller_rb.html +0 -231
- data/lib/branston/coverage/app-controllers-iterations_controller_rb.html +0 -801
- data/lib/branston/coverage/app-controllers-outcomes_controller_rb.html +0 -759
- data/lib/branston/coverage/app-controllers-preconditions_controller_rb.html +0 -783
- data/lib/branston/coverage/app-controllers-releases_controller_rb.html +0 -705
- data/lib/branston/coverage/app-controllers-scenarios_controller_rb.html +0 -777
- data/lib/branston/coverage/app-controllers-sessions_controller_rb.html +0 -411
- data/lib/branston/coverage/app-controllers-stories_controller_rb.html +0 -1071
- data/lib/branston/coverage/app-controllers-user_roles_controller_rb.html +0 -693
- data/lib/branston/coverage/app-controllers-users_controller_rb.html +0 -315
- data/lib/branston/coverage/app-helpers-application_helper_rb.html +0 -327
- data/lib/branston/coverage/app-helpers-iterations_helper_rb.html +0 -363
- data/lib/branston/coverage/app-helpers-outcomes_helper_rb.html +0 -75
- data/lib/branston/coverage/app-helpers-preconditions_helper_rb.html +0 -75
- data/lib/branston/coverage/app-helpers-releases_helper_rb.html +0 -75
- data/lib/branston/coverage/app-helpers-sessions_helper_rb.html +0 -75
- data/lib/branston/coverage/app-helpers-stories_helper_rb.html +0 -75
- data/lib/branston/coverage/app-helpers-user_roles_helper_rb.html +0 -75
- data/lib/branston/coverage/app-models-iteration_rb.html +0 -321
- data/lib/branston/coverage/app-models-outcome_rb.html +0 -243
- data/lib/branston/coverage/app-models-participation_rb.html +0 -189
- data/lib/branston/coverage/app-models-precondition_rb.html +0 -243
- data/lib/branston/coverage/app-models-release_rb.html +0 -195
- data/lib/branston/coverage/app-models-scenario_rb.html +0 -231
- data/lib/branston/coverage/app-models-story_rb.html +0 -621
- data/lib/branston/coverage/app-models-user_rb.html +0 -513
- data/lib/branston/coverage/app-models-user_role_rb.html +0 -189
- data/lib/branston/coverage/index.html +0 -570
- data/lib/branston/coverage/jquery-1.3.2.min.js +0 -19
- data/lib/branston/coverage/jquery.tablesorter.min.js +0 -15
- data/lib/branston/coverage/lib-client_rb.html +0 -537
- data/lib/branston/coverage/lib-faker_extras_rb.html +0 -207
- data/lib/branston/coverage/lib-story_generator_rb.html +0 -873
- data/lib/branston/coverage/print.css +0 -12
- data/lib/branston/coverage/rcov.js +0 -42
- data/lib/branston/coverage/screen.css +0 -270
- data/lib/branston/db/migrate/20091127131037_create_user_roles.rb +0 -13
- data/lib/branston/db/migrate/20091127172950_add_story_id_to_user_role.rb +0 -10
- data/lib/branston/test/functional/user_roles_controller_test.rb +0 -71
- data/lib/branston/test/unit/helpers/user_roles_helper_test.rb +0 -4
- data/lib/branston/test/unit/user_role_test.rb +0 -9
- data/lib/branston/tmp/performance/BrowsingTest#test_homepage_process_time_flat.txt +0 -8
- data/lib/branston/tmp/performance/BrowsingTest#test_homepage_process_time_graph.html +0 -6718
- data/lib/branston/tmp/performance/BrowsingTest#test_homepage_process_time_tree.txt +0 -9942
- data/lib/branston/vendor/plugins/state_machine/CHANGELOG.rdoc +0 -298
- data/lib/branston/vendor/plugins/state_machine/LICENSE +0 -20
- data/lib/branston/vendor/plugins/state_machine/README.rdoc +0 -466
- data/lib/branston/vendor/plugins/state_machine/Rakefile +0 -98
- data/lib/branston/vendor/plugins/state_machine/examples/AutoShop_state.png +0 -0
- data/lib/branston/vendor/plugins/state_machine/examples/Car_state.png +0 -0
- data/lib/branston/vendor/plugins/state_machine/examples/TrafficLight_state.png +0 -0
- data/lib/branston/vendor/plugins/state_machine/examples/Vehicle_state.png +0 -0
- data/lib/branston/vendor/plugins/state_machine/examples/auto_shop.rb +0 -11
- data/lib/branston/vendor/plugins/state_machine/examples/car.rb +0 -19
- data/lib/branston/vendor/plugins/state_machine/examples/merb-rest/controller.rb +0 -51
- data/lib/branston/vendor/plugins/state_machine/examples/merb-rest/model.rb +0 -28
- data/lib/branston/vendor/plugins/state_machine/examples/merb-rest/view_edit.html.erb +0 -24
- data/lib/branston/vendor/plugins/state_machine/examples/merb-rest/view_index.html.erb +0 -23
- data/lib/branston/vendor/plugins/state_machine/examples/merb-rest/view_new.html.erb +0 -13
- data/lib/branston/vendor/plugins/state_machine/examples/merb-rest/view_show.html.erb +0 -17
- data/lib/branston/vendor/plugins/state_machine/examples/rails-rest/controller.rb +0 -43
- data/lib/branston/vendor/plugins/state_machine/examples/rails-rest/migration.rb +0 -11
- data/lib/branston/vendor/plugins/state_machine/examples/rails-rest/model.rb +0 -23
- data/lib/branston/vendor/plugins/state_machine/examples/rails-rest/view_edit.html.erb +0 -25
- data/lib/branston/vendor/plugins/state_machine/examples/rails-rest/view_index.html.erb +0 -23
- data/lib/branston/vendor/plugins/state_machine/examples/rails-rest/view_new.html.erb +0 -14
- data/lib/branston/vendor/plugins/state_machine/examples/rails-rest/view_show.html.erb +0 -17
- data/lib/branston/vendor/plugins/state_machine/examples/traffic_light.rb +0 -7
- data/lib/branston/vendor/plugins/state_machine/examples/vehicle.rb +0 -31
- data/lib/branston/vendor/plugins/state_machine/init.rb +0 -1
- data/lib/branston/vendor/plugins/state_machine/lib/state_machine.rb +0 -388
- data/lib/branston/vendor/plugins/state_machine/lib/state_machine/assertions.rb +0 -36
- data/lib/branston/vendor/plugins/state_machine/lib/state_machine/callback.rb +0 -189
- data/lib/branston/vendor/plugins/state_machine/lib/state_machine/condition_proxy.rb +0 -94
- data/lib/branston/vendor/plugins/state_machine/lib/state_machine/eval_helpers.rb +0 -67
- data/lib/branston/vendor/plugins/state_machine/lib/state_machine/event.rb +0 -252
- data/lib/branston/vendor/plugins/state_machine/lib/state_machine/event_collection.rb +0 -122
- data/lib/branston/vendor/plugins/state_machine/lib/state_machine/extensions.rb +0 -149
- data/lib/branston/vendor/plugins/state_machine/lib/state_machine/guard.rb +0 -230
- data/lib/branston/vendor/plugins/state_machine/lib/state_machine/integrations.rb +0 -68
- data/lib/branston/vendor/plugins/state_machine/lib/state_machine/integrations/active_record.rb +0 -492
- data/lib/branston/vendor/plugins/state_machine/lib/state_machine/integrations/active_record/locale.rb +0 -11
- data/lib/branston/vendor/plugins/state_machine/lib/state_machine/integrations/active_record/observer.rb +0 -41
- data/lib/branston/vendor/plugins/state_machine/lib/state_machine/integrations/data_mapper.rb +0 -351
- data/lib/branston/vendor/plugins/state_machine/lib/state_machine/integrations/data_mapper/observer.rb +0 -139
- data/lib/branston/vendor/plugins/state_machine/lib/state_machine/integrations/sequel.rb +0 -322
- data/lib/branston/vendor/plugins/state_machine/lib/state_machine/machine.rb +0 -1467
- data/lib/branston/vendor/plugins/state_machine/lib/state_machine/machine_collection.rb +0 -155
- data/lib/branston/vendor/plugins/state_machine/lib/state_machine/matcher.rb +0 -123
- data/lib/branston/vendor/plugins/state_machine/lib/state_machine/matcher_helpers.rb +0 -54
- data/lib/branston/vendor/plugins/state_machine/lib/state_machine/node_collection.rb +0 -152
- data/lib/branston/vendor/plugins/state_machine/lib/state_machine/state.rb +0 -249
- data/lib/branston/vendor/plugins/state_machine/lib/state_machine/state_collection.rb +0 -112
- data/lib/branston/vendor/plugins/state_machine/lib/state_machine/transition.rb +0 -394
- data/lib/branston/vendor/plugins/state_machine/state_machine.gemspec +0 -30
- data/lib/branston/vendor/plugins/state_machine/tasks/state_machine.rake +0 -1
- data/lib/branston/vendor/plugins/state_machine/tasks/state_machine.rb +0 -30
- data/lib/branston/vendor/plugins/state_machine/test/classes/switch.rb +0 -11
- data/lib/branston/vendor/plugins/state_machine/test/functional/state_machine_test.rb +0 -941
- data/lib/branston/vendor/plugins/state_machine/test/test_helper.rb +0 -4
- data/lib/branston/vendor/plugins/state_machine/test/unit/assertions_test.rb +0 -40
- data/lib/branston/vendor/plugins/state_machine/test/unit/callback_test.rb +0 -455
- data/lib/branston/vendor/plugins/state_machine/test/unit/condition_proxy_test.rb +0 -328
- data/lib/branston/vendor/plugins/state_machine/test/unit/eval_helpers_test.rb +0 -120
- data/lib/branston/vendor/plugins/state_machine/test/unit/event_collection_test.rb +0 -326
- data/lib/branston/vendor/plugins/state_machine/test/unit/event_test.rb +0 -743
- data/lib/branston/vendor/plugins/state_machine/test/unit/guard_test.rb +0 -908
- data/lib/branston/vendor/plugins/state_machine/test/unit/integrations/active_record_test.rb +0 -1367
- data/lib/branston/vendor/plugins/state_machine/test/unit/integrations/data_mapper_test.rb +0 -962
- data/lib/branston/vendor/plugins/state_machine/test/unit/integrations/sequel_test.rb +0 -859
- data/lib/branston/vendor/plugins/state_machine/test/unit/integrations_test.rb +0 -42
- data/lib/branston/vendor/plugins/state_machine/test/unit/invalid_event_test.rb +0 -7
- data/lib/branston/vendor/plugins/state_machine/test/unit/invalid_transition_test.rb +0 -7
- data/lib/branston/vendor/plugins/state_machine/test/unit/machine_collection_test.rb +0 -938
- data/lib/branston/vendor/plugins/state_machine/test/unit/machine_test.rb +0 -2004
- data/lib/branston/vendor/plugins/state_machine/test/unit/matcher_helpers_test.rb +0 -37
- data/lib/branston/vendor/plugins/state_machine/test/unit/matcher_test.rb +0 -155
- data/lib/branston/vendor/plugins/state_machine/test/unit/node_collection_test.rb +0 -207
- data/lib/branston/vendor/plugins/state_machine/test/unit/state_collection_test.rb +0 -280
- data/lib/branston/vendor/plugins/state_machine/test/unit/state_machine_test.rb +0 -31
- data/lib/branston/vendor/plugins/state_machine/test/unit/state_test.rb +0 -795
- data/lib/branston/vendor/plugins/state_machine/test/unit/transition_test.rb +0 -1212
data/lib/branston/config/boot.rb
CHANGED
@@ -106,5 +106,25 @@ module Rails
|
|
106
106
|
end
|
107
107
|
end
|
108
108
|
|
109
|
+
# DH: Patching in support for Bundler, 7 April 2011.
|
110
|
+
#
|
111
|
+
# See: http://gembundler.com/rails23.html
|
112
|
+
#
|
113
|
+
class Rails::Boot
|
114
|
+
def run
|
115
|
+
load_initializer
|
116
|
+
|
117
|
+
Rails::Initializer.class_eval do
|
118
|
+
def load_gems
|
119
|
+
@bundler_loaded ||= Bundler.require :default, Rails.env
|
120
|
+
end
|
121
|
+
end
|
122
|
+
|
123
|
+
Rails::Initializer.run(:set_load_path)
|
124
|
+
end
|
125
|
+
end
|
126
|
+
|
127
|
+
|
109
128
|
# All that for this:
|
110
129
|
Rails.boot!
|
130
|
+
|
@@ -1,7 +1,7 @@
|
|
1
1
|
# Be sure to restart your server when you modify this file
|
2
2
|
|
3
3
|
# Specifies gem version of Rails to use when vendor/rails is not present
|
4
|
-
RAILS_GEM_VERSION = '2.3.
|
4
|
+
RAILS_GEM_VERSION = '2.3.11' unless defined? RAILS_GEM_VERSION
|
5
5
|
|
6
6
|
# Bootstrap the Rails environment, frameworks, and default configuration
|
7
7
|
require File.join(File.dirname(__FILE__), 'boot')
|
@@ -14,12 +14,7 @@ Rails::Initializer.run do |config|
|
|
14
14
|
# Add additional load paths for your own custom dirs
|
15
15
|
# config.load_paths += %W( #{RAILS_ROOT}/extras )
|
16
16
|
|
17
|
-
#
|
18
|
-
# config.gem "bj"
|
19
|
-
# config.gem "hpricot", :version => '0.6', :source => "http://code.whytheluckystiff.net"
|
20
|
-
# config.gem "sqlite3-ruby", :lib => "sqlite3"
|
21
|
-
# config.gem "aws-s3", :lib => "aws/s3"
|
22
|
-
config.gem "calendar_date_select"
|
17
|
+
# NB: All gem are now in the Gemfile.
|
23
18
|
|
24
19
|
# Only load the plugins named here, in the order given (default is alphabetical).
|
25
20
|
# :all can be used as a placeholder for all plugins not explicitly named
|
@@ -27,14 +27,6 @@ config.action_mailer.delivery_method = :test
|
|
27
27
|
# like if you have constraints or database-specific column types
|
28
28
|
# config.active_record.schema_format = :sql
|
29
29
|
|
30
|
-
config.gem "cucumber", :lib => false, :version => '0.4.4'
|
31
|
-
config.gem "thoughtbot-shoulda", :lib => false, :source => "http://gems.github.com"
|
32
|
-
config.gem "notahat-machinist", :lib => false, :source => "http://gems.github.com"
|
33
|
-
config.gem 'webrat', :lib => false
|
34
|
-
config.gem "faker", :lib => false
|
35
|
-
config.gem "relevance-rcov", :lib => false
|
36
|
-
config.gem "ruby-prof", :lib => false
|
37
|
-
|
38
30
|
FEATURE_PATH='test/features/'
|
39
31
|
FileUtils.mkdir FEATURE_PATH unless File.exists? FEATURE_PATH
|
40
32
|
FileUtils.mkdir FEATURE_PATH + 'step_definitions' unless File.exists? FEATURE_PATH + 'step_definitions'
|
@@ -0,0 +1,21 @@
|
|
1
|
+
begin
|
2
|
+
require "rubygems"
|
3
|
+
require "bundler"
|
4
|
+
rescue LoadError
|
5
|
+
raise "Could not load the bundler gem. Install it with `gem install bundler`."
|
6
|
+
end
|
7
|
+
|
8
|
+
if Gem::Version.new(Bundler::VERSION) <= Gem::Version.new("0.9.24")
|
9
|
+
raise RuntimeError, "Your bundler version is too old for Rails 2.3." +
|
10
|
+
"Run `gem install bundler` to upgrade."
|
11
|
+
end
|
12
|
+
|
13
|
+
begin
|
14
|
+
# Set up load paths for all bundled gems
|
15
|
+
ENV["BUNDLE_GEMFILE"] = File.expand_path("../../Gemfile", __FILE__)
|
16
|
+
Bundler.setup
|
17
|
+
rescue Bundler::GemNotFound
|
18
|
+
raise RuntimeError, "Bundler couldn't find some gems." +
|
19
|
+
"Did you run `bundle install`?"
|
20
|
+
end
|
21
|
+
|
@@ -1,29 +1,34 @@
|
|
1
1
|
ActionController::Routing::Routes.draw do |map|
|
2
|
-
map.resources :outcomes
|
3
|
-
|
4
|
-
map.resources :preconditions
|
5
2
|
|
6
|
-
|
3
|
+
# Resources
|
4
|
+
#
|
7
5
|
map.resources :iterations do |i|
|
8
6
|
i.resources :stories, :member => { :generate_feature => :get } do |r|
|
9
7
|
r.resources :scenarios
|
10
8
|
end
|
11
9
|
end
|
12
|
-
|
13
|
-
map.
|
14
|
-
|
15
|
-
map.
|
10
|
+
map.resources :outcomes
|
11
|
+
map.resources :preconditions
|
12
|
+
map.resources :releases
|
13
|
+
map.resource :session
|
14
|
+
map.resources :users, :member => { :suspend => :get, :activate => :get }
|
16
15
|
|
16
|
+
# Named routes
|
17
|
+
#
|
18
|
+
map.client_generate '/stories/:id.:format', :controller => 'stories', :action => 'show'
|
17
19
|
map.logout '/logout', :controller => 'sessions', :action => 'destroy'
|
18
20
|
map.login '/login', :controller => 'sessions', :action => 'new'
|
19
21
|
map.register '/register', :controller => 'users', :action => 'create'
|
20
22
|
map.signup '/signup', :controller => 'users', :action => 'new'
|
21
|
-
map.resources :users
|
22
23
|
|
23
|
-
|
24
|
+
# Defaults
|
25
|
+
#
|
24
26
|
map.connect ':controller/:action/:id'
|
25
27
|
map.connect ':controller/:action/:id.:format'
|
26
28
|
|
29
|
+
# root_path
|
30
|
+
#
|
27
31
|
map.root :controller => :iterations
|
32
|
+
|
28
33
|
end
|
29
34
|
|
Binary file
|
@@ -5,9 +5,8 @@ CREATE TABLE "preconditions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "
|
|
5
5
|
CREATE TABLE "releases" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "release_date" date, "notes" text, "created_at" datetime, "updated_at" datetime);
|
6
6
|
CREATE TABLE "scenarios" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "story_id" integer, "created_at" datetime, "updated_at" datetime);
|
7
7
|
CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL);
|
8
|
-
CREATE TABLE "stories" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "description" text, "points" integer, "iteration_id" integer, "created_at" datetime, "updated_at" datetime, "author_id" integer, "
|
9
|
-
CREATE TABLE "
|
10
|
-
CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "login" varchar(40), "name" varchar(100) DEFAULT '', "email" varchar(100), "crypted_password" varchar(40), "salt" varchar(40), "created_at" datetime, "updated_at" datetime, "remember_token" varchar(40), "remember_token_expires_at" datetime);
|
8
|
+
CREATE TABLE "stories" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "description" text, "points" integer, "iteration_id" integer, "created_at" datetime, "updated_at" datetime, "title" varchar(40), "author_id" integer, "slug" varchar(255) DEFAULT '' NOT NULL, "status" varchar(10), "completed_date" date);
|
9
|
+
CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "login" varchar(40), "name" varchar(100) DEFAULT '', "email" varchar(100), "crypted_password" varchar(40), "salt" varchar(40), "created_at" datetime, "updated_at" datetime, "remember_token" varchar(40), "remember_token_expires_at" datetime, "state" varchar(255) DEFAULT 'active', "deleted_at" datetime, "activated_at" datetime, "activation_code" varchar(40), "role" varchar(255));
|
11
10
|
CREATE UNIQUE INDEX "index_users_on_login" ON "users" ("login");
|
12
11
|
CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version");
|
13
12
|
INSERT INTO schema_migrations (version) VALUES ('20091127114237');
|
@@ -18,18 +17,32 @@ INSERT INTO schema_migrations (version) VALUES ('20091127122422');
|
|
18
17
|
|
19
18
|
INSERT INTO schema_migrations (version) VALUES ('20091127144645');
|
20
19
|
|
21
|
-
INSERT INTO schema_migrations (version) VALUES ('20091127131037');
|
22
|
-
|
23
20
|
INSERT INTO schema_migrations (version) VALUES ('20091127164217');
|
24
21
|
|
25
22
|
INSERT INTO schema_migrations (version) VALUES ('20091127164446');
|
26
23
|
|
27
24
|
INSERT INTO schema_migrations (version) VALUES ('20091127164705');
|
28
25
|
|
29
|
-
INSERT INTO schema_migrations (version) VALUES ('
|
26
|
+
INSERT INTO schema_migrations (version) VALUES ('20091127172849');
|
30
27
|
|
31
28
|
INSERT INTO schema_migrations (version) VALUES ('20091127173744');
|
32
29
|
|
33
|
-
INSERT INTO schema_migrations (version) VALUES ('
|
30
|
+
INSERT INTO schema_migrations (version) VALUES ('20091202105555');
|
31
|
+
|
32
|
+
INSERT INTO schema_migrations (version) VALUES ('20091204173634');
|
33
|
+
|
34
|
+
INSERT INTO schema_migrations (version) VALUES ('20091223100903');
|
35
|
+
|
36
|
+
INSERT INTO schema_migrations (version) VALUES ('20100723161424');
|
37
|
+
|
38
|
+
INSERT INTO schema_migrations (version) VALUES ('20100726150322');
|
39
|
+
|
40
|
+
INSERT INTO schema_migrations (version) VALUES ('20100729125551');
|
41
|
+
|
42
|
+
INSERT INTO schema_migrations (version) VALUES ('20100812133837');
|
43
|
+
|
44
|
+
INSERT INTO schema_migrations (version) VALUES ('20100812140532');
|
45
|
+
|
46
|
+
INSERT INTO schema_migrations (version) VALUES ('20100812143455');
|
34
47
|
|
35
|
-
INSERT INTO schema_migrations (version) VALUES ('
|
48
|
+
INSERT INTO schema_migrations (version) VALUES ('20110408162438');
|
@@ -0,0 +1,12 @@
|
|
1
|
+
class AddStateToUser < ActiveRecord::Migration
|
2
|
+
def self.up
|
3
|
+
add_column :users, :state, :string, :null => :no, :default => 'passive'
|
4
|
+
add_column :users, :deleted_at, :datetime
|
5
|
+
end
|
6
|
+
|
7
|
+
def self.down
|
8
|
+
remove_column :users, :state
|
9
|
+
remove_column :users, :deleted_at
|
10
|
+
end
|
11
|
+
end
|
12
|
+
|
@@ -0,0 +1,12 @@
|
|
1
|
+
class AddActivationFieldsToUser < ActiveRecord::Migration
|
2
|
+
def self.up
|
3
|
+
add_column :users, :activated_at, :datetime
|
4
|
+
add_column :users, :activation_code, :string, :limit => 40
|
5
|
+
end
|
6
|
+
|
7
|
+
def self.down
|
8
|
+
remove_column :users, :activated_at
|
9
|
+
remove_column :users, :activation_code
|
10
|
+
end
|
11
|
+
end
|
12
|
+
|
@@ -0,0 +1,17 @@
|
|
1
|
+
class AddDefaultAdminUser < ActiveRecord::Migration
|
2
|
+
def self.up
|
3
|
+
u = User.new
|
4
|
+
u.login = "admin"
|
5
|
+
u.password = "password"
|
6
|
+
u.password_confirmation = "password"
|
7
|
+
u.email = "foo@bar.org"
|
8
|
+
u.state = "active"
|
9
|
+
u.activated_at = Time.now
|
10
|
+
u.is_admin = true
|
11
|
+
u.save!
|
12
|
+
end
|
13
|
+
|
14
|
+
def self.down
|
15
|
+
end
|
16
|
+
end
|
17
|
+
|
@@ -0,0 +1,12 @@
|
|
1
|
+
class RemoveIsAdminPropertyAndAddRoleInstead < ActiveRecord::Migration
|
2
|
+
def self.up
|
3
|
+
remove_column :users, :is_admin
|
4
|
+
add_column :users, :role, :string
|
5
|
+
end
|
6
|
+
|
7
|
+
def self.down
|
8
|
+
add_column :users, :is_admin, :boolean, :default => false
|
9
|
+
remove_column :users, :role
|
10
|
+
end
|
11
|
+
end
|
12
|
+
|
Binary file
|
data/lib/branston/db/schema.rb
CHANGED
@@ -9,7 +9,7 @@
|
|
9
9
|
#
|
10
10
|
# It's strongly recommended to check this file into your version control system.
|
11
11
|
|
12
|
-
ActiveRecord::Schema.define(:version =>
|
12
|
+
ActiveRecord::Schema.define(:version => 20110408162438) do
|
13
13
|
|
14
14
|
create_table "iterations", :force => true do |t|
|
15
15
|
t.integer "velocity"
|
@@ -69,13 +69,6 @@ ActiveRecord::Schema.define(:version => 20091223100903) do
|
|
69
69
|
t.date "completed_date"
|
70
70
|
end
|
71
71
|
|
72
|
-
create_table "user_roles", :force => true do |t|
|
73
|
-
t.string "name"
|
74
|
-
t.datetime "created_at"
|
75
|
-
t.datetime "updated_at"
|
76
|
-
t.integer "story_id"
|
77
|
-
end
|
78
|
-
|
79
72
|
create_table "users", :force => true do |t|
|
80
73
|
t.string "login", :limit => 40
|
81
74
|
t.string "name", :limit => 100, :default => ""
|
@@ -86,6 +79,11 @@ ActiveRecord::Schema.define(:version => 20091223100903) do
|
|
86
79
|
t.datetime "updated_at"
|
87
80
|
t.string "remember_token", :limit => 40
|
88
81
|
t.datetime "remember_token_expires_at"
|
82
|
+
t.string "state", :default => "active"
|
83
|
+
t.datetime "deleted_at"
|
84
|
+
t.datetime "activated_at"
|
85
|
+
t.string "activation_code", :limit => 40
|
86
|
+
t.string "role"
|
89
87
|
end
|
90
88
|
|
91
89
|
add_index "users", ["login"], :name => "index_users_on_login", :unique => true
|
Binary file
|
@@ -1,472 +1,1220 @@
|
|
1
|
-
# Logfile created on
|
1
|
+
# Logfile created on Fri Apr 08 17:09:19 +0100 2011 [4;36;1mSQL (0.4ms)[0m [0;1m SELECT name
|
2
2
|
FROM sqlite_master
|
3
3
|
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
4
4
|
[0m
|
5
|
-
[4;35;1mSQL (
|
6
|
-
[4;36;1mSQL (
|
7
|
-
[4;35;1mSQL (
|
8
|
-
[4;36;1mSQL (
|
5
|
+
[4;35;1mSQL (27.6ms)[0m [0mselect sqlite_version(*)[0m
|
6
|
+
[4;36;1mSQL (133.2ms)[0m [0;1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
7
|
+
[4;35;1mSQL (0.1ms)[0m [0mPRAGMA index_list("schema_migrations")[0m
|
8
|
+
[4;36;1mSQL (75.4ms)[0m [0;1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
9
|
+
[4;35;1mSQL (0.2ms)[0m [0m SELECT name
|
9
10
|
FROM sqlite_master
|
10
11
|
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
11
12
|
[0m
|
12
|
-
[4;
|
13
|
-
[4;36;1mSQL (0.5ms)[0m [0;1m SELECT name
|
14
|
-
FROM sqlite_master
|
15
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
16
|
-
[0m
|
17
|
-
[4;35;1mSQL (0.2ms)[0m [0mSELECT version FROM schema_migrations[0m
|
13
|
+
[4;36;1mSQL (0.1ms)[0m [0;1mSELECT version FROM schema_migrations[0m
|
18
14
|
Migrating to CreateUsers (20091127114237)
|
19
|
-
[4;
|
20
|
-
[4;35;1mSQL (0.4ms)[0m [0m SELECT name
|
15
|
+
[4;35;1mSQL (0.2ms)[0m [0m SELECT name
|
21
16
|
FROM sqlite_master
|
22
17
|
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
23
18
|
[0m
|
24
|
-
[4;36;1mSQL (
|
25
|
-
[4;35;1mSQL (
|
26
|
-
[4;36;1mSQL (
|
19
|
+
[4;36;1mSQL (0.6ms)[0m [0;1mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "login" varchar(40), "name" varchar(100) DEFAULT '', "email" varchar(100), "crypted_password" varchar(40), "salt" varchar(40), "created_at" datetime, "updated_at" datetime, "remember_token" varchar(40), "remember_token_expires_at" datetime) [0m
|
20
|
+
[4;35;1mSQL (0.2ms)[0m [0mPRAGMA index_list("users")[0m
|
21
|
+
[4;36;1mSQL (28.6ms)[0m [0;1mCREATE UNIQUE INDEX "index_users_on_login" ON "users" ("login")[0m
|
22
|
+
[4;35;1mSQL (0.3ms)[0m [0mINSERT INTO schema_migrations (version) VALUES ('20091127114237')[0m
|
27
23
|
Migrating to CreateIterations (20091127120627)
|
28
|
-
[4;
|
29
|
-
[4;
|
24
|
+
[4;36;1mSQL (0.6ms)[0m [0;1mCREATE TABLE "iterations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "velocity" integer, "name" varchar(255), "start_date" datetime, "end_date" datetime, "created_at" datetime, "updated_at" datetime) [0m
|
25
|
+
[4;35;1mSQL (0.3ms)[0m [0mINSERT INTO schema_migrations (version) VALUES ('20091127120627')[0m
|
30
26
|
Migrating to CreateStories (20091127122422)
|
31
|
-
[4;
|
32
|
-
[4;
|
33
|
-
Migrating to CreateUserRoles (20091127131037)
|
34
|
-
[4;35;1mSQL (1.0ms)[0m [0mCREATE TABLE "user_roles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "created_at" datetime, "updated_at" datetime) [0m
|
35
|
-
[4;36;1mSQL (0.6ms)[0m [0;1mINSERT INTO schema_migrations (version) VALUES ('20091127131037')[0m
|
27
|
+
[4;36;1mSQL (0.7ms)[0m [0;1mCREATE TABLE "stories" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "description" text, "points" integer, "iteration_id" integer, "created_at" datetime, "updated_at" datetime) [0m
|
28
|
+
[4;35;1mSQL (7.9ms)[0m [0mINSERT INTO schema_migrations (version) VALUES ('20091127122422')[0m
|
36
29
|
Migrating to CreateParticipations (20091127144645)
|
37
|
-
[4;
|
38
|
-
[4;
|
30
|
+
[4;36;1mSQL (0.7ms)[0m [0;1mCREATE TABLE "participations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "iteration_id" integer, "created_at" datetime, "updated_at" datetime) [0m
|
31
|
+
[4;35;1mSQL (0.4ms)[0m [0mINSERT INTO schema_migrations (version) VALUES ('20091127144645')[0m
|
39
32
|
Migrating to CreateScenarios (20091127164217)
|
40
|
-
[4;
|
41
|
-
[4;
|
33
|
+
[4;36;1mSQL (0.9ms)[0m [0;1mCREATE TABLE "scenarios" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "story_id" integer, "created_at" datetime, "updated_at" datetime) [0m
|
34
|
+
[4;35;1mSQL (0.4ms)[0m [0mINSERT INTO schema_migrations (version) VALUES ('20091127164217')[0m
|
42
35
|
Migrating to CreatePreconditions (20091127164446)
|
43
|
-
[4;
|
44
|
-
[4;
|
36
|
+
[4;36;1mSQL (0.9ms)[0m [0;1mCREATE TABLE "preconditions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "description" varchar(255), "scenario_id" integer, "created_at" datetime, "updated_at" datetime) [0m
|
37
|
+
[4;35;1mSQL (0.4ms)[0m [0mINSERT INTO schema_migrations (version) VALUES ('20091127164446')[0m
|
45
38
|
Migrating to CreateOutcomes (20091127164705)
|
46
|
-
[4;
|
47
|
-
[4;
|
39
|
+
[4;36;1mSQL (0.7ms)[0m [0;1mCREATE TABLE "outcomes" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "description" varchar(255), "scenario_id" integer, "created_at" datetime, "updated_at" datetime) [0m
|
40
|
+
[4;35;1mSQL (0.4ms)[0m [0mINSERT INTO schema_migrations (version) VALUES ('20091127164705')[0m
|
48
41
|
Migrating to AddTitleToStories (20091127172849)
|
49
|
-
[4;
|
50
|
-
[4;
|
51
|
-
Migrating to AddStoryIdToUserRole (20091127172950)
|
52
|
-
[4;35;1mSQL (1.1ms)[0m [0mALTER TABLE "user_roles" ADD "story_id" integer[0m
|
53
|
-
[4;36;1mSQL (0.6ms)[0m [0;1mINSERT INTO schema_migrations (version) VALUES ('20091127172950')[0m
|
42
|
+
[4;36;1mSQL (0.8ms)[0m [0;1mALTER TABLE "stories" ADD "title" varchar(40)[0m
|
43
|
+
[4;35;1mSQL (0.4ms)[0m [0mINSERT INTO schema_migrations (version) VALUES ('20091127172849')[0m
|
54
44
|
Migrating to AddAuthorIdToStory (20091127173744)
|
55
|
-
[4;
|
56
|
-
[4;
|
45
|
+
[4;36;1mSQL (0.7ms)[0m [0;1mALTER TABLE "stories" ADD "author_id" integer[0m
|
46
|
+
[4;35;1mSQL (0.4ms)[0m [0mINSERT INTO schema_migrations (version) VALUES ('20091127173744')[0m
|
57
47
|
Migrating to CreateReleases (20091202105555)
|
58
|
-
[4;
|
59
|
-
[4;
|
60
|
-
[4;
|
48
|
+
[4;36;1mSQL (0.7ms)[0m [0;1mCREATE TABLE "releases" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "release_date" date, "notes" text, "created_at" datetime, "updated_at" datetime) [0m
|
49
|
+
[4;35;1mSQL (0.3ms)[0m [0mALTER TABLE "iterations" ADD "release_id" integer[0m
|
50
|
+
[4;36;1mSQL (0.4ms)[0m [0;1mINSERT INTO schema_migrations (version) VALUES ('20091202105555')[0m
|
61
51
|
Migrating to AddSlugToStories (20091204173634)
|
62
|
-
[4;
|
63
|
-
[4;
|
64
|
-
[4;
|
52
|
+
[4;35;1mSQL (0.7ms)[0m [0mALTER TABLE "stories" ADD "slug" varchar(255) DEFAULT '' NOT NULL[0m
|
53
|
+
[4;36;1mStory Load (0.2ms)[0m [0;1mSELECT * FROM "stories" [0m
|
54
|
+
[4;35;1mSQL (0.4ms)[0m [0mINSERT INTO schema_migrations (version) VALUES ('20091204173634')[0m
|
65
55
|
Migrating to AddStatusToStory (20091223100903)
|
66
|
-
[4;
|
67
|
-
[4;
|
68
|
-
[4;
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
[0m
|
73
|
-
|
74
|
-
[4;36;1mSQL (0.
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
[4;35;1mSQL (0.
|
79
|
-
[4;36;1mSQL (0.1ms)[0m [0;1mPRAGMA index_list("
|
80
|
-
[4;35;1mSQL (0.1ms)[0m [0mPRAGMA
|
81
|
-
[4;36;1mSQL (0.
|
82
|
-
[4;35;1mSQL (
|
83
|
-
[4;36;1mSQL (
|
84
|
-
[4;35;1mSQL (0.
|
85
|
-
[4;36;1mSQL (0.1ms)[0m [0;1mPRAGMA index_list("
|
86
|
-
[4;35;1mSQL (0.
|
87
|
-
[4;36;1mSQL (0.
|
88
|
-
[4;
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
[4;
|
93
|
-
[4;
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
[0m
|
98
|
-
[4;
|
99
|
-
[4;
|
100
|
-
|
101
|
-
|
102
|
-
[0m
|
103
|
-
[4;36;1mSQL (
|
104
|
-
[4;35;1mSQL (0.
|
105
|
-
|
106
|
-
|
107
|
-
[0m
|
108
|
-
|
109
|
-
[4;35;
|
110
|
-
FROM
|
111
|
-
|
112
|
-
[0m
|
113
|
-
[4;36;1mSQL (73.6ms)[0m [0;1mCREATE TABLE "preconditions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "description" varchar(255), "scenario_id" integer, "created_at" datetime, "updated_at" datetime) [0m
|
114
|
-
[4;35;1mSQL (0.6ms)[0m [0m SELECT name
|
115
|
-
FROM sqlite_master
|
116
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
117
|
-
[0m
|
118
|
-
[4;36;1mSQL (87.9ms)[0m [0;1mCREATE TABLE "releases" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "release_date" date, "notes" text, "created_at" datetime, "updated_at" datetime) [0m
|
119
|
-
[4;35;1mSQL (0.7ms)[0m [0m SELECT name
|
120
|
-
FROM sqlite_master
|
121
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
122
|
-
[0m
|
123
|
-
[4;36;1mSQL (73.4ms)[0m [0;1mCREATE TABLE "scenarios" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "story_id" integer, "created_at" datetime, "updated_at" datetime) [0m
|
124
|
-
[4;35;1mSQL (0.9ms)[0m [0m SELECT name
|
125
|
-
FROM sqlite_master
|
126
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
127
|
-
[0m
|
128
|
-
[4;36;1mSQL (61.4ms)[0m [0;1mCREATE TABLE "stories" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "description" text, "points" integer, "iteration_id" integer, "created_at" datetime, "updated_at" datetime, "title" varchar(40), "author_id" integer, "slug" varchar(255) DEFAULT '' NOT NULL, "status" varchar(10), "completed_date" date) [0m
|
129
|
-
[4;35;1mSQL (0.8ms)[0m [0m SELECT name
|
130
|
-
FROM sqlite_master
|
131
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
132
|
-
[0m
|
133
|
-
[4;36;1mSQL (63.0ms)[0m [0;1mCREATE TABLE "user_roles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "created_at" datetime, "updated_at" datetime, "story_id" integer) [0m
|
134
|
-
[4;35;1mSQL (0.9ms)[0m [0m SELECT name
|
135
|
-
FROM sqlite_master
|
136
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
137
|
-
[0m
|
138
|
-
[4;36;1mSQL (88.4ms)[0m [0;1mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "login" varchar(40), "name" varchar(100) DEFAULT '', "email" varchar(100), "crypted_password" varchar(40), "salt" varchar(40), "created_at" datetime, "updated_at" datetime, "remember_token" varchar(40), "remember_token_expires_at" datetime) [0m
|
139
|
-
[4;35;1mSQL (73.8ms)[0m [0mCREATE UNIQUE INDEX "index_users_on_login" ON "users" ("login")[0m
|
140
|
-
[4;36;1mSQL (1.0ms)[0m [0;1m SELECT name
|
141
|
-
FROM sqlite_master
|
142
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
143
|
-
[0m
|
144
|
-
[4;35;1mSQL (64.4ms)[0m [0mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
145
|
-
[4;36;1mSQL (94.9ms)[0m [0;1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
146
|
-
[4;35;1mSQL (1.0ms)[0m [0m SELECT name
|
147
|
-
FROM sqlite_master
|
148
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
149
|
-
[0m
|
150
|
-
[4;36;1mSQL (0.2ms)[0m [0;1mSELECT version FROM "schema_migrations"[0m
|
151
|
-
[4;35;1mSQL (93.2ms)[0m [0mINSERT INTO "schema_migrations" (version) VALUES ('20091223100903')[0m
|
152
|
-
[4;36;1mSQL (75.2ms)[0m [0;1mINSERT INTO "schema_migrations" (version) VALUES ('20091127122422')[0m
|
153
|
-
[4;35;1mSQL (66.2ms)[0m [0mINSERT INTO "schema_migrations" (version) VALUES ('20091127131037')[0m
|
154
|
-
[4;36;1mSQL (66.3ms)[0m [0;1mINSERT INTO "schema_migrations" (version) VALUES ('20091127164705')[0m
|
155
|
-
[4;35;1mSQL (66.3ms)[0m [0mINSERT INTO "schema_migrations" (version) VALUES ('20091127120627')[0m
|
156
|
-
[4;36;1mSQL (66.2ms)[0m [0;1mINSERT INTO "schema_migrations" (version) VALUES ('20091127172849')[0m
|
157
|
-
[4;35;1mSQL (66.3ms)[0m [0mINSERT INTO "schema_migrations" (version) VALUES ('20091127144645')[0m
|
158
|
-
[4;36;1mSQL (66.2ms)[0m [0;1mINSERT INTO "schema_migrations" (version) VALUES ('20091127114237')[0m
|
159
|
-
[4;35;1mSQL (66.3ms)[0m [0mINSERT INTO "schema_migrations" (version) VALUES ('20091127172950')[0m
|
160
|
-
[4;36;1mSQL (66.2ms)[0m [0;1mINSERT INTO "schema_migrations" (version) VALUES ('20091204173634')[0m
|
161
|
-
[4;35;1mSQL (66.2ms)[0m [0mINSERT INTO "schema_migrations" (version) VALUES ('20091202105555')[0m
|
162
|
-
[4;36;1mSQL (66.2ms)[0m [0;1mINSERT INTO "schema_migrations" (version) VALUES ('20091127164446')[0m
|
163
|
-
[4;35;1mSQL (66.3ms)[0m [0mINSERT INTO "schema_migrations" (version) VALUES ('20091127164217')[0m
|
164
|
-
[4;36;1mSQL (66.3ms)[0m [0;1mINSERT INTO "schema_migrations" (version) VALUES ('20091127173744')[0m
|
165
|
-
[4;36;1mSQL (1.6ms)[0m [0;1m SELECT name
|
166
|
-
FROM sqlite_master
|
167
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
168
|
-
[0m
|
169
|
-
[4;35;1mSQL (1.3ms)[0m [0mSELECT version FROM schema_migrations[0m
|
170
|
-
[4;36;1mSQL (0.3ms)[0m [0;1mselect sqlite_version(*)[0m
|
171
|
-
[4;35;1mSQL (0.4ms)[0m [0m SELECT name
|
172
|
-
FROM sqlite_master
|
173
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
174
|
-
[0m
|
175
|
-
[4;36;1mSQL (172.1ms)[0m [0;1mCREATE TABLE "iterations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "velocity" integer, "name" varchar(255), "start_date" datetime, "end_date" datetime, "created_at" datetime, "updated_at" datetime, "release_id" integer) [0m
|
176
|
-
[4;35;1mSQL (0.4ms)[0m [0m SELECT name
|
177
|
-
FROM sqlite_master
|
178
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
179
|
-
[0m
|
180
|
-
[4;36;1mSQL (75.1ms)[0m [0;1mCREATE TABLE "outcomes" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "description" varchar(255), "scenario_id" integer, "created_at" datetime, "updated_at" datetime) [0m
|
181
|
-
[4;35;1mSQL (0.5ms)[0m [0m SELECT name
|
182
|
-
FROM sqlite_master
|
183
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
184
|
-
[0m
|
185
|
-
[4;36;1mSQL (86.8ms)[0m [0;1mCREATE TABLE "participations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "iteration_id" integer, "created_at" datetime, "updated_at" datetime) [0m
|
186
|
-
[4;35;1mSQL (0.6ms)[0m [0m SELECT name
|
187
|
-
FROM sqlite_master
|
188
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
189
|
-
[0m
|
190
|
-
[4;36;1mSQL (73.6ms)[0m [0;1mCREATE TABLE "preconditions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "description" varchar(255), "scenario_id" integer, "created_at" datetime, "updated_at" datetime) [0m
|
191
|
-
[4;35;1mSQL (0.7ms)[0m [0m SELECT name
|
192
|
-
FROM sqlite_master
|
193
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
194
|
-
[0m
|
195
|
-
[4;36;1mSQL (88.0ms)[0m [0;1mCREATE TABLE "releases" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "release_date" date, "notes" text, "created_at" datetime, "updated_at" datetime) [0m
|
196
|
-
[4;35;1mSQL (0.8ms)[0m [0m SELECT name
|
197
|
-
FROM sqlite_master
|
198
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
199
|
-
[0m
|
200
|
-
[4;36;1mSQL (72.2ms)[0m [0;1mCREATE TABLE "scenarios" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "story_id" integer, "created_at" datetime, "updated_at" datetime) [0m
|
201
|
-
[4;35;1mSQL (0.8ms)[0m [0m SELECT name
|
202
|
-
FROM sqlite_master
|
203
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
204
|
-
[0m
|
205
|
-
[4;36;1mSQL (61.5ms)[0m [0;1mCREATE TABLE "stories" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "description" text, "points" integer, "iteration_id" integer, "created_at" datetime, "updated_at" datetime, "title" varchar(40), "author_id" integer, "slug" varchar(255) DEFAULT '' NOT NULL, "status" varchar(10), "completed_date" date) [0m
|
206
|
-
[4;35;1mSQL (0.8ms)[0m [0m SELECT name
|
207
|
-
FROM sqlite_master
|
208
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
209
|
-
[0m
|
210
|
-
[4;36;1mSQL (63.1ms)[0m [0;1mCREATE TABLE "user_roles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "created_at" datetime, "updated_at" datetime, "story_id" integer) [0m
|
211
|
-
[4;35;1mSQL (1.0ms)[0m [0m SELECT name
|
212
|
-
FROM sqlite_master
|
213
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
214
|
-
[0m
|
215
|
-
[4;36;1mSQL (90.3ms)[0m [0;1mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "login" varchar(40), "name" varchar(100) DEFAULT '', "email" varchar(100), "crypted_password" varchar(40), "salt" varchar(40), "created_at" datetime, "updated_at" datetime, "remember_token" varchar(40), "remember_token_expires_at" datetime) [0m
|
216
|
-
[4;35;1mSQL (71.7ms)[0m [0mCREATE UNIQUE INDEX "index_users_on_login" ON "users" ("login")[0m
|
217
|
-
[4;36;1mSQL (0.9ms)[0m [0;1m SELECT name
|
218
|
-
FROM sqlite_master
|
219
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
220
|
-
[0m
|
221
|
-
[4;35;1mSQL (64.4ms)[0m [0mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
222
|
-
[4;36;1mSQL (96.0ms)[0m [0;1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
223
|
-
[4;35;1mSQL (1.1ms)[0m [0m SELECT name
|
224
|
-
FROM sqlite_master
|
225
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
226
|
-
[0m
|
227
|
-
[4;36;1mSQL (0.2ms)[0m [0;1mSELECT version FROM "schema_migrations"[0m
|
228
|
-
[4;35;1mSQL (76.7ms)[0m [0mINSERT INTO "schema_migrations" (version) VALUES ('20091223100903')[0m
|
229
|
-
[4;36;1mSQL (74.6ms)[0m [0;1mINSERT INTO "schema_migrations" (version) VALUES ('20091127122422')[0m
|
230
|
-
[4;35;1mSQL (66.3ms)[0m [0mINSERT INTO "schema_migrations" (version) VALUES ('20091127131037')[0m
|
231
|
-
[4;36;1mSQL (66.2ms)[0m [0;1mINSERT INTO "schema_migrations" (version) VALUES ('20091127164705')[0m
|
232
|
-
[4;35;1mSQL (66.2ms)[0m [0mINSERT INTO "schema_migrations" (version) VALUES ('20091127120627')[0m
|
233
|
-
[4;36;1mSQL (66.2ms)[0m [0;1mINSERT INTO "schema_migrations" (version) VALUES ('20091127172849')[0m
|
234
|
-
[4;35;1mSQL (66.3ms)[0m [0mINSERT INTO "schema_migrations" (version) VALUES ('20091127144645')[0m
|
235
|
-
[4;36;1mSQL (66.1ms)[0m [0;1mINSERT INTO "schema_migrations" (version) VALUES ('20091127114237')[0m
|
236
|
-
[4;35;1mSQL (66.3ms)[0m [0mINSERT INTO "schema_migrations" (version) VALUES ('20091127172950')[0m
|
237
|
-
[4;36;1mSQL (66.3ms)[0m [0;1mINSERT INTO "schema_migrations" (version) VALUES ('20091204173634')[0m
|
238
|
-
[4;35;1mSQL (71.4ms)[0m [0mINSERT INTO "schema_migrations" (version) VALUES ('20091202105555')[0m
|
239
|
-
[4;36;1mSQL (61.2ms)[0m [0;1mINSERT INTO "schema_migrations" (version) VALUES ('20091127164446')[0m
|
240
|
-
[4;35;1mSQL (66.1ms)[0m [0mINSERT INTO "schema_migrations" (version) VALUES ('20091127164217')[0m
|
241
|
-
[4;36;1mSQL (66.1ms)[0m [0;1mINSERT INTO "schema_migrations" (version) VALUES ('20091127173744')[0m
|
242
|
-
[4;36;1mSQL (1.7ms)[0m [0;1m SELECT name
|
243
|
-
FROM sqlite_master
|
244
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
245
|
-
[0m
|
246
|
-
[4;35;1mSQL (1.1ms)[0m [0mSELECT version FROM schema_migrations[0m
|
247
|
-
[4;36;1mSQL (0.3ms)[0m [0;1mselect sqlite_version(*)[0m
|
248
|
-
[4;35;1mSQL (0.4ms)[0m [0m SELECT name
|
249
|
-
FROM sqlite_master
|
250
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
251
|
-
[0m
|
252
|
-
[4;36;1mSQL (135.7ms)[0m [0;1mCREATE TABLE "iterations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "velocity" integer, "name" varchar(255), "start_date" datetime, "end_date" datetime, "created_at" datetime, "updated_at" datetime, "release_id" integer) [0m
|
56
|
+
[4;36;1mSQL (0.7ms)[0m [0;1mALTER TABLE "stories" ADD "status" varchar(10)[0m
|
57
|
+
[4;35;1mSQL (0.2ms)[0m [0mALTER TABLE "stories" ADD "completed_date" date[0m
|
58
|
+
[4;36;1mSQL (0.4ms)[0m [0;1mINSERT INTO schema_migrations (version) VALUES ('20091223100903')[0m
|
59
|
+
Migrating to AddStateToUser (20100723161424)
|
60
|
+
[4;35;1mSQL (0.7ms)[0m [0mALTER TABLE "users" ADD "state" varchar(255) DEFAULT 'passive'[0m
|
61
|
+
[4;36;1mSQL (0.2ms)[0m [0;1mALTER TABLE "users" ADD "deleted_at" datetime[0m
|
62
|
+
[4;35;1mSQL (0.4ms)[0m [0mINSERT INTO schema_migrations (version) VALUES ('20100723161424')[0m
|
63
|
+
Migrating to AddActivationFieldsToUser (20100726150322)
|
64
|
+
[4;36;1mSQL (0.7ms)[0m [0;1mALTER TABLE "users" ADD "activated_at" datetime[0m
|
65
|
+
[4;35;1mSQL (0.2ms)[0m [0mALTER TABLE "users" ADD "activation_code" varchar(40)[0m
|
66
|
+
[4;36;1mSQL (0.4ms)[0m [0;1mINSERT INTO schema_migrations (version) VALUES ('20100726150322')[0m
|
67
|
+
Migrating to SetDefaultUserStateToPending (20100729125551)
|
68
|
+
[4;35;1mSQL (0.4ms)[0m [0mCREATE TEMPORARY TABLE "altered_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "login" varchar(40), "name" varchar(100) DEFAULT '', "email" varchar(100), "crypted_password" varchar(40), "salt" varchar(40), "created_at" datetime, "updated_at" datetime, "remember_token" varchar(40), "remember_token_expires_at" datetime, "state" varchar(255) DEFAULT 'passive', "deleted_at" datetime, "activated_at" datetime, "activation_code" varchar(40)) [0m
|
69
|
+
[4;36;1mSQL (0.1ms)[0m [0;1mPRAGMA index_list("users")[0m
|
70
|
+
[4;35;1mSQL (0.1ms)[0m [0mPRAGMA index_info('index_users_on_login')[0m
|
71
|
+
[4;36;1mSQL (0.0ms)[0m [0;1mPRAGMA index_list("altered_users")[0m
|
72
|
+
[4;35;1mSQL (59.3ms)[0m [0mCREATE UNIQUE INDEX "temp_index_altered_users_on_login" ON "altered_users" ("login")[0m
|
73
|
+
[4;36;1mSQL (3.6ms)[0m [0;1mDROP TABLE "users"[0m
|
74
|
+
[4;35;1mSQL (0.5ms)[0m [0mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "login" varchar(40), "name" varchar(100) DEFAULT '', "email" varchar(100), "crypted_password" varchar(40), "salt" varchar(40), "created_at" datetime, "updated_at" datetime, "remember_token" varchar(40), "remember_token_expires_at" datetime, "state" varchar(255) DEFAULT 'pending', "deleted_at" datetime, "activated_at" datetime, "activation_code" varchar(40)) [0m
|
75
|
+
[4;36;1mSQL (0.1ms)[0m [0;1mPRAGMA index_list("altered_users")[0m
|
76
|
+
[4;35;1mSQL (0.1ms)[0m [0mPRAGMA index_info('temp_index_altered_users_on_login')[0m
|
77
|
+
[4;36;1mSQL (0.0ms)[0m [0;1mPRAGMA index_list("users")[0m
|
78
|
+
[4;35;1mSQL (0.2ms)[0m [0mCREATE UNIQUE INDEX "index_users_on_login" ON "users" ("login")[0m
|
79
|
+
[4;36;1mSQL (0.2ms)[0m [0;1mDROP TABLE "altered_users"[0m
|
80
|
+
[4;35;1mSQL (0.4ms)[0m [0mINSERT INTO schema_migrations (version) VALUES ('20100729125551')[0m
|
81
|
+
Migrating to AddIsAdminPropertyToUser (20100812133837)
|
82
|
+
[4;36;1mSQL (0.7ms)[0m [0;1mALTER TABLE "users" ADD "is_admin" boolean DEFAULT 'f'[0m
|
83
|
+
[4;35;1mSQL (0.4ms)[0m [0mINSERT INTO schema_migrations (version) VALUES ('20100812133837')[0m
|
84
|
+
Migrating to SetDefaultUserStateToActive (20100812140532)
|
85
|
+
[4;36;1mSQL (0.3ms)[0m [0;1mCREATE TEMPORARY TABLE "altered_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "login" varchar(40), "name" varchar(100) DEFAULT '', "email" varchar(100), "crypted_password" varchar(40), "salt" varchar(40), "created_at" datetime, "updated_at" datetime, "remember_token" varchar(40), "remember_token_expires_at" datetime, "state" varchar(255) DEFAULT 'pending', "deleted_at" datetime, "activated_at" datetime, "activation_code" varchar(40), "is_admin" boolean DEFAULT 'f') [0m
|
86
|
+
[4;35;1mSQL (0.1ms)[0m [0mPRAGMA index_list("users")[0m
|
87
|
+
[4;36;1mSQL (0.1ms)[0m [0;1mPRAGMA index_info('index_users_on_login')[0m
|
88
|
+
[4;35;1mSQL (0.1ms)[0m [0mPRAGMA index_list("altered_users")[0m
|
89
|
+
[4;36;1mSQL (0.2ms)[0m [0;1mCREATE UNIQUE INDEX "temp_index_altered_users_on_login" ON "altered_users" ("login")[0m
|
90
|
+
[4;35;1mSQL (1.1ms)[0m [0mDROP TABLE "users"[0m
|
91
|
+
[4;36;1mSQL (0.2ms)[0m [0;1mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "login" varchar(40), "name" varchar(100) DEFAULT '', "email" varchar(100), "crypted_password" varchar(40), "salt" varchar(40), "created_at" datetime, "updated_at" datetime, "remember_token" varchar(40), "remember_token_expires_at" datetime, "state" varchar(255) DEFAULT 'active', "deleted_at" datetime, "activated_at" datetime, "activation_code" varchar(40), "is_admin" boolean DEFAULT 'f') [0m
|
92
|
+
[4;35;1mSQL (0.1ms)[0m [0mPRAGMA index_list("altered_users")[0m
|
93
|
+
[4;36;1mSQL (0.1ms)[0m [0;1mPRAGMA index_info('temp_index_altered_users_on_login')[0m
|
94
|
+
[4;35;1mSQL (0.1ms)[0m [0mPRAGMA index_list("users")[0m
|
95
|
+
[4;36;1mSQL (0.2ms)[0m [0;1mCREATE UNIQUE INDEX "index_users_on_login" ON "users" ("login")[0m
|
96
|
+
[4;35;1mSQL (0.2ms)[0m [0mDROP TABLE "altered_users"[0m
|
97
|
+
[4;36;1mSQL (0.4ms)[0m [0;1mINSERT INTO schema_migrations (version) VALUES ('20100812140532')[0m
|
98
|
+
Migrating to AddDefaultAdminUser (20100812143455)
|
99
|
+
[4;35;1mUser Load (0.3ms)[0m [0mSELECT "users".id FROM "users" WHERE ("users"."login" = 'admin') LIMIT 1[0m
|
100
|
+
[4;36;1mUser Load (0.1ms)[0m [0;1mSELECT "users".id FROM "users" WHERE ("users"."email" = 'foo@bar.org') LIMIT 1[0m
|
101
|
+
[4;35;1mUser Create (0.7ms)[0m [0mINSERT INTO "users" ("name", "salt", "created_at", "activated_at", "crypted_password", "remember_token_expires_at", "updated_at", "deleted_at", "activation_code", "is_admin", "remember_token", "login", "email", "state") VALUES('', 'f31169b001f965bc8c353e228a73c8749df60a69', '2011-04-08 16:09:23', '2011-04-08 16:09:23', '594a760d3d3bf136abd88d03958215dc0d8f471d', NULL, '2011-04-08 16:09:23', NULL, NULL, 't', NULL, 'admin', 'foo@bar.org', 'active')[0m
|
102
|
+
[4;36;1mSQL (0.4ms)[0m [0;1mINSERT INTO schema_migrations (version) VALUES ('20100812143455')[0m
|
253
103
|
[4;35;1mSQL (0.4ms)[0m [0m SELECT name
|
254
104
|
FROM sqlite_master
|
255
105
|
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
256
106
|
[0m
|
257
|
-
[4;36;1mSQL (
|
258
|
-
[4;35;1mSQL (0.
|
259
|
-
FROM sqlite_master
|
260
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
261
|
-
[0m
|
262
|
-
[4;36;1mSQL (87.4ms)[0m [0;1mCREATE TABLE "participations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "iteration_id" integer, "created_at" datetime, "updated_at" datetime) [0m
|
263
|
-
[4;35;1mSQL (0.7ms)[0m [0m SELECT name
|
264
|
-
FROM sqlite_master
|
265
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
266
|
-
[0m
|
267
|
-
[4;36;1mSQL (72.9ms)[0m [0;1mCREATE TABLE "preconditions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "description" varchar(255), "scenario_id" integer, "created_at" datetime, "updated_at" datetime) [0m
|
268
|
-
[4;35;1mSQL (0.6ms)[0m [0m SELECT name
|
269
|
-
FROM sqlite_master
|
270
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
271
|
-
[0m
|
272
|
-
[4;36;1mSQL (88.8ms)[0m [0;1mCREATE TABLE "releases" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "release_date" date, "notes" text, "created_at" datetime, "updated_at" datetime) [0m
|
273
|
-
[4;35;1mSQL (0.7ms)[0m [0m SELECT name
|
274
|
-
FROM sqlite_master
|
275
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
276
|
-
[0m
|
277
|
-
[4;36;1mSQL (71.1ms)[0m [0;1mCREATE TABLE "scenarios" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "story_id" integer, "created_at" datetime, "updated_at" datetime) [0m
|
278
|
-
[4;35;1mSQL (0.8ms)[0m [0m SELECT name
|
279
|
-
FROM sqlite_master
|
280
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
281
|
-
[0m
|
282
|
-
[4;36;1mSQL (61.6ms)[0m [0;1mCREATE TABLE "stories" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "description" text, "points" integer, "iteration_id" integer, "created_at" datetime, "updated_at" datetime, "title" varchar(40), "author_id" integer, "slug" varchar(255) DEFAULT '' NOT NULL, "status" varchar(10), "completed_date" date) [0m
|
283
|
-
[4;35;1mSQL (0.8ms)[0m [0m SELECT name
|
284
|
-
FROM sqlite_master
|
285
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
286
|
-
[0m
|
287
|
-
[4;36;1mSQL (63.2ms)[0m [0;1mCREATE TABLE "user_roles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "created_at" datetime, "updated_at" datetime, "story_id" integer) [0m
|
288
|
-
[4;35;1mSQL (0.9ms)[0m [0m SELECT name
|
289
|
-
FROM sqlite_master
|
290
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
291
|
-
[0m
|
292
|
-
[4;36;1mSQL (91.4ms)[0m [0;1mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "login" varchar(40), "name" varchar(100) DEFAULT '', "email" varchar(100), "crypted_password" varchar(40), "salt" varchar(40), "created_at" datetime, "updated_at" datetime, "remember_token" varchar(40), "remember_token_expires_at" datetime) [0m
|
293
|
-
[4;35;1mSQL (70.5ms)[0m [0mCREATE UNIQUE INDEX "index_users_on_login" ON "users" ("login")[0m
|
294
|
-
[4;36;1mSQL (0.9ms)[0m [0;1m SELECT name
|
295
|
-
FROM sqlite_master
|
296
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
297
|
-
[0m
|
298
|
-
[4;35;1mSQL (64.2ms)[0m [0mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
299
|
-
[4;36;1mSQL (89.2ms)[0m [0;1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
300
|
-
[4;35;1mSQL (1.2ms)[0m [0m SELECT name
|
107
|
+
[4;36;1mSQL (0.4ms)[0m [0;1mSELECT version FROM schema_migrations[0m
|
108
|
+
[4;35;1mSQL (0.3ms)[0m [0m SELECT name
|
301
109
|
FROM sqlite_master
|
302
110
|
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
303
111
|
[0m
|
304
|
-
[4;36;1mSQL (0.
|
305
|
-
[4;35;1mSQL (
|
306
|
-
[4;36;1mSQL (
|
307
|
-
[4;35;1mSQL (
|
308
|
-
[4;36;1mSQL (
|
309
|
-
[4;35;1mSQL (
|
310
|
-
[4;36;1mSQL (
|
311
|
-
[4;35;1mSQL (
|
312
|
-
[4;36;1mSQL (
|
313
|
-
[4;
|
314
|
-
[4;36;1mSQL (
|
315
|
-
[4;35;1mSQL (116.3ms)[0m [0mINSERT INTO "schema_migrations" (version) VALUES ('20091202105555')[0m
|
316
|
-
[4;36;1mSQL (60.2ms)[0m [0;1mINSERT INTO "schema_migrations" (version) VALUES ('20091127164446')[0m
|
317
|
-
[4;35;1mSQL (66.3ms)[0m [0mINSERT INTO "schema_migrations" (version) VALUES ('20091127164217')[0m
|
318
|
-
[4;36;1mSQL (113.9ms)[0m [0;1mINSERT INTO "schema_migrations" (version) VALUES ('20091127173744')[0m
|
319
|
-
[4;36;1mSQL (1.2ms)[0m [0;1m SELECT name
|
112
|
+
[4;36;1mSQL (0.1ms)[0m [0;1mPRAGMA index_list("iterations")[0m
|
113
|
+
[4;35;1mSQL (0.1ms)[0m [0mPRAGMA index_list("outcomes")[0m
|
114
|
+
[4;36;1mSQL (0.1ms)[0m [0;1mPRAGMA index_list("participations")[0m
|
115
|
+
[4;35;1mSQL (0.1ms)[0m [0mPRAGMA index_list("preconditions")[0m
|
116
|
+
[4;36;1mSQL (0.1ms)[0m [0;1mPRAGMA index_list("releases")[0m
|
117
|
+
[4;35;1mSQL (0.0ms)[0m [0mPRAGMA index_list("scenarios")[0m
|
118
|
+
[4;36;1mSQL (0.0ms)[0m [0;1mPRAGMA index_list("stories")[0m
|
119
|
+
[4;35;1mSQL (0.1ms)[0m [0mPRAGMA index_list("users")[0m
|
120
|
+
[4;36;1mSQL (0.1ms)[0m [0;1mPRAGMA index_info('index_users_on_login')[0m
|
121
|
+
[4;36;1mSQL (0.8ms)[0m [0;1mSELECT version FROM schema_migrations[0m
|
122
|
+
[4;36;1mSQL (0.8ms)[0m [0;1m SELECT name
|
320
123
|
FROM sqlite_master
|
321
124
|
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
322
125
|
[0m
|
323
|
-
[4;35;1mSQL (
|
324
|
-
|
325
|
-
|
326
|
-
|
327
|
-
|
328
|
-
|
329
|
-
|
126
|
+
[4;35;1mSQL (0.4ms)[0m [0mSELECT version FROM schema_migrations[0m
|
127
|
+
Migrating to CreateUsers (20091127114237)
|
128
|
+
Migrating to CreateIterations (20091127120627)
|
129
|
+
Migrating to CreateStories (20091127122422)
|
130
|
+
Migrating to CreateParticipations (20091127144645)
|
131
|
+
Migrating to CreateScenarios (20091127164217)
|
132
|
+
Migrating to CreatePreconditions (20091127164446)
|
133
|
+
Migrating to CreateOutcomes (20091127164705)
|
134
|
+
Migrating to AddTitleToStories (20091127172849)
|
135
|
+
Migrating to AddAuthorIdToStory (20091127173744)
|
136
|
+
Migrating to CreateReleases (20091202105555)
|
137
|
+
Migrating to AddSlugToStories (20091204173634)
|
138
|
+
Migrating to AddStatusToStory (20091223100903)
|
139
|
+
Migrating to AddStateToUser (20100723161424)
|
140
|
+
Migrating to AddActivationFieldsToUser (20100726150322)
|
141
|
+
Migrating to SetDefaultUserStateToPending (20100729125551)
|
142
|
+
Migrating to AddIsAdminPropertyToUser (20100812133837)
|
143
|
+
Migrating to SetDefaultUserStateToActive (20100812140532)
|
144
|
+
Migrating to AddDefaultAdminUser (20100812143455)
|
145
|
+
Migrating to RemoveIsAdminPropertyAndAddRoleInstead (20110408162438)
|
146
|
+
[4;36;1mSQL (0.1ms)[0m [0;1mselect sqlite_version(*)[0m
|
147
|
+
[4;35;1mSQL (0.5ms)[0m [0mCREATE TEMPORARY TABLE "altered_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "login" varchar(40), "name" varchar(100) DEFAULT '', "email" varchar(100), "crypted_password" varchar(40), "salt" varchar(40), "created_at" datetime, "updated_at" datetime, "remember_token" varchar(40), "remember_token_expires_at" datetime, "state" varchar(255) DEFAULT 'active', "deleted_at" datetime, "activated_at" datetime, "activation_code" varchar(40), "is_admin" boolean DEFAULT 'f') [0m
|
148
|
+
[4;36;1mSQL (0.1ms)[0m [0;1mPRAGMA index_list("users")[0m
|
149
|
+
[4;35;1mSQL (0.1ms)[0m [0mPRAGMA index_info('index_users_on_login')[0m
|
150
|
+
[4;36;1mSQL (0.1ms)[0m [0;1mPRAGMA index_list("altered_users")[0m
|
151
|
+
[4;35;1mSQL (0.3ms)[0m [0mCREATE UNIQUE INDEX "temp_index_altered_users_on_login" ON "altered_users" ("login")[0m
|
152
|
+
[4;36;1mSQL (1.1ms)[0m [0;1mDROP TABLE "users"[0m
|
153
|
+
[4;35;1mSQL (0.3ms)[0m [0mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "login" varchar(40), "name" varchar(100) DEFAULT '', "email" varchar(100), "crypted_password" varchar(40), "salt" varchar(40), "created_at" datetime, "updated_at" datetime, "remember_token" varchar(40), "remember_token_expires_at" datetime, "state" varchar(255) DEFAULT 'active', "deleted_at" datetime, "activated_at" datetime, "activation_code" varchar(40)) [0m
|
154
|
+
[4;36;1mSQL (0.1ms)[0m [0;1mPRAGMA index_list("altered_users")[0m
|
155
|
+
[4;35;1mSQL (0.1ms)[0m [0mPRAGMA index_info('temp_index_altered_users_on_login')[0m
|
156
|
+
[4;36;1mSQL (0.1ms)[0m [0;1mPRAGMA index_list("users")[0m
|
157
|
+
[4;35;1mSQL (0.2ms)[0m [0mCREATE UNIQUE INDEX "index_users_on_login" ON "users" ("login")[0m
|
158
|
+
[4;36;1mSQL (0.2ms)[0m [0;1mDROP TABLE "altered_users"[0m
|
159
|
+
[4;35;1mSQL (0.0ms)[0m [0mSQLite3::SQLException: duplicate column name: state: ALTER TABLE "users" ADD "state" varchar(255)[0m
|
160
|
+
[4;36;1mSQL (0.8ms)[0m [0;1m SELECT name
|
161
|
+
FROM sqlite_master
|
162
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
163
|
+
[0m
|
164
|
+
[4;35;1mSQL (0.4ms)[0m [0mSELECT version FROM schema_migrations[0m
|
165
|
+
Migrating to CreateUsers (20091127114237)
|
166
|
+
Migrating to CreateIterations (20091127120627)
|
167
|
+
Migrating to CreateStories (20091127122422)
|
168
|
+
Migrating to CreateParticipations (20091127144645)
|
169
|
+
Migrating to CreateScenarios (20091127164217)
|
170
|
+
Migrating to CreatePreconditions (20091127164446)
|
171
|
+
Migrating to CreateOutcomes (20091127164705)
|
172
|
+
Migrating to AddTitleToStories (20091127172849)
|
173
|
+
Migrating to AddAuthorIdToStory (20091127173744)
|
174
|
+
Migrating to CreateReleases (20091202105555)
|
175
|
+
Migrating to AddSlugToStories (20091204173634)
|
176
|
+
Migrating to AddStatusToStory (20091223100903)
|
177
|
+
Migrating to AddStateToUser (20100723161424)
|
178
|
+
Migrating to AddActivationFieldsToUser (20100726150322)
|
179
|
+
Migrating to SetDefaultUserStateToPending (20100729125551)
|
180
|
+
Migrating to AddIsAdminPropertyToUser (20100812133837)
|
181
|
+
Migrating to SetDefaultUserStateToActive (20100812140532)
|
182
|
+
Migrating to AddDefaultAdminUser (20100812143455)
|
183
|
+
Migrating to RemoveIsAdminPropertyAndAddRoleInstead (20110408162438)
|
184
|
+
[4;36;1mSQL (0.1ms)[0m [0;1mselect sqlite_version(*)[0m
|
185
|
+
[4;35;1mSQL (0.6ms)[0m [0mCREATE TEMPORARY TABLE "altered_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "login" varchar(40), "name" varchar(100) DEFAULT '', "email" varchar(100), "crypted_password" varchar(40), "salt" varchar(40), "created_at" datetime, "updated_at" datetime, "remember_token" varchar(40), "remember_token_expires_at" datetime, "state" varchar(255) DEFAULT 'active', "deleted_at" datetime, "activated_at" datetime, "activation_code" varchar(40), "is_admin" boolean DEFAULT 'f') [0m
|
186
|
+
[4;36;1mSQL (0.1ms)[0m [0;1mPRAGMA index_list("users")[0m
|
187
|
+
[4;35;1mSQL (0.1ms)[0m [0mPRAGMA index_info('index_users_on_login')[0m
|
188
|
+
[4;36;1mSQL (0.1ms)[0m [0;1mPRAGMA index_list("altered_users")[0m
|
189
|
+
[4;35;1mSQL (0.3ms)[0m [0mCREATE UNIQUE INDEX "temp_index_altered_users_on_login" ON "altered_users" ("login")[0m
|
190
|
+
[4;36;1mSQL (1.0ms)[0m [0;1mDROP TABLE "users"[0m
|
191
|
+
[4;35;1mSQL (0.3ms)[0m [0mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "login" varchar(40), "name" varchar(100) DEFAULT '', "email" varchar(100), "crypted_password" varchar(40), "salt" varchar(40), "created_at" datetime, "updated_at" datetime, "remember_token" varchar(40), "remember_token_expires_at" datetime, "state" varchar(255) DEFAULT 'active', "deleted_at" datetime, "activated_at" datetime, "activation_code" varchar(40)) [0m
|
192
|
+
[4;36;1mSQL (0.1ms)[0m [0;1mPRAGMA index_list("altered_users")[0m
|
193
|
+
[4;35;1mSQL (0.1ms)[0m [0mPRAGMA index_info('temp_index_altered_users_on_login')[0m
|
194
|
+
[4;36;1mSQL (0.1ms)[0m [0;1mPRAGMA index_list("users")[0m
|
195
|
+
[4;35;1mSQL (0.2ms)[0m [0mCREATE UNIQUE INDEX "index_users_on_login" ON "users" ("login")[0m
|
196
|
+
[4;36;1mSQL (0.2ms)[0m [0;1mDROP TABLE "altered_users"[0m
|
197
|
+
[4;35;1mSQL (0.2ms)[0m [0mALTER TABLE "users" ADD "role" varchar(255)[0m
|
198
|
+
[4;36;1mSQL (0.3ms)[0m [0;1mINSERT INTO schema_migrations (version) VALUES ('20110408162438')[0m
|
330
199
|
[4;35;1mSQL (0.4ms)[0m [0m SELECT name
|
331
200
|
FROM sqlite_master
|
332
201
|
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
333
202
|
[0m
|
334
|
-
[4;36;1mSQL (
|
335
|
-
[4;35;1mSQL (0.5ms)[0m [0m SELECT name
|
336
|
-
FROM sqlite_master
|
337
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
338
|
-
[0m
|
339
|
-
[4;36;1mSQL (190.5ms)[0m [0;1mCREATE TABLE "participations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "iteration_id" integer, "created_at" datetime, "updated_at" datetime) [0m
|
340
|
-
[4;35;1mSQL (0.6ms)[0m [0m SELECT name
|
341
|
-
FROM sqlite_master
|
342
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
343
|
-
[0m
|
344
|
-
[4;36;1mSQL (111.3ms)[0m [0;1mCREATE TABLE "preconditions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "description" varchar(255), "scenario_id" integer, "created_at" datetime, "updated_at" datetime) [0m
|
345
|
-
[4;35;1mSQL (0.6ms)[0m [0m SELECT name
|
346
|
-
FROM sqlite_master
|
347
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
348
|
-
[0m
|
349
|
-
[4;36;1mSQL (127.1ms)[0m [0;1mCREATE TABLE "releases" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "release_date" date, "notes" text, "created_at" datetime, "updated_at" datetime) [0m
|
350
|
-
[4;35;1mSQL (0.7ms)[0m [0m SELECT name
|
351
|
-
FROM sqlite_master
|
352
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
353
|
-
[0m
|
354
|
-
[4;36;1mSQL (83.5ms)[0m [0;1mCREATE TABLE "scenarios" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "story_id" integer, "created_at" datetime, "updated_at" datetime) [0m
|
355
|
-
[4;35;1mSQL (0.8ms)[0m [0m SELECT name
|
356
|
-
FROM sqlite_master
|
357
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
358
|
-
[0m
|
359
|
-
[4;36;1mSQL (69.9ms)[0m [0;1mCREATE TABLE "stories" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "description" text, "points" integer, "iteration_id" integer, "created_at" datetime, "updated_at" datetime, "title" varchar(40), "author_id" integer, "slug" varchar(255) DEFAULT '' NOT NULL, "status" varchar(10), "completed_date" date) [0m
|
360
|
-
[4;35;1mSQL (0.8ms)[0m [0m SELECT name
|
361
|
-
FROM sqlite_master
|
362
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
363
|
-
[0m
|
364
|
-
[4;36;1mSQL (94.0ms)[0m [0;1mCREATE TABLE "user_roles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "created_at" datetime, "updated_at" datetime, "story_id" integer) [0m
|
365
|
-
[4;35;1mSQL (0.9ms)[0m [0m SELECT name
|
366
|
-
FROM sqlite_master
|
367
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
368
|
-
[0m
|
369
|
-
[4;36;1mSQL (114.0ms)[0m [0;1mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "login" varchar(40), "name" varchar(100) DEFAULT '', "email" varchar(100), "crypted_password" varchar(40), "salt" varchar(40), "created_at" datetime, "updated_at" datetime, "remember_token" varchar(40), "remember_token_expires_at" datetime) [0m
|
370
|
-
[4;35;1mSQL (90.8ms)[0m [0mCREATE UNIQUE INDEX "index_users_on_login" ON "users" ("login")[0m
|
371
|
-
[4;36;1mSQL (0.9ms)[0m [0;1m SELECT name
|
372
|
-
FROM sqlite_master
|
373
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
374
|
-
[0m
|
375
|
-
[4;35;1mSQL (96.6ms)[0m [0mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
376
|
-
[4;36;1mSQL (129.7ms)[0m [0;1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
377
|
-
[4;35;1mSQL (1.0ms)[0m [0m SELECT name
|
378
|
-
FROM sqlite_master
|
379
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
380
|
-
[0m
|
381
|
-
[4;36;1mSQL (0.2ms)[0m [0;1mSELECT version FROM "schema_migrations"[0m
|
382
|
-
[4;35;1mSQL (108.2ms)[0m [0mINSERT INTO "schema_migrations" (version) VALUES ('20091223100903')[0m
|
383
|
-
[4;36;1mSQL (86.0ms)[0m [0;1mINSERT INTO "schema_migrations" (version) VALUES ('20091127122422')[0m
|
384
|
-
[4;35;1mSQL (108.4ms)[0m [0mINSERT INTO "schema_migrations" (version) VALUES ('20091127131037')[0m
|
385
|
-
[4;36;1mSQL (93.6ms)[0m [0;1mINSERT INTO "schema_migrations" (version) VALUES ('20091127164705')[0m
|
386
|
-
[4;35;1mSQL (116.2ms)[0m [0mINSERT INTO "schema_migrations" (version) VALUES ('20091127120627')[0m
|
387
|
-
[4;36;1mSQL (116.2ms)[0m [0;1mINSERT INTO "schema_migrations" (version) VALUES ('20091127172849')[0m
|
388
|
-
[4;35;1mSQL (116.2ms)[0m [0mINSERT INTO "schema_migrations" (version) VALUES ('20091127144645')[0m
|
389
|
-
[4;36;1mSQL (107.7ms)[0m [0;1mINSERT INTO "schema_migrations" (version) VALUES ('20091127114237')[0m
|
390
|
-
[4;35;1mSQL (94.4ms)[0m [0mINSERT INTO "schema_migrations" (version) VALUES ('20091127172950')[0m
|
391
|
-
[4;36;1mSQL (88.0ms)[0m [0;1mINSERT INTO "schema_migrations" (version) VALUES ('20091204173634')[0m
|
392
|
-
[4;35;1mSQL (107.9ms)[0m [0mINSERT INTO "schema_migrations" (version) VALUES ('20091202105555')[0m
|
393
|
-
[4;36;1mSQL (107.9ms)[0m [0;1mINSERT INTO "schema_migrations" (version) VALUES ('20091127164446')[0m
|
394
|
-
[4;35;1mSQL (116.2ms)[0m [0mINSERT INTO "schema_migrations" (version) VALUES ('20091127164217')[0m
|
395
|
-
[4;36;1mSQL (116.2ms)[0m [0;1mINSERT INTO "schema_migrations" (version) VALUES ('20091127173744')[0m
|
396
|
-
[4;36;1mSQL (1.7ms)[0m [0;1m SELECT name
|
397
|
-
FROM sqlite_master
|
398
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
399
|
-
[0m
|
400
|
-
[4;35;1mSQL (1.2ms)[0m [0mSELECT version FROM schema_migrations[0m
|
401
|
-
[4;36;1mSQL (0.2ms)[0m [0;1mselect sqlite_version(*)[0m
|
203
|
+
[4;36;1mSQL (0.4ms)[0m [0;1mSELECT version FROM schema_migrations[0m
|
402
204
|
[4;35;1mSQL (0.3ms)[0m [0m SELECT name
|
403
205
|
FROM sqlite_master
|
404
206
|
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
405
207
|
[0m
|
406
|
-
[4;36;1mSQL (
|
407
|
-
[4;35;1mSQL (0.
|
408
|
-
|
409
|
-
|
410
|
-
[0m
|
411
|
-
[4;
|
412
|
-
[4;
|
413
|
-
|
414
|
-
|
415
|
-
[0m
|
416
|
-
|
417
|
-
|
418
|
-
|
419
|
-
|
420
|
-
|
421
|
-
|
422
|
-
|
423
|
-
|
424
|
-
|
425
|
-
|
426
|
-
|
427
|
-
|
428
|
-
|
429
|
-
|
430
|
-
|
431
|
-
|
432
|
-
|
433
|
-
|
434
|
-
|
435
|
-
|
436
|
-
|
437
|
-
[4;
|
438
|
-
|
439
|
-
|
440
|
-
|
441
|
-
|
442
|
-
|
443
|
-
|
444
|
-
|
445
|
-
[0m
|
446
|
-
|
447
|
-
|
448
|
-
|
449
|
-
|
450
|
-
|
451
|
-
|
452
|
-
|
453
|
-
|
454
|
-
|
455
|
-
|
456
|
-
|
457
|
-
[0m
|
458
|
-
[4;
|
459
|
-
|
460
|
-
|
461
|
-
|
462
|
-
|
463
|
-
|
464
|
-
|
465
|
-
|
466
|
-
|
467
|
-
|
468
|
-
|
469
|
-
|
470
|
-
[4;36;
|
471
|
-
[4;35;
|
472
|
-
|
208
|
+
[4;36;1mSQL (0.1ms)[0m [0;1mPRAGMA index_list("iterations")[0m
|
209
|
+
[4;35;1mSQL (0.1ms)[0m [0mPRAGMA index_list("outcomes")[0m
|
210
|
+
[4;36;1mSQL (0.1ms)[0m [0;1mPRAGMA index_list("participations")[0m
|
211
|
+
[4;35;1mSQL (0.1ms)[0m [0mPRAGMA index_list("preconditions")[0m
|
212
|
+
[4;36;1mSQL (0.1ms)[0m [0;1mPRAGMA index_list("releases")[0m
|
213
|
+
[4;35;1mSQL (0.1ms)[0m [0mPRAGMA index_list("scenarios")[0m
|
214
|
+
[4;36;1mSQL (0.1ms)[0m [0;1mPRAGMA index_list("stories")[0m
|
215
|
+
[4;35;1mSQL (0.1ms)[0m [0mPRAGMA index_list("users")[0m
|
216
|
+
[4;36;1mSQL (0.1ms)[0m [0;1mPRAGMA index_info('index_users_on_login')[0m
|
217
|
+
[4;36;1mSQL (0.8ms)[0m [0;1mSELECT version FROM schema_migrations[0m
|
218
|
+
|
219
|
+
|
220
|
+
Processing IterationsController#index (for 127.0.0.1 at 2011-04-12 18:42:05) [GET]
|
221
|
+
Parameters: {"action"=>"index", "controller"=>"iterations"}
|
222
|
+
Redirected to http://localhost:3000/session/new
|
223
|
+
Filter chain halted as [:login_required] rendered_or_redirected.
|
224
|
+
Completed in 31ms (DB: 0) | 302 Found [http://localhost/]
|
225
|
+
|
226
|
+
|
227
|
+
Processing SessionsController#new (for 127.0.0.1 at 2011-04-12 18:42:05) [GET]
|
228
|
+
Parameters: {"action"=>"new", "controller"=>"sessions"}
|
229
|
+
Rendering template within layouts/main
|
230
|
+
Rendering sessions/new
|
231
|
+
Rendered layouts/_meta (0.6ms)
|
232
|
+
Rendered layouts/_header (1.7ms)
|
233
|
+
Rendered layouts/_footer (1.0ms)
|
234
|
+
Completed in 36ms (View: 33, DB: 0) | 200 OK [http://localhost/session/new]
|
235
|
+
|
236
|
+
|
237
|
+
Processing SessionsController#create (for 127.0.0.1 at 2011-04-12 18:42:11) [POST]
|
238
|
+
Parameters: {"commit"=>"Log in", "action"=>"create", "authenticity_token"=>"ge3/CWFG8h+KTsAgMJwyFywYu3qQZbSHymn/zEAqR2I=", "controller"=>"sessions", "login"=>"admin", "password"=>"[FILTERED]"}
|
239
|
+
[4;36;1mUser Load (0.9ms)[0m [0;1mSELECT * FROM "users" WHERE ("users"."login" = 'admin') AND (users.state = 'active') LIMIT 1[0m
|
240
|
+
Redirected to http://localhost:3000/
|
241
|
+
Completed in 154ms (DB: 1) | 302 Found [http://localhost/session]
|
242
|
+
|
243
|
+
|
244
|
+
Processing IterationsController#index (for 127.0.0.1 at 2011-04-12 18:42:12) [GET]
|
245
|
+
Parameters: {"action"=>"index", "controller"=>"iterations"}
|
246
|
+
[4;35;1mUser Load (0.4ms)[0m [0mSELECT * FROM "users" WHERE ("users"."id" = 1) LIMIT 1[0m
|
247
|
+
[4;36;1mIteration Load (0.2ms)[0m [0;1mSELECT * FROM "iterations" [0m
|
248
|
+
Rendering template within layouts/main
|
249
|
+
Rendering iterations/index
|
250
|
+
Rendered layouts/_meta (0.1ms)
|
251
|
+
Rendered layouts/_header (0.5ms)
|
252
|
+
Rendered layouts/_footer (0.3ms)
|
253
|
+
Completed in 41ms (View: 13, DB: 1) | 200 OK [http://localhost/]
|
254
|
+
|
255
|
+
|
256
|
+
Processing IterationsController#new (for 127.0.0.1 at 2011-04-12 18:42:15) [GET]
|
257
|
+
Parameters: {"action"=>"new", "controller"=>"iterations"}
|
258
|
+
[4;35;1mUser Load (0.3ms)[0m [0mSELECT * FROM "users" WHERE ("users"."id" = 1) LIMIT 1[0m
|
259
|
+
[4;36;1mRelease Load (0.2ms)[0m [0;1mSELECT * FROM "releases" [0m
|
260
|
+
[4;35;1mCACHE (0.0ms)[0m [0mSELECT * FROM "releases" [0m
|
261
|
+
Rendering template within layouts/main
|
262
|
+
Rendering iterations/new
|
263
|
+
Rendered iterations/_form (11.0ms)
|
264
|
+
Rendered layouts/_meta (0.1ms)
|
265
|
+
Rendered layouts/_header (0.6ms)
|
266
|
+
Rendered layouts/_footer (0.4ms)
|
267
|
+
Completed in 185ms (View: 155, DB: 0) | 200 OK [http://localhost/iterations/new]
|
268
|
+
|
269
|
+
|
270
|
+
Processing IterationsController#create (for 127.0.0.1 at 2011-04-12 18:42:35) [POST]
|
271
|
+
Parameters: {"iteration"=>{"start_date"=>"April 11, 2011 6:42 PM", "name"=>"Test Iteration", "end_date"=>"April 22, 2011 6:42 PM", "velocity"=>"80"}, "commit"=>"Create", "action"=>"create", "authenticity_token"=>"ge3/CWFG8h+KTsAgMJwyFywYu3qQZbSHymn/zEAqR2I=", "controller"=>"iterations"}
|
272
|
+
[4;36;1mUser Load (0.3ms)[0m [0;1mSELECT * FROM "users" WHERE ("users"."id" = 1) LIMIT 1[0m
|
273
|
+
[4;35;1mIteration Create (0.8ms)[0m [0mINSERT INTO "iterations" ("name", "start_date", "created_at", "updated_at", "release_id", "velocity", "end_date") VALUES('Test Iteration', '2011-04-11 18:42:00', '2011-04-12 17:42:35', '2011-04-12 17:42:35', NULL, 80, '2011-04-22 18:42:00')[0m
|
274
|
+
Redirected to http://localhost:3000/iterations
|
275
|
+
Completed in 135ms (DB: 1) | 302 Found [http://localhost/iterations]
|
276
|
+
|
277
|
+
|
278
|
+
Processing IterationsController#index (for 127.0.0.1 at 2011-04-12 18:42:36) [GET]
|
279
|
+
Parameters: {"action"=>"index", "controller"=>"iterations"}
|
280
|
+
[4;36;1mUser Load (0.3ms)[0m [0;1mSELECT * FROM "users" WHERE ("users"."id" = 1) LIMIT 1[0m
|
281
|
+
[4;35;1mIteration Load (0.3ms)[0m [0mSELECT * FROM "iterations" [0m
|
282
|
+
Rendering template within layouts/main
|
283
|
+
Rendering iterations/index
|
284
|
+
Rendered layouts/_meta (0.1ms)
|
285
|
+
Rendered layouts/_header (0.5ms)
|
286
|
+
Rendered layouts/_footer (0.3ms)
|
287
|
+
Completed in 41ms (View: 15, DB: 1) | 200 OK [http://localhost/iterations]
|
288
|
+
|
289
|
+
|
290
|
+
Processing StoriesController#index (for 127.0.0.1 at 2011-04-12 18:42:42) [GET]
|
291
|
+
Parameters: {"action"=>"index", "controller"=>"stories", "iteration_id"=>"1"}
|
292
|
+
[4;36;1mUser Load (0.3ms)[0m [0;1mSELECT * FROM "users" WHERE ("users"."id" = 1) LIMIT 1[0m
|
293
|
+
[4;35;1mIteration Load (0.3ms)[0m [0mSELECT * FROM "iterations" [0m
|
294
|
+
[4;36;1mIteration Load (0.2ms)[0m [0;1mSELECT * FROM "iterations" WHERE ("iterations"."id" = 1) [0m
|
295
|
+
[4;35;1mStory Load (0.3ms)[0m [0mSELECT * FROM "stories" WHERE (iteration_id = 1) [0m
|
296
|
+
Rendering template within layouts/main
|
297
|
+
Rendering stories/index
|
298
|
+
[4;36;1mSQL (0.2ms)[0m [0;1mSELECT count(*) AS count_all FROM "stories" WHERE ((status = "in_progress") AND (iteration_id = 1)) [0m
|
299
|
+
[4;35;1mSQL (0.1ms)[0m [0mSELECT count(*) AS count_all FROM "stories" WHERE ((status = "new") AND (iteration_id = 1)) [0m
|
300
|
+
[4;36;1mSQL (0.1ms)[0m [0;1mSELECT count(*) AS count_all FROM "stories" WHERE ((status = "completed") AND (iteration_id = 1)) [0m
|
301
|
+
[4;35;1mSQL (0.1ms)[0m [0mSELECT count(*) AS count_all FROM "stories" WHERE ((status = "quality_assurance") AND (iteration_id = 1)) [0m
|
302
|
+
[4;36;1mStory Load (0.1ms)[0m [0;1mSELECT * FROM "stories" WHERE ((status = "in_progress") AND (iteration_id = 1)) [0m
|
303
|
+
[4;35;1mStory Load (0.1ms)[0m [0mSELECT * FROM "stories" WHERE ((status = "quality_assurance") AND (iteration_id = 1)) [0m
|
304
|
+
[4;36;1mStory Load (0.1ms)[0m [0;1mSELECT * FROM "stories" WHERE ((status = "new") AND (iteration_id = 1)) [0m
|
305
|
+
[4;35;1mCACHE (0.0ms)[0m [0mSELECT count(*) AS count_all FROM "stories" WHERE ((status = "completed") AND (iteration_id = 1)) [0m
|
306
|
+
Rendered layouts/_meta (0.1ms)
|
307
|
+
Rendered layouts/_header (0.5ms)
|
308
|
+
Rendered layouts/_footer (0.3ms)
|
309
|
+
Completed in 202ms (View: 26, DB: 2) | 200 OK [http://localhost/iterations/1/stories]
|
310
|
+
|
311
|
+
|
312
|
+
Processing StoriesController#new (for 127.0.0.1 at 2011-04-12 18:42:44) [GET]
|
313
|
+
Parameters: {"action"=>"new", "controller"=>"stories", "iteration_id"=>"1"}
|
314
|
+
[4;36;1mUser Load (0.3ms)[0m [0;1mSELECT * FROM "users" WHERE ("users"."id" = 1) LIMIT 1[0m
|
315
|
+
[4;35;1mIteration Load (0.3ms)[0m [0mSELECT * FROM "iterations" [0m
|
316
|
+
[4;36;1mIteration Load (0.3ms)[0m [0;1mSELECT * FROM "iterations" WHERE ("iterations"."id" = 1) [0m
|
317
|
+
Rendering template within layouts/main
|
318
|
+
Rendering stories/new
|
319
|
+
Rendered stories/_form (8.6ms)
|
320
|
+
Rendered layouts/_meta (0.1ms)
|
321
|
+
Rendered layouts/_header (0.5ms)
|
322
|
+
Rendered layouts/_footer (0.4ms)
|
323
|
+
Completed in 198ms (View: 155, DB: 1) | 200 OK [http://localhost/iterations/1/stories/new]
|
324
|
+
|
325
|
+
|
326
|
+
Processing StoriesController#create (for 127.0.0.1 at 2011-04-12 18:42:55) [POST]
|
327
|
+
Parameters: {"commit"=>"Create", "story"=>{"title"=>"Sed pretium mattis velit, at interdum augue posuere.", "points"=>"4", "description"=>"Sed a semper lacus. Nam feugiat, lorem vel blandit pulvinar, leo ligula elementum mauris; eget placerat nibh elit eu risus. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Aenean dictum elit nec ante cursus sit amet commodo orci suscipit. Morbi malesuada elementum nulla, vitae pulvinar nisi volutpat a. Ut vulputate ipsum eget augue aliquam eget luctus nisl imperdiet. Suspendisse tempor tempor nisl sit amet hendrerit. Nulla at lacus sit amet lorem laoreet dictum! sed.\r\n", "iteration_id"=>"1"}, "action"=>"create", "authenticity_token"=>"ge3/CWFG8h+KTsAgMJwyFywYu3qQZbSHymn/zEAqR2I=", "controller"=>"stories", "iteration_id"=>"1"}
|
328
|
+
[4;35;1mUser Load (0.3ms)[0m [0mSELECT * FROM "users" WHERE ("users"."id" = 1) LIMIT 1[0m
|
329
|
+
[4;36;1mIteration Load (0.3ms)[0m [0;1mSELECT * FROM "iterations" [0m
|
330
|
+
[4;35;1mIteration Load (0.2ms)[0m [0mSELECT * FROM "iterations" WHERE ("iterations"."id" = 1) [0m
|
331
|
+
[4;36;1mStory Load (0.2ms)[0m [0;1mSELECT "stories".id FROM "stories" WHERE ("stories"."title" = 'Sed pretium mattis velit, at interdum au') LIMIT 1[0m
|
332
|
+
[4;35;1mStory Create (0.7ms)[0m [0mINSERT INTO "stories" ("slug", "created_at", "title", "completed_date", "updated_at", "points", "description", "author_id", "iteration_id", "status") VALUES('sed-pretium-mattis-velit-at-interdum-augue-posuere', '2011-04-12 17:42:55', 'Sed pretium mattis velit, at interdum augue posuere.', NULL, '2011-04-12 17:42:55', 4, 'Sed a semper lacus. Nam feugiat, lorem vel blandit pulvinar, leo ligula elementum mauris; eget placerat nibh elit eu risus. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Aenean dictum elit nec ante cursus sit amet commodo orci suscipit. Morbi malesuada elementum nulla, vitae pulvinar nisi volutpat a. Ut vulputate ipsum eget augue aliquam eget luctus nisl imperdiet. Suspendisse tempor tempor nisl sit amet hendrerit. Nulla at lacus sit amet lorem laoreet dictum! sed.
|
333
|
+
', 1, 1, 'new')[0m
|
334
|
+
Redirected to http://localhost:3000/iterations/1/stories
|
335
|
+
Completed in 425ms (DB: 2) | 302 Found [http://localhost/iterations/1/stories]
|
336
|
+
|
337
|
+
|
338
|
+
Processing StoriesController#index (for 127.0.0.1 at 2011-04-12 18:42:56) [GET]
|
339
|
+
Parameters: {"action"=>"index", "controller"=>"stories", "iteration_id"=>"1"}
|
340
|
+
[4;36;1mUser Load (0.3ms)[0m [0;1mSELECT * FROM "users" WHERE ("users"."id" = 1) LIMIT 1[0m
|
341
|
+
[4;35;1mIteration Load (0.3ms)[0m [0mSELECT * FROM "iterations" [0m
|
342
|
+
[4;36;1mIteration Load (0.2ms)[0m [0;1mSELECT * FROM "iterations" WHERE ("iterations"."id" = 1) [0m
|
343
|
+
[4;35;1mStory Load (0.4ms)[0m [0mSELECT * FROM "stories" WHERE (iteration_id = 1) [0m
|
344
|
+
Rendering template within layouts/main
|
345
|
+
Rendering stories/index
|
346
|
+
[4;36;1mSQL (0.3ms)[0m [0;1mSELECT count(*) AS count_all FROM "stories" WHERE ((status = "in_progress") AND (iteration_id = 1)) [0m
|
347
|
+
[4;35;1mSQL (0.1ms)[0m [0mSELECT count(*) AS count_all FROM "stories" WHERE ((status = "new") AND (iteration_id = 1)) [0m
|
348
|
+
[4;36;1mSQL (0.1ms)[0m [0;1mSELECT count(*) AS count_all FROM "stories" WHERE ((status = "completed") AND (iteration_id = 1)) [0m
|
349
|
+
[4;35;1mSQL (0.1ms)[0m [0mSELECT count(*) AS count_all FROM "stories" WHERE ((status = "quality_assurance") AND (iteration_id = 1)) [0m
|
350
|
+
[4;36;1mStory Load (0.2ms)[0m [0;1mSELECT * FROM "stories" WHERE ((status = "in_progress") AND (iteration_id = 1)) [0m
|
351
|
+
[4;35;1mStory Load (0.1ms)[0m [0mSELECT * FROM "stories" WHERE ((status = "quality_assurance") AND (iteration_id = 1)) [0m
|
352
|
+
[4;36;1mStory Load (0.2ms)[0m [0;1mSELECT * FROM "stories" WHERE ((status = "new") AND (iteration_id = 1)) [0m
|
353
|
+
[4;35;1mUser Load (0.4ms)[0m [0mSELECT * FROM "users" WHERE ("users"."id" = 1) [0m
|
354
|
+
Rendered stories/_story (26.4ms)
|
355
|
+
[4;36;1mCACHE (0.0ms)[0m [0;1mSELECT count(*) AS count_all FROM "stories" WHERE ((status = "completed") AND (iteration_id = 1)) [0m
|
356
|
+
Rendered layouts/_meta (0.1ms)
|
357
|
+
Rendered layouts/_header (0.6ms)
|
358
|
+
Rendered layouts/_footer (0.4ms)
|
359
|
+
Completed in 245ms (View: 45, DB: 3) | 200 OK [http://localhost/iterations/1/stories]
|
360
|
+
|
361
|
+
|
362
|
+
Processing StoriesController#new (for 127.0.0.1 at 2011-04-12 18:42:57) [GET]
|
363
|
+
Parameters: {"action"=>"new", "controller"=>"stories", "iteration_id"=>"1"}
|
364
|
+
[4;35;1mUser Load (0.3ms)[0m [0mSELECT * FROM "users" WHERE ("users"."id" = 1) LIMIT 1[0m
|
365
|
+
[4;36;1mIteration Load (0.3ms)[0m [0;1mSELECT * FROM "iterations" [0m
|
366
|
+
[4;35;1mIteration Load (0.2ms)[0m [0mSELECT * FROM "iterations" WHERE ("iterations"."id" = 1) [0m
|
367
|
+
Rendering template within layouts/main
|
368
|
+
Rendering stories/new
|
369
|
+
Rendered stories/_form (6.1ms)
|
370
|
+
Rendered layouts/_meta (0.1ms)
|
371
|
+
Rendered layouts/_header (0.6ms)
|
372
|
+
Rendered layouts/_footer (0.4ms)
|
373
|
+
Completed in 222ms (View: 18, DB: 1) | 200 OK [http://localhost/iterations/1/stories/new]
|
374
|
+
|
375
|
+
|
376
|
+
Processing StoriesController#create (for 127.0.0.1 at 2011-04-12 18:43:07) [POST]
|
377
|
+
Parameters: {"commit"=>"Create", "story"=>{"title"=>"Curabitur dictum posuere nunc, eu lacinia cras amet.", "points"=>"3", "description"=>"Etiam elementum eros at mauris tempor imperdiet! Fusce ut neque ipsum, at sodales nisi. Pellentesque eros metus, auctor a ultrices in, hendrerit eget lectus. Pellentesque quam metus, sagittis eu egestas ac, ornare sit amet nisi. In nibh dui, condimentum sagittis tincidunt sed, dictum ut libero. Fusce consequat dui in metus dapibus elementum. In hendrerit, leo sed accumsan tempor, mi ligula luctus velit, ac sodales sem justo ut velit. Mauris placerat sem feugiat libero nullam.\r\n", "iteration_id"=>"1"}, "action"=>"create", "authenticity_token"=>"ge3/CWFG8h+KTsAgMJwyFywYu3qQZbSHymn/zEAqR2I=", "controller"=>"stories", "iteration_id"=>"1"}
|
378
|
+
[4;36;1mUser Load (0.3ms)[0m [0;1mSELECT * FROM "users" WHERE ("users"."id" = 1) LIMIT 1[0m
|
379
|
+
[4;35;1mIteration Load (0.3ms)[0m [0mSELECT * FROM "iterations" [0m
|
380
|
+
[4;36;1mIteration Load (0.2ms)[0m [0;1mSELECT * FROM "iterations" WHERE ("iterations"."id" = 1) [0m
|
381
|
+
[4;35;1mStory Load (0.2ms)[0m [0mSELECT "stories".id FROM "stories" WHERE ("stories"."title" = 'Curabitur dictum posuere nunc, eu lacini') LIMIT 1[0m
|
382
|
+
[4;36;1mStory Create (0.6ms)[0m [0;1mINSERT INTO "stories" ("slug", "created_at", "title", "completed_date", "updated_at", "points", "description", "author_id", "iteration_id", "status") VALUES('curabitur-dictum-posuere-nunc-eu-lacinia-cras-amet', '2011-04-12 17:43:07', 'Curabitur dictum posuere nunc, eu lacinia cras amet.', NULL, '2011-04-12 17:43:07', 3, 'Etiam elementum eros at mauris tempor imperdiet! Fusce ut neque ipsum, at sodales nisi. Pellentesque eros metus, auctor a ultrices in, hendrerit eget lectus. Pellentesque quam metus, sagittis eu egestas ac, ornare sit amet nisi. In nibh dui, condimentum sagittis tincidunt sed, dictum ut libero. Fusce consequat dui in metus dapibus elementum. In hendrerit, leo sed accumsan tempor, mi ligula luctus velit, ac sodales sem justo ut velit. Mauris placerat sem feugiat libero nullam.
|
383
|
+
', 1, 1, 'new')[0m
|
384
|
+
Redirected to http://localhost:3000/iterations/1/stories
|
385
|
+
Completed in 216ms (DB: 2) | 302 Found [http://localhost/iterations/1/stories]
|
386
|
+
|
387
|
+
|
388
|
+
Processing StoriesController#index (for 127.0.0.1 at 2011-04-12 18:43:07) [GET]
|
389
|
+
Parameters: {"action"=>"index", "controller"=>"stories", "iteration_id"=>"1"}
|
390
|
+
[4;35;1mUser Load (0.3ms)[0m [0mSELECT * FROM "users" WHERE ("users"."id" = 1) LIMIT 1[0m
|
391
|
+
[4;36;1mIteration Load (0.4ms)[0m [0;1mSELECT * FROM "iterations" [0m
|
392
|
+
[4;35;1mIteration Load (0.3ms)[0m [0mSELECT * FROM "iterations" WHERE ("iterations"."id" = 1) [0m
|
393
|
+
[4;36;1mStory Load (0.5ms)[0m [0;1mSELECT * FROM "stories" WHERE (iteration_id = 1) [0m
|
394
|
+
Rendering template within layouts/main
|
395
|
+
Rendering stories/index
|
396
|
+
[4;35;1mSQL (0.3ms)[0m [0mSELECT count(*) AS count_all FROM "stories" WHERE ((status = "in_progress") AND (iteration_id = 1)) [0m
|
397
|
+
[4;36;1mSQL (0.2ms)[0m [0;1mSELECT count(*) AS count_all FROM "stories" WHERE ((status = "new") AND (iteration_id = 1)) [0m
|
398
|
+
[4;35;1mSQL (0.1ms)[0m [0mSELECT count(*) AS count_all FROM "stories" WHERE ((status = "completed") AND (iteration_id = 1)) [0m
|
399
|
+
[4;36;1mSQL (0.2ms)[0m [0;1mSELECT count(*) AS count_all FROM "stories" WHERE ((status = "quality_assurance") AND (iteration_id = 1)) [0m
|
400
|
+
[4;35;1mStory Load (0.2ms)[0m [0mSELECT * FROM "stories" WHERE ((status = "in_progress") AND (iteration_id = 1)) [0m
|
401
|
+
[4;36;1mStory Load (0.2ms)[0m [0;1mSELECT * FROM "stories" WHERE ((status = "quality_assurance") AND (iteration_id = 1)) [0m
|
402
|
+
[4;35;1mStory Load (0.3ms)[0m [0mSELECT * FROM "stories" WHERE ((status = "new") AND (iteration_id = 1)) [0m
|
403
|
+
[4;36;1mUser Load (0.4ms)[0m [0;1mSELECT * FROM "users" WHERE ("users"."id" = 1) [0m
|
404
|
+
Rendered stories/_story (23.4ms)
|
405
|
+
[4;35;1mCACHE (0.0ms)[0m [0mSELECT * FROM "users" WHERE ("users"."id" = 1) [0m
|
406
|
+
Rendered stories/_story (15.7ms)
|
407
|
+
[4;36;1mCACHE (0.0ms)[0m [0;1mSELECT count(*) AS count_all FROM "stories" WHERE ((status = "completed") AND (iteration_id = 1)) [0m
|
408
|
+
Rendered layouts/_meta (0.1ms)
|
409
|
+
Rendered layouts/_header (0.5ms)
|
410
|
+
Rendered layouts/_footer (0.5ms)
|
411
|
+
Completed in 268ms (View: 56, DB: 3) | 200 OK [http://localhost/iterations/1/stories]
|
412
|
+
|
413
|
+
|
414
|
+
Processing StoriesController#new (for 127.0.0.1 at 2011-04-12 18:43:11) [GET]
|
415
|
+
Parameters: {"action"=>"new", "controller"=>"stories", "iteration_id"=>"1"}
|
416
|
+
[4;35;1mUser Load (0.3ms)[0m [0mSELECT * FROM "users" WHERE ("users"."id" = 1) LIMIT 1[0m
|
417
|
+
[4;36;1mIteration Load (0.3ms)[0m [0;1mSELECT * FROM "iterations" [0m
|
418
|
+
[4;35;1mIteration Load (0.2ms)[0m [0mSELECT * FROM "iterations" WHERE ("iterations"."id" = 1) [0m
|
419
|
+
Rendering template within layouts/main
|
420
|
+
Rendering stories/new
|
421
|
+
Rendered stories/_form (177.5ms)
|
422
|
+
Rendered layouts/_meta (0.1ms)
|
423
|
+
Rendered layouts/_header (0.6ms)
|
424
|
+
Rendered layouts/_footer (0.4ms)
|
425
|
+
Completed in 249ms (View: 193, DB: 1) | 200 OK [http://localhost/iterations/1/stories/new]
|
426
|
+
|
427
|
+
|
428
|
+
Processing StoriesController#create (for 127.0.0.1 at 2011-04-12 18:43:17) [POST]
|
429
|
+
Parameters: {"commit"=>"Create", "story"=>{"title"=>"Aliquam et porttitor leo. Etiam lacus libero nullam.", "points"=>"1", "description"=>"Sed ac purus eu dui egestas lacinia. Aliquam non diam justo, ut porta elit. Praesent gravida cursus pulvinar. Duis in molestie dolor. Proin blandit pretium tellus ut commodo! Suspendisse dignissim lacus quis ligula vulputate porttitor. Nulla sit amet eros est. Donec a mi urna, id faucibus urna. Curabitur mollis turpis at quam rhoncus quis semper urna sollicitudin. Vestibulum pretium, purus vitae semper pellentesque, est diam vehicula risus, sit amet luctus sem dolor sit amet.\r\n", "iteration_id"=>"1"}, "action"=>"create", "authenticity_token"=>"ge3/CWFG8h+KTsAgMJwyFywYu3qQZbSHymn/zEAqR2I=", "controller"=>"stories", "iteration_id"=>"1"}
|
430
|
+
[4;36;1mUser Load (0.3ms)[0m [0;1mSELECT * FROM "users" WHERE ("users"."id" = 1) LIMIT 1[0m
|
431
|
+
[4;35;1mIteration Load (0.3ms)[0m [0mSELECT * FROM "iterations" [0m
|
432
|
+
[4;36;1mIteration Load (0.3ms)[0m [0;1mSELECT * FROM "iterations" WHERE ("iterations"."id" = 1) [0m
|
433
|
+
[4;35;1mStory Load (0.2ms)[0m [0mSELECT "stories".id FROM "stories" WHERE ("stories"."title" = 'Aliquam et porttitor leo. Etiam lacus li') LIMIT 1[0m
|
434
|
+
[4;36;1mStory Create (0.6ms)[0m [0;1mINSERT INTO "stories" ("slug", "created_at", "title", "completed_date", "updated_at", "points", "description", "author_id", "iteration_id", "status") VALUES('aliquam-et-porttitor-leo-etiam-lacus-libero-nullam', '2011-04-12 17:43:17', 'Aliquam et porttitor leo. Etiam lacus libero nullam.', NULL, '2011-04-12 17:43:17', 1, 'Sed ac purus eu dui egestas lacinia. Aliquam non diam justo, ut porta elit. Praesent gravida cursus pulvinar. Duis in molestie dolor. Proin blandit pretium tellus ut commodo! Suspendisse dignissim lacus quis ligula vulputate porttitor. Nulla sit amet eros est. Donec a mi urna, id faucibus urna. Curabitur mollis turpis at quam rhoncus quis semper urna sollicitudin. Vestibulum pretium, purus vitae semper pellentesque, est diam vehicula risus, sit amet luctus sem dolor sit amet.
|
435
|
+
', 1, 1, 'new')[0m
|
436
|
+
Redirected to http://localhost:3000/iterations/1/stories
|
437
|
+
Completed in 174ms (DB: 2) | 302 Found [http://localhost/iterations/1/stories]
|
438
|
+
|
439
|
+
|
440
|
+
Processing StoriesController#index (for 127.0.0.1 at 2011-04-12 18:43:17) [GET]
|
441
|
+
Parameters: {"action"=>"index", "controller"=>"stories", "iteration_id"=>"1"}
|
442
|
+
[4;35;1mUser Load (0.3ms)[0m [0mSELECT * FROM "users" WHERE ("users"."id" = 1) LIMIT 1[0m
|
443
|
+
[4;36;1mIteration Load (0.3ms)[0m [0;1mSELECT * FROM "iterations" [0m
|
444
|
+
[4;35;1mIteration Load (0.2ms)[0m [0mSELECT * FROM "iterations" WHERE ("iterations"."id" = 1) [0m
|
445
|
+
[4;36;1mStory Load (0.6ms)[0m [0;1mSELECT * FROM "stories" WHERE (iteration_id = 1) [0m
|
446
|
+
Rendering template within layouts/main
|
447
|
+
Rendering stories/index
|
448
|
+
[4;35;1mSQL (0.3ms)[0m [0mSELECT count(*) AS count_all FROM "stories" WHERE ((status = "in_progress") AND (iteration_id = 1)) [0m
|
449
|
+
[4;36;1mSQL (0.1ms)[0m [0;1mSELECT count(*) AS count_all FROM "stories" WHERE ((status = "new") AND (iteration_id = 1)) [0m
|
450
|
+
[4;35;1mSQL (0.2ms)[0m [0mSELECT count(*) AS count_all FROM "stories" WHERE ((status = "completed") AND (iteration_id = 1)) [0m
|
451
|
+
[4;36;1mSQL (0.1ms)[0m [0;1mSELECT count(*) AS count_all FROM "stories" WHERE ((status = "quality_assurance") AND (iteration_id = 1)) [0m
|
452
|
+
[4;35;1mStory Load (0.2ms)[0m [0mSELECT * FROM "stories" WHERE ((status = "in_progress") AND (iteration_id = 1)) [0m
|
453
|
+
[4;36;1mStory Load (0.2ms)[0m [0;1mSELECT * FROM "stories" WHERE ((status = "quality_assurance") AND (iteration_id = 1)) [0m
|
454
|
+
[4;35;1mStory Load (0.3ms)[0m [0mSELECT * FROM "stories" WHERE ((status = "new") AND (iteration_id = 1)) [0m
|
455
|
+
[4;36;1mUser Load (0.4ms)[0m [0;1mSELECT * FROM "users" WHERE ("users"."id" = 1) [0m
|
456
|
+
Rendered stories/_story (21.5ms)
|
457
|
+
[4;35;1mCACHE (0.0ms)[0m [0mSELECT * FROM "users" WHERE ("users"."id" = 1) [0m
|
458
|
+
Rendered stories/_story (14.5ms)
|
459
|
+
[4;36;1mCACHE (0.0ms)[0m [0;1mSELECT * FROM "users" WHERE ("users"."id" = 1) [0m
|
460
|
+
Rendered stories/_story (16.2ms)
|
461
|
+
[4;35;1mCACHE (0.0ms)[0m [0mSELECT count(*) AS count_all FROM "stories" WHERE ((status = "completed") AND (iteration_id = 1)) [0m
|
462
|
+
Rendered layouts/_meta (0.1ms)
|
463
|
+
Rendered layouts/_header (0.5ms)
|
464
|
+
Rendered layouts/_footer (0.3ms)
|
465
|
+
Completed in 276ms (View: 68, DB: 3) | 200 OK [http://localhost/iterations/1/stories]
|
466
|
+
|
467
|
+
|
468
|
+
Processing StoriesController#update to js (for 127.0.0.1 at 2011-04-12 18:43:22) [PUT]
|
469
|
+
Parameters: {"format"=>"js", "story"=>{"points"=>"4", "iteration_id"=>"1", "status"=>"completed"}, "action"=>"update", "authenticity_token"=>"ge3/CWFG8h+KTsAgMJwyFywYu3qQZbSHymn/zEAqR2I=", "_method"=>"PUT", "id"=>"sed-pretium-mattis-velit-at-interdum-augue-posuere", "controller"=>"stories", "iteration_id"=>"1"}
|
470
|
+
[4;36;1mUser Load (0.3ms)[0m [0;1mSELECT * FROM "users" WHERE ("users"."id" = 1) LIMIT 1[0m
|
471
|
+
[4;35;1mIteration Load (0.3ms)[0m [0mSELECT * FROM "iterations" [0m
|
472
|
+
[4;36;1mIteration Load (0.2ms)[0m [0;1mSELECT * FROM "iterations" WHERE ("iterations"."id" = 1) [0m
|
473
|
+
[4;35;1mStory Load (4.0ms)[0m [0mSELECT * FROM "stories" WHERE ("stories"."slug" = 'sed-pretium-mattis-velit-at-interdum-augue-posuere') LIMIT 1[0m
|
474
|
+
|
475
|
+
AASM::InvalidTransition (Event 'finish' cannot transition from 'new'):
|
476
|
+
aasm (2.1.5) lib/aasm/event.rb:12:in `fire'
|
477
|
+
aasm (2.1.5) lib/aasm/aasm.rb:154:in `aasm_fire_event'
|
478
|
+
aasm (2.1.5) lib/aasm/aasm.rb:56:in `finish'
|
479
|
+
app/controllers/stories_controller.rb:121:in `update'
|
480
|
+
/usr/lib/ruby/1.8/webrick/httpserver.rb:104:in `service'
|
481
|
+
/usr/lib/ruby/1.8/webrick/httpserver.rb:65:in `run'
|
482
|
+
/usr/lib/ruby/1.8/webrick/server.rb:173:in `start_thread'
|
483
|
+
/usr/lib/ruby/1.8/webrick/server.rb:162:in `start'
|
484
|
+
/usr/lib/ruby/1.8/webrick/server.rb:162:in `start_thread'
|
485
|
+
/usr/lib/ruby/1.8/webrick/server.rb:95:in `start'
|
486
|
+
/usr/lib/ruby/1.8/webrick/server.rb:92:in `each'
|
487
|
+
/usr/lib/ruby/1.8/webrick/server.rb:92:in `start'
|
488
|
+
/usr/lib/ruby/1.8/webrick/server.rb:23:in `start'
|
489
|
+
/usr/lib/ruby/1.8/webrick/server.rb:82:in `start'
|
490
|
+
|
491
|
+
Rendered rescues/_trace (48.4ms)
|
492
|
+
Rendered rescues/_request_and_response (1.8ms)
|
493
|
+
Rendering rescues/layout (internal_server_error)
|
494
|
+
|
495
|
+
|
496
|
+
Processing StoriesController#update to js (for 127.0.0.1 at 2011-04-12 18:43:31) [PUT]
|
497
|
+
Parameters: {"format"=>"js", "story"=>{"points"=>"4", "iteration_id"=>"1", "status"=>"in_progress"}, "action"=>"update", "authenticity_token"=>"ge3/CWFG8h+KTsAgMJwyFywYu3qQZbSHymn/zEAqR2I=", "_method"=>"PUT", "id"=>"sed-pretium-mattis-velit-at-interdum-augue-posuere", "controller"=>"stories", "iteration_id"=>"1"}
|
498
|
+
[4;36;1mUser Load (0.4ms)[0m [0;1mSELECT * FROM "users" WHERE ("users"."id" = 1) LIMIT 1[0m
|
499
|
+
[4;35;1mIteration Load (0.3ms)[0m [0mSELECT * FROM "iterations" [0m
|
500
|
+
[4;36;1mIteration Load (0.2ms)[0m [0;1mSELECT * FROM "iterations" WHERE ("iterations"."id" = 1) [0m
|
501
|
+
[4;35;1mStory Load (0.3ms)[0m [0mSELECT * FROM "stories" WHERE ("stories"."slug" = 'sed-pretium-mattis-velit-at-interdum-augue-posuere') LIMIT 1[0m
|
502
|
+
WARNING: Can't mass-assign these protected attributes: status
|
503
|
+
[4;36;1mStory Load (0.2ms)[0m [0;1mSELECT "stories".id FROM "stories" WHERE ("stories"."title" = 'Sed pretium mattis velit, at interdum au' AND "stories".id <> 1) LIMIT 1[0m
|
504
|
+
[4;35;1mStory Update (0.6ms)[0m [0mUPDATE "stories" SET "updated_at" = '2011-04-12 17:43:31', "status" = 'in_progress' WHERE "id" = 1[0m
|
505
|
+
Redirected to http://localhost:3000/iterations/1/stories
|
506
|
+
Completed in 393ms (DB: 2) | 302 Found [http://localhost/iterations/1/stories/sed-pretium-mattis-velit-at-interdum-augue-posuere.js]
|
507
|
+
|
508
|
+
|
509
|
+
Processing StoriesController#index (for 127.0.0.1 at 2011-04-12 18:43:31) [GET]
|
510
|
+
Parameters: {"action"=>"index", "controller"=>"stories", "iteration_id"=>"1"}
|
511
|
+
[4;36;1mUser Load (1.9ms)[0m [0;1mSELECT * FROM "users" WHERE ("users"."id" = 1) LIMIT 1[0m
|
512
|
+
[4;35;1mIteration Load (0.3ms)[0m [0mSELECT * FROM "iterations" [0m
|
513
|
+
[4;36;1mIteration Load (0.2ms)[0m [0;1mSELECT * FROM "iterations" WHERE ("iterations"."id" = 1) [0m
|
514
|
+
[4;35;1mStory Load (0.5ms)[0m [0mSELECT * FROM "stories" WHERE (iteration_id = 1) [0m
|
515
|
+
Rendering template within layouts/main
|
516
|
+
Rendering stories/index
|
517
|
+
[4;36;1mSQL (0.4ms)[0m [0;1mSELECT count(*) AS count_all FROM "stories" WHERE ((status = "in_progress") AND (iteration_id = 1)) [0m
|
518
|
+
[4;35;1mSQL (0.2ms)[0m [0mSELECT count(*) AS count_all FROM "stories" WHERE ((status = "new") AND (iteration_id = 1)) [0m
|
519
|
+
[4;36;1mSQL (0.2ms)[0m [0;1mSELECT count(*) AS count_all FROM "stories" WHERE ((status = "completed") AND (iteration_id = 1)) [0m
|
520
|
+
[4;35;1mSQL (0.1ms)[0m [0mSELECT count(*) AS count_all FROM "stories" WHERE ((status = "quality_assurance") AND (iteration_id = 1)) [0m
|
521
|
+
[4;36;1mStory Load (0.2ms)[0m [0;1mSELECT * FROM "stories" WHERE ((status = "in_progress") AND (iteration_id = 1)) [0m
|
522
|
+
[4;35;1mUser Load (0.4ms)[0m [0mSELECT * FROM "users" WHERE ("users"."id" = 1) [0m
|
523
|
+
Rendered stories/_story (184.4ms)
|
524
|
+
[4;36;1mStory Load (0.3ms)[0m [0;1mSELECT * FROM "stories" WHERE ((status = "quality_assurance") AND (iteration_id = 1)) [0m
|
525
|
+
[4;35;1mStory Load (0.3ms)[0m [0mSELECT * FROM "stories" WHERE ((status = "new") AND (iteration_id = 1)) [0m
|
526
|
+
[4;36;1mCACHE (0.0ms)[0m [0;1mSELECT * FROM "users" WHERE ("users"."id" = 1) [0m
|
527
|
+
Rendered stories/_story (17.6ms)
|
528
|
+
[4;35;1mCACHE (0.0ms)[0m [0mSELECT * FROM "users" WHERE ("users"."id" = 1) [0m
|
529
|
+
Rendered stories/_story (15.8ms)
|
530
|
+
[4;36;1mCACHE (0.0ms)[0m [0;1mSELECT count(*) AS count_all FROM "stories" WHERE ((status = "completed") AND (iteration_id = 1)) [0m
|
531
|
+
Rendered layouts/_meta (0.1ms)
|
532
|
+
Rendered layouts/_header (0.6ms)
|
533
|
+
Rendered layouts/_footer (0.3ms)
|
534
|
+
Completed in 294ms (View: 235, DB: 5) | 200 OK [http://localhost/iterations/1/stories]
|
535
|
+
|
536
|
+
|
537
|
+
Processing StoriesController#update to js (for 127.0.0.1 at 2011-04-12 18:43:34) [PUT]
|
538
|
+
Parameters: {"format"=>"js", "story"=>{"points"=>"4", "iteration_id"=>"1", "status"=>"quality_assurance"}, "action"=>"update", "authenticity_token"=>"ge3/CWFG8h+KTsAgMJwyFywYu3qQZbSHymn/zEAqR2I=", "_method"=>"PUT", "id"=>"sed-pretium-mattis-velit-at-interdum-augue-posuere", "controller"=>"stories", "iteration_id"=>"1"}
|
539
|
+
[4;35;1mUser Load (0.3ms)[0m [0mSELECT * FROM "users" WHERE ("users"."id" = 1) LIMIT 1[0m
|
540
|
+
[4;36;1mIteration Load (0.3ms)[0m [0;1mSELECT * FROM "iterations" [0m
|
541
|
+
[4;35;1mIteration Load (0.2ms)[0m [0mSELECT * FROM "iterations" WHERE ("iterations"."id" = 1) [0m
|
542
|
+
[4;36;1mStory Load (0.3ms)[0m [0;1mSELECT * FROM "stories" WHERE ("stories"."slug" = 'sed-pretium-mattis-velit-at-interdum-augue-posuere') LIMIT 1[0m
|
543
|
+
WARNING: Can't mass-assign these protected attributes: status
|
544
|
+
[4;35;1mStory Load (0.2ms)[0m [0mSELECT "stories".id FROM "stories" WHERE ("stories"."title" = 'Sed pretium mattis velit, at interdum au' AND "stories".id <> 1) LIMIT 1[0m
|
545
|
+
[4;36;1mStory Update (1.5ms)[0m [0;1mUPDATE "stories" SET "updated_at" = '2011-04-12 17:43:35', "status" = 'quality_assurance' WHERE "id" = 1[0m
|
546
|
+
Redirected to http://localhost:3000/iterations/1/stories
|
547
|
+
Completed in 171ms (DB: 3) | 302 Found [http://localhost/iterations/1/stories/sed-pretium-mattis-velit-at-interdum-augue-posuere.js]
|
548
|
+
|
549
|
+
|
550
|
+
Processing StoriesController#index (for 127.0.0.1 at 2011-04-12 18:43:35) [GET]
|
551
|
+
Parameters: {"action"=>"index", "controller"=>"stories", "iteration_id"=>"1"}
|
552
|
+
[4;35;1mUser Load (0.4ms)[0m [0mSELECT * FROM "users" WHERE ("users"."id" = 1) LIMIT 1[0m
|
553
|
+
[4;36;1mIteration Load (0.4ms)[0m [0;1mSELECT * FROM "iterations" [0m
|
554
|
+
[4;35;1mIteration Load (0.3ms)[0m [0mSELECT * FROM "iterations" WHERE ("iterations"."id" = 1) [0m
|
555
|
+
[4;36;1mStory Load (0.5ms)[0m [0;1mSELECT * FROM "stories" WHERE (iteration_id = 1) [0m
|
556
|
+
Rendering template within layouts/main
|
557
|
+
Rendering stories/index
|
558
|
+
[4;35;1mSQL (0.2ms)[0m [0mSELECT count(*) AS count_all FROM "stories" WHERE ((status = "in_progress") AND (iteration_id = 1)) [0m
|
559
|
+
[4;36;1mSQL (0.2ms)[0m [0;1mSELECT count(*) AS count_all FROM "stories" WHERE ((status = "new") AND (iteration_id = 1)) [0m
|
560
|
+
[4;35;1mSQL (0.2ms)[0m [0mSELECT count(*) AS count_all FROM "stories" WHERE ((status = "completed") AND (iteration_id = 1)) [0m
|
561
|
+
[4;36;1mSQL (0.2ms)[0m [0;1mSELECT count(*) AS count_all FROM "stories" WHERE ((status = "quality_assurance") AND (iteration_id = 1)) [0m
|
562
|
+
[4;35;1mStory Load (0.2ms)[0m [0mSELECT * FROM "stories" WHERE ((status = "in_progress") AND (iteration_id = 1)) [0m
|
563
|
+
[4;36;1mStory Load (0.3ms)[0m [0;1mSELECT * FROM "stories" WHERE ((status = "quality_assurance") AND (iteration_id = 1)) [0m
|
564
|
+
[4;35;1mUser Load (0.4ms)[0m [0mSELECT * FROM "users" WHERE ("users"."id" = 1) [0m
|
565
|
+
Rendered stories/_story (21.0ms)
|
566
|
+
[4;36;1mStory Load (0.4ms)[0m [0;1mSELECT * FROM "stories" WHERE ((status = "new") AND (iteration_id = 1)) [0m
|
567
|
+
[4;35;1mCACHE (0.0ms)[0m [0mSELECT * FROM "users" WHERE ("users"."id" = 1) [0m
|
568
|
+
Rendered stories/_story (15.0ms)
|
569
|
+
[4;36;1mCACHE (0.0ms)[0m [0;1mSELECT * FROM "users" WHERE ("users"."id" = 1) [0m
|
570
|
+
Rendered stories/_story (14.6ms)
|
571
|
+
[4;35;1mCACHE (0.0ms)[0m [0mSELECT count(*) AS count_all FROM "stories" WHERE ((status = "completed") AND (iteration_id = 1)) [0m
|
572
|
+
Rendered layouts/_meta (0.1ms)
|
573
|
+
Rendered layouts/_header (0.8ms)
|
574
|
+
Rendered layouts/_footer (0.4ms)
|
575
|
+
Completed in 124ms (View: 67, DB: 3) | 200 OK [http://localhost/iterations/1/stories]
|
576
|
+
|
577
|
+
|
578
|
+
Processing StoriesController#update to js (for 127.0.0.1 at 2011-04-12 18:43:39) [PUT]
|
579
|
+
Parameters: {"format"=>"js", "story"=>{"points"=>"4", "iteration_id"=>"1", "status"=>"completed"}, "action"=>"update", "authenticity_token"=>"ge3/CWFG8h+KTsAgMJwyFywYu3qQZbSHymn/zEAqR2I=", "_method"=>"PUT", "id"=>"sed-pretium-mattis-velit-at-interdum-augue-posuere", "controller"=>"stories", "iteration_id"=>"1"}
|
580
|
+
[4;36;1mUser Load (0.3ms)[0m [0;1mSELECT * FROM "users" WHERE ("users"."id" = 1) LIMIT 1[0m
|
581
|
+
[4;35;1mIteration Load (0.3ms)[0m [0mSELECT * FROM "iterations" [0m
|
582
|
+
[4;36;1mIteration Load (0.2ms)[0m [0;1mSELECT * FROM "iterations" WHERE ("iterations"."id" = 1) [0m
|
583
|
+
[4;35;1mStory Load (0.4ms)[0m [0mSELECT * FROM "stories" WHERE ("stories"."slug" = 'sed-pretium-mattis-velit-at-interdum-augue-posuere') LIMIT 1[0m
|
584
|
+
WARNING: Can't mass-assign these protected attributes: status
|
585
|
+
[4;36;1mStory Load (0.2ms)[0m [0;1mSELECT "stories".id FROM "stories" WHERE ("stories"."title" = 'Sed pretium mattis velit, at interdum au' AND "stories".id <> 1) LIMIT 1[0m
|
586
|
+
[4;35;1mStory Update (0.6ms)[0m [0mUPDATE "stories" SET "updated_at" = '2011-04-12 17:43:39', "status" = 'completed', "completed_date" = '2011-04-12' WHERE "id" = 1[0m
|
587
|
+
Redirected to http://localhost:3000/iterations/1/stories
|
588
|
+
Completed in 361ms (DB: 2) | 302 Found [http://localhost/iterations/1/stories/sed-pretium-mattis-velit-at-interdum-augue-posuere.js]
|
589
|
+
|
590
|
+
|
591
|
+
Processing StoriesController#index (for 127.0.0.1 at 2011-04-12 18:43:39) [GET]
|
592
|
+
Parameters: {"action"=>"index", "controller"=>"stories", "iteration_id"=>"1"}
|
593
|
+
[4;36;1mUser Load (0.3ms)[0m [0;1mSELECT * FROM "users" WHERE ("users"."id" = 1) LIMIT 1[0m
|
594
|
+
[4;35;1mIteration Load (0.3ms)[0m [0mSELECT * FROM "iterations" [0m
|
595
|
+
[4;36;1mIteration Load (0.2ms)[0m [0;1mSELECT * FROM "iterations" WHERE ("iterations"."id" = 1) [0m
|
596
|
+
[4;35;1mStory Load (0.5ms)[0m [0mSELECT * FROM "stories" WHERE (iteration_id = 1) [0m
|
597
|
+
Rendering template within layouts/main
|
598
|
+
Rendering stories/index
|
599
|
+
[4;36;1mSQL (0.3ms)[0m [0;1mSELECT count(*) AS count_all FROM "stories" WHERE ((status = "in_progress") AND (iteration_id = 1)) [0m
|
600
|
+
[4;35;1mSQL (0.2ms)[0m [0mSELECT count(*) AS count_all FROM "stories" WHERE ((status = "new") AND (iteration_id = 1)) [0m
|
601
|
+
[4;36;1mSQL (0.2ms)[0m [0;1mSELECT count(*) AS count_all FROM "stories" WHERE ((status = "completed") AND (iteration_id = 1)) [0m
|
602
|
+
[4;35;1mSQL (0.2ms)[0m [0mSELECT count(*) AS count_all FROM "stories" WHERE ((status = "quality_assurance") AND (iteration_id = 1)) [0m
|
603
|
+
[4;36;1mStory Load (0.2ms)[0m [0;1mSELECT * FROM "stories" WHERE ((status = "in_progress") AND (iteration_id = 1)) [0m
|
604
|
+
[4;35;1mStory Load (0.2ms)[0m [0mSELECT * FROM "stories" WHERE ((status = "quality_assurance") AND (iteration_id = 1)) [0m
|
605
|
+
[4;36;1mStory Load (0.3ms)[0m [0;1mSELECT * FROM "stories" WHERE ((status = "new") AND (iteration_id = 1)) [0m
|
606
|
+
[4;35;1mUser Load (0.4ms)[0m [0mSELECT * FROM "users" WHERE ("users"."id" = 1) [0m
|
607
|
+
Rendered stories/_story (23.7ms)
|
608
|
+
[4;36;1mCACHE (0.0ms)[0m [0;1mSELECT * FROM "users" WHERE ("users"."id" = 1) [0m
|
609
|
+
Rendered stories/_story (15.4ms)
|
610
|
+
[4;35;1mCACHE (0.0ms)[0m [0mSELECT count(*) AS count_all FROM "stories" WHERE ((status = "completed") AND (iteration_id = 1)) [0m
|
611
|
+
[4;36;1mStory Load (0.4ms)[0m [0;1mSELECT * FROM "stories" WHERE ((status = "completed") AND (iteration_id = 1)) [0m
|
612
|
+
[4;35;1mCACHE (0.0ms)[0m [0mSELECT * FROM "users" WHERE ("users"."id" = 1) [0m
|
613
|
+
Rendered stories/_story (15.7ms)
|
614
|
+
Rendered layouts/_meta (0.1ms)
|
615
|
+
Rendered layouts/_header (0.5ms)
|
616
|
+
Rendered layouts/_footer (0.3ms)
|
617
|
+
Completed in 289ms (View: 73, DB: 4) | 200 OK [http://localhost/iterations/1/stories]
|
618
|
+
|
619
|
+
|
620
|
+
Processing IterationsController#index (for 127.0.0.1 at 2011-04-12 18:44:03) [GET]
|
621
|
+
Parameters: {"action"=>"index", "controller"=>"iterations"}
|
622
|
+
[4;36;1mUser Load (0.3ms)[0m [0;1mSELECT * FROM "users" WHERE ("users"."id" = 1) LIMIT 1[0m
|
623
|
+
[4;35;1mIteration Load (0.5ms)[0m [0mSELECT * FROM "iterations" [0m
|
624
|
+
Rendering template within layouts/main
|
625
|
+
Rendering iterations/index
|
626
|
+
Rendered layouts/_meta (0.1ms)
|
627
|
+
Rendered layouts/_header (0.6ms)
|
628
|
+
Rendered layouts/_footer (0.4ms)
|
629
|
+
Completed in 48ms (View: 14, DB: 1) | 200 OK [http://localhost/iterations]
|
630
|
+
|
631
|
+
|
632
|
+
Processing IterationsController#show (for 127.0.0.1 at 2011-04-12 18:44:05) [GET]
|
633
|
+
Parameters: {"action"=>"show", "id"=>"1", "controller"=>"iterations"}
|
634
|
+
[4;36;1mUser Load (0.4ms)[0m [0;1mSELECT * FROM "users" WHERE ("users"."id" = 1) LIMIT 1[0m
|
635
|
+
[4;35;1mIteration Load (0.3ms)[0m [0mSELECT * FROM "iterations" WHERE ("iterations"."id" = 1) [0m
|
636
|
+
[4;36;1mStory Load (0.4ms)[0m [0;1mSELECT SUM(points) AS points,
|
637
|
+
completed_date
|
638
|
+
FROM stories
|
639
|
+
WHERE iteration_id = 1
|
640
|
+
AND status = 'completed'
|
641
|
+
GROUP BY completed_date
|
642
|
+
ORDER BY completed_date[0m
|
643
|
+
Rendering template within layouts/main
|
644
|
+
Rendering iterations/show
|
645
|
+
[4;35;1mSQL (0.3ms)[0m [0mSELECT count(*) AS count_all FROM "stories" WHERE ("stories".iteration_id = 1) [0m
|
646
|
+
[4;36;1mStory Load (0.3ms)[0m [0;1mSELECT * FROM "stories" WHERE ("stories".iteration_id = 1) [0m
|
647
|
+
Rendered layouts/_meta (0.1ms)
|
648
|
+
Rendered layouts/_header (0.5ms)
|
649
|
+
Rendered layouts/_footer (0.3ms)
|
650
|
+
Completed in 222ms (View: 26, DB: 2) | 200 OK [http://localhost/iterations/1]
|
651
|
+
|
652
|
+
|
653
|
+
Processing IterationsController#show (for 127.0.0.1 at 2011-04-12 19:08:54) [GET]
|
654
|
+
Parameters: {"action"=>"show", "id"=>"1", "controller"=>"iterations"}
|
655
|
+
[4;35;1mUser Load (0.3ms)[0m [0mSELECT * FROM "users" WHERE ("users"."id" = 1) LIMIT 1[0m
|
656
|
+
[4;36;1mIteration Load (0.5ms)[0m [0;1mSELECT * FROM "iterations" WHERE ("iterations"."id" = 1) [0m
|
657
|
+
[4;35;1mStory Load (0.4ms)[0m [0mSELECT SUM(points) AS points,
|
658
|
+
completed_date
|
659
|
+
FROM stories
|
660
|
+
WHERE iteration_id = 1
|
661
|
+
AND status = 'completed'
|
662
|
+
GROUP BY completed_date
|
663
|
+
ORDER BY completed_date[0m
|
664
|
+
Rendering template within layouts/main
|
665
|
+
Rendering iterations/show
|
666
|
+
[4;36;1mSQL (0.3ms)[0m [0;1mSELECT count(*) AS count_all FROM "stories" WHERE ("stories".iteration_id = 1) [0m
|
667
|
+
[4;35;1mStory Load (0.4ms)[0m [0mSELECT * FROM "stories" WHERE ("stories".iteration_id = 1) [0m
|
668
|
+
Rendered layouts/_meta (0.1ms)
|
669
|
+
Rendered layouts/_header (0.6ms)
|
670
|
+
Rendered layouts/_footer (0.7ms)
|
671
|
+
Completed in 305ms (View: 213, DB: 2) | 200 OK [http://localhost/iterations/1]
|
672
|
+
|
673
|
+
|
674
|
+
Processing IterationsController#show (for 127.0.0.1 at 2011-04-12 19:08:57) [GET]
|
675
|
+
Parameters: {"action"=>"show", "id"=>"1", "controller"=>"iterations"}
|
676
|
+
[4;36;1mUser Load (0.3ms)[0m [0;1mSELECT * FROM "users" WHERE ("users"."id" = 1) LIMIT 1[0m
|
677
|
+
[4;35;1mIteration Load (0.3ms)[0m [0mSELECT * FROM "iterations" WHERE ("iterations"."id" = 1) [0m
|
678
|
+
[4;36;1mStory Load (0.3ms)[0m [0;1mSELECT SUM(points) AS points,
|
679
|
+
completed_date
|
680
|
+
FROM stories
|
681
|
+
WHERE iteration_id = 1
|
682
|
+
AND status = 'completed'
|
683
|
+
GROUP BY completed_date
|
684
|
+
ORDER BY completed_date[0m
|
685
|
+
Rendering template within layouts/main
|
686
|
+
Rendering iterations/show
|
687
|
+
[4;35;1mSQL (0.2ms)[0m [0mSELECT count(*) AS count_all FROM "stories" WHERE ("stories".iteration_id = 1) [0m
|
688
|
+
[4;36;1mStory Load (0.3ms)[0m [0;1mSELECT * FROM "stories" WHERE ("stories".iteration_id = 1) [0m
|
689
|
+
Rendered layouts/_meta (0.1ms)
|
690
|
+
Rendered layouts/_header (0.5ms)
|
691
|
+
Rendered layouts/_footer (0.4ms)
|
692
|
+
Completed in 68ms (View: 20, DB: 1) | 200 OK [http://localhost/iterations/1]
|
693
|
+
|
694
|
+
|
695
|
+
Processing IterationsController#show (for 127.0.0.1 at 2011-04-12 19:10:58) [GET]
|
696
|
+
Parameters: {"action"=>"show", "id"=>"1", "controller"=>"iterations"}
|
697
|
+
[4;35;1mUser Load (0.4ms)[0m [0mSELECT * FROM "users" WHERE ("users"."id" = 1) LIMIT 1[0m
|
698
|
+
[4;36;1mIteration Load (0.3ms)[0m [0;1mSELECT * FROM "iterations" WHERE ("iterations"."id" = 1) [0m
|
699
|
+
[4;35;1mStory Load (0.4ms)[0m [0mSELECT SUM(points) AS points,
|
700
|
+
completed_date
|
701
|
+
FROM stories
|
702
|
+
WHERE iteration_id = 1
|
703
|
+
AND status = 'completed'
|
704
|
+
GROUP BY completed_date
|
705
|
+
ORDER BY completed_date[0m
|
706
|
+
Rendering template within layouts/main
|
707
|
+
Rendering iterations/show
|
708
|
+
[4;36;1mSQL (0.3ms)[0m [0;1mSELECT count(*) AS count_all FROM "stories" WHERE ("stories".iteration_id = 1) [0m
|
709
|
+
[4;35;1mStory Load (0.3ms)[0m [0mSELECT * FROM "stories" WHERE ("stories".iteration_id = 1) [0m
|
710
|
+
Rendered layouts/_meta (0.1ms)
|
711
|
+
Rendered layouts/_header (0.6ms)
|
712
|
+
Rendered layouts/_footer (0.3ms)
|
713
|
+
Completed in 231ms (View: 31, DB: 2) | 200 OK [http://localhost/iterations/1]
|
714
|
+
|
715
|
+
|
716
|
+
Processing IterationsController#show (for 127.0.0.1 at 2011-04-12 19:11:07) [GET]
|
717
|
+
Parameters: {"action"=>"show", "id"=>"1", "controller"=>"iterations"}
|
718
|
+
[4;36;1mUser Load (0.4ms)[0m [0;1mSELECT * FROM "users" WHERE ("users"."id" = 1) LIMIT 1[0m
|
719
|
+
[4;35;1mIteration Load (0.3ms)[0m [0mSELECT * FROM "iterations" WHERE ("iterations"."id" = 1) [0m
|
720
|
+
[4;36;1mStory Load (0.4ms)[0m [0;1mSELECT SUM(points) AS points,
|
721
|
+
completed_date
|
722
|
+
FROM stories
|
723
|
+
WHERE iteration_id = 1
|
724
|
+
AND status = 'completed'
|
725
|
+
GROUP BY completed_date
|
726
|
+
ORDER BY completed_date[0m
|
727
|
+
Rendering template within layouts/main
|
728
|
+
Rendering iterations/show
|
729
|
+
[4;35;1mSQL (0.3ms)[0m [0mSELECT count(*) AS count_all FROM "stories" WHERE ("stories".iteration_id = 1) [0m
|
730
|
+
[4;36;1mStory Load (0.5ms)[0m [0;1mSELECT * FROM "stories" WHERE ("stories".iteration_id = 1) [0m
|
731
|
+
Rendered layouts/_meta (0.1ms)
|
732
|
+
Rendered layouts/_header (0.6ms)
|
733
|
+
Rendered layouts/_footer (0.4ms)
|
734
|
+
Completed in 241ms (View: 22, DB: 2) | 200 OK [http://localhost/iterations/1]
|
735
|
+
|
736
|
+
|
737
|
+
Processing IterationsController#show (for 127.0.0.1 at 2011-04-12 19:11:28) [GET]
|
738
|
+
Parameters: {"action"=>"show", "id"=>"1", "controller"=>"iterations"}
|
739
|
+
[4;35;1mUser Load (0.3ms)[0m [0mSELECT * FROM "users" WHERE ("users"."id" = 1) LIMIT 1[0m
|
740
|
+
[4;36;1mIteration Load (1.1ms)[0m [0;1mSELECT * FROM "iterations" WHERE ("iterations"."id" = 1) [0m
|
741
|
+
[4;35;1mStory Load (0.4ms)[0m [0mSELECT SUM(points) AS points,
|
742
|
+
completed_date
|
743
|
+
FROM stories
|
744
|
+
WHERE iteration_id = 1
|
745
|
+
AND status = 'completed'
|
746
|
+
GROUP BY completed_date
|
747
|
+
ORDER BY completed_date[0m
|
748
|
+
Rendering template within layouts/main
|
749
|
+
Rendering iterations/show
|
750
|
+
[4;36;1mSQL (0.3ms)[0m [0;1mSELECT count(*) AS count_all FROM "stories" WHERE ("stories".iteration_id = 1) [0m
|
751
|
+
[4;35;1mStory Load (0.4ms)[0m [0mSELECT * FROM "stories" WHERE ("stories".iteration_id = 1) [0m
|
752
|
+
Rendered layouts/_meta (0.1ms)
|
753
|
+
Rendered layouts/_header (0.5ms)
|
754
|
+
Rendered layouts/_footer (0.3ms)
|
755
|
+
Completed in 81ms (View: 21, DB: 2) | 200 OK [http://localhost/iterations/1]
|
756
|
+
|
757
|
+
|
758
|
+
Processing IterationsController#show (for 127.0.0.1 at 2011-04-12 19:14:38) [GET]
|
759
|
+
Parameters: {"action"=>"show", "id"=>"1", "controller"=>"iterations"}
|
760
|
+
[4;36;1mUser Load (0.3ms)[0m [0;1mSELECT * FROM "users" WHERE ("users"."id" = 1) LIMIT 1[0m
|
761
|
+
[4;35;1mIteration Load (0.3ms)[0m [0mSELECT * FROM "iterations" WHERE ("iterations"."id" = 1) [0m
|
762
|
+
[4;36;1mStory Load (0.3ms)[0m [0;1mSELECT SUM(points) AS points,
|
763
|
+
completed_date
|
764
|
+
FROM stories
|
765
|
+
WHERE iteration_id = 1
|
766
|
+
AND status = 'completed'
|
767
|
+
GROUP BY completed_date
|
768
|
+
ORDER BY completed_date[0m
|
769
|
+
Rendering template within layouts/main
|
770
|
+
Rendering iterations/show
|
771
|
+
[4;35;1mSQL (0.3ms)[0m [0mSELECT count(*) AS count_all FROM "stories" WHERE ("stories".iteration_id = 1) [0m
|
772
|
+
[4;36;1mStory Load (0.3ms)[0m [0;1mSELECT * FROM "stories" WHERE ("stories".iteration_id = 1) [0m
|
773
|
+
Rendered layouts/_meta (0.1ms)
|
774
|
+
Rendered layouts/_header (0.7ms)
|
775
|
+
Rendered layouts/_footer (0.4ms)
|
776
|
+
Completed in 75ms (View: 27, DB: 2) | 200 OK [http://localhost/iterations/1]
|
777
|
+
|
778
|
+
|
779
|
+
Processing IterationsController#show (for 127.0.0.1 at 2011-04-12 19:15:31) [GET]
|
780
|
+
Parameters: {"action"=>"show", "id"=>"1", "controller"=>"iterations"}
|
781
|
+
[4;35;1mUser Load (1.6ms)[0m [0mSELECT * FROM "users" WHERE ("users"."id" = 1) LIMIT 1[0m
|
782
|
+
[4;36;1mIteration Load (0.5ms)[0m [0;1mSELECT * FROM "iterations" WHERE ("iterations"."id" = 1) [0m
|
783
|
+
[4;35;1mStory Load (0.4ms)[0m [0mSELECT SUM(points) AS points,
|
784
|
+
completed_date
|
785
|
+
FROM stories
|
786
|
+
WHERE iteration_id = 1
|
787
|
+
AND status = 'completed'
|
788
|
+
GROUP BY completed_date
|
789
|
+
ORDER BY completed_date[0m
|
790
|
+
Rendering template within layouts/main
|
791
|
+
Rendering iterations/show
|
792
|
+
[4;36;1mSQL (2.4ms)[0m [0;1mSELECT count(*) AS count_all FROM "stories" WHERE ("stories".iteration_id = 1) [0m
|
793
|
+
[4;35;1mStory Load (0.4ms)[0m [0mSELECT * FROM "stories" WHERE ("stories".iteration_id = 1) [0m
|
794
|
+
Rendered layouts/_meta (0.1ms)
|
795
|
+
Rendered layouts/_header (0.6ms)
|
796
|
+
Rendered layouts/_footer (0.3ms)
|
797
|
+
Completed in 260ms (View: 32, DB: 5) | 200 OK [http://localhost/iterations/1]
|
798
|
+
|
799
|
+
|
800
|
+
Processing IterationsController#show (for 127.0.0.1 at 2011-04-12 19:15:50) [GET]
|
801
|
+
Parameters: {"action"=>"show", "id"=>"1", "controller"=>"iterations"}
|
802
|
+
[4;36;1mUser Load (4.9ms)[0m [0;1mSELECT * FROM "users" WHERE ("users"."id" = 1) LIMIT 1[0m
|
803
|
+
[4;35;1mIteration Load (0.4ms)[0m [0mSELECT * FROM "iterations" WHERE ("iterations"."id" = 1) [0m
|
804
|
+
[4;36;1mStory Load (0.4ms)[0m [0;1mSELECT SUM(points) AS points,
|
805
|
+
completed_date
|
806
|
+
FROM stories
|
807
|
+
WHERE iteration_id = 1
|
808
|
+
AND status = 'completed'
|
809
|
+
GROUP BY completed_date
|
810
|
+
ORDER BY completed_date[0m
|
811
|
+
Rendering template within layouts/main
|
812
|
+
Rendering iterations/show
|
813
|
+
[4;35;1mSQL (0.3ms)[0m [0mSELECT count(*) AS count_all FROM "stories" WHERE ("stories".iteration_id = 1) [0m
|
814
|
+
[4;36;1mStory Load (0.4ms)[0m [0;1mSELECT * FROM "stories" WHERE ("stories".iteration_id = 1) [0m
|
815
|
+
Rendered layouts/_meta (0.1ms)
|
816
|
+
Rendered layouts/_header (0.7ms)
|
817
|
+
Rendered layouts/_footer (0.4ms)
|
818
|
+
Completed in 362ms (View: 259, DB: 6) | 200 OK [http://localhost/iterations/1]
|
819
|
+
|
820
|
+
|
821
|
+
Processing IterationsController#show (for 127.0.0.1 at 2011-04-12 19:18:11) [GET]
|
822
|
+
Parameters: {"action"=>"show", "id"=>"1", "controller"=>"iterations"}
|
823
|
+
[4;35;1mUser Load (0.4ms)[0m [0mSELECT * FROM "users" WHERE ("users"."id" = 1) LIMIT 1[0m
|
824
|
+
[4;36;1mIteration Load (0.3ms)[0m [0;1mSELECT * FROM "iterations" WHERE ("iterations"."id" = 1) [0m
|
825
|
+
[4;35;1mStory Load (0.4ms)[0m [0mSELECT SUM(points) AS points,
|
826
|
+
completed_date
|
827
|
+
FROM stories
|
828
|
+
WHERE iteration_id = 1
|
829
|
+
AND status = 'completed'
|
830
|
+
GROUP BY completed_date
|
831
|
+
ORDER BY completed_date[0m
|
832
|
+
Rendering template within layouts/main
|
833
|
+
Rendering iterations/show
|
834
|
+
[4;36;1mSQL (0.3ms)[0m [0;1mSELECT count(*) AS count_all FROM "stories" WHERE ("stories".iteration_id = 1) [0m
|
835
|
+
[4;35;1mStory Load (0.4ms)[0m [0mSELECT * FROM "stories" WHERE ("stories".iteration_id = 1) [0m
|
836
|
+
Rendered layouts/_meta (0.1ms)
|
837
|
+
Rendered layouts/_header (0.7ms)
|
838
|
+
Rendered layouts/_footer (0.4ms)
|
839
|
+
Completed in 93ms (View: 29, DB: 2) | 200 OK [http://localhost/iterations/1]
|
840
|
+
|
841
|
+
|
842
|
+
Processing IterationsController#show (for 127.0.0.1 at 2011-04-12 19:25:40) [GET]
|
843
|
+
Parameters: {"action"=>"show", "id"=>"1", "controller"=>"iterations"}
|
844
|
+
[4;36;1mUser Load (0.4ms)[0m [0;1mSELECT * FROM "users" WHERE ("users"."id" = 1) LIMIT 1[0m
|
845
|
+
[4;35;1mIteration Load (1.5ms)[0m [0mSELECT * FROM "iterations" WHERE ("iterations"."id" = 1) [0m
|
846
|
+
[4;36;1mStory Load (0.3ms)[0m [0;1mSELECT SUM(points) AS points,
|
847
|
+
completed_date
|
848
|
+
FROM stories
|
849
|
+
WHERE iteration_id = 1
|
850
|
+
AND status = 'completed'
|
851
|
+
GROUP BY completed_date
|
852
|
+
ORDER BY completed_date[0m
|
853
|
+
Rendering template within layouts/main
|
854
|
+
Rendering iterations/show
|
855
|
+
[4;35;1mSQL (9.7ms)[0m [0mSELECT count(*) AS count_all FROM "stories" WHERE ("stories".iteration_id = 1) [0m
|
856
|
+
[4;36;1mStory Load (0.7ms)[0m [0;1mSELECT * FROM "stories" WHERE ("stories".iteration_id = 1) [0m
|
857
|
+
Rendered layouts/_meta (0.1ms)
|
858
|
+
Rendered layouts/_header (0.7ms)
|
859
|
+
Rendered layouts/_footer (0.4ms)
|
860
|
+
Completed in 151ms (View: 55, DB: 13) | 200 OK [http://localhost/iterations/1]
|
861
|
+
|
862
|
+
|
863
|
+
Processing IterationsController#show (for 127.0.0.1 at 2011-04-12 19:26:08) [GET]
|
864
|
+
Parameters: {"action"=>"show", "id"=>"1", "controller"=>"iterations"}
|
865
|
+
[4;35;1mUser Load (0.5ms)[0m [0mSELECT * FROM "users" WHERE ("users"."id" = 1) LIMIT 1[0m
|
866
|
+
[4;36;1mIteration Load (0.3ms)[0m [0;1mSELECT * FROM "iterations" WHERE ("iterations"."id" = 1) [0m
|
867
|
+
[4;35;1mStory Load (0.4ms)[0m [0mSELECT SUM(points) AS points,
|
868
|
+
completed_date
|
869
|
+
FROM stories
|
870
|
+
WHERE iteration_id = 1
|
871
|
+
AND status = 'completed'
|
872
|
+
GROUP BY completed_date
|
873
|
+
ORDER BY completed_date[0m
|
874
|
+
Rendering template within layouts/main
|
875
|
+
Rendering iterations/show
|
876
|
+
[4;36;1mSQL (0.7ms)[0m [0;1mSELECT count(*) AS count_all FROM "stories" WHERE ("stories".iteration_id = 1) [0m
|
877
|
+
[4;35;1mStory Load (0.8ms)[0m [0mSELECT * FROM "stories" WHERE ("stories".iteration_id = 1) [0m
|
878
|
+
Rendered layouts/_meta (0.1ms)
|
879
|
+
Rendered layouts/_header (0.8ms)
|
880
|
+
Rendered layouts/_footer (0.4ms)
|
881
|
+
Completed in 397ms (View: 58, DB: 3) | 200 OK [http://localhost/iterations/1]
|
882
|
+
|
883
|
+
|
884
|
+
Processing IterationsController#show (for 127.0.0.1 at 2011-04-12 19:29:47) [GET]
|
885
|
+
Parameters: {"action"=>"show", "id"=>"1", "controller"=>"iterations"}
|
886
|
+
[4;36;1mUser Load (0.3ms)[0m [0;1mSELECT * FROM "users" WHERE ("users"."id" = 1) LIMIT 1[0m
|
887
|
+
[4;35;1mIteration Load (1.8ms)[0m [0mSELECT * FROM "iterations" WHERE ("iterations"."id" = 1) [0m
|
888
|
+
[4;36;1mStory Load (0.5ms)[0m [0;1mSELECT SUM(points) AS points,
|
889
|
+
completed_date
|
890
|
+
FROM stories
|
891
|
+
WHERE iteration_id = 1
|
892
|
+
AND status = 'completed'
|
893
|
+
GROUP BY completed_date
|
894
|
+
ORDER BY completed_date[0m
|
895
|
+
Rendering template within layouts/main
|
896
|
+
Rendering iterations/show
|
897
|
+
[4;35;1mSQL (0.3ms)[0m [0mSELECT count(*) AS count_all FROM "stories" WHERE ("stories".iteration_id = 1) [0m
|
898
|
+
[4;36;1mStory Load (0.8ms)[0m [0;1mSELECT * FROM "stories" WHERE ("stories".iteration_id = 1) [0m
|
899
|
+
Rendered layouts/_meta (0.1ms)
|
900
|
+
Rendered layouts/_header (3.4ms)
|
901
|
+
Rendered layouts/_footer (0.5ms)
|
902
|
+
Completed in 145ms (View: 40, DB: 4) | 200 OK [http://localhost/iterations/1]
|
903
|
+
|
904
|
+
|
905
|
+
Processing IterationsController#show (for 127.0.0.1 at 2011-04-12 19:31:12) [GET]
|
906
|
+
Parameters: {"action"=>"show", "id"=>"1", "controller"=>"iterations"}
|
907
|
+
[4;35;1mUser Load (0.3ms)[0m [0mSELECT * FROM "users" WHERE ("users"."id" = 1) LIMIT 1[0m
|
908
|
+
[4;36;1mIteration Load (0.3ms)[0m [0;1mSELECT * FROM "iterations" WHERE ("iterations"."id" = 1) [0m
|
909
|
+
[4;35;1mStory Load (0.3ms)[0m [0mSELECT SUM(points) AS points,
|
910
|
+
completed_date
|
911
|
+
FROM stories
|
912
|
+
WHERE iteration_id = 1
|
913
|
+
AND status = 'completed'
|
914
|
+
GROUP BY completed_date
|
915
|
+
ORDER BY completed_date[0m
|
916
|
+
Rendering template within layouts/main
|
917
|
+
Rendering iterations/show
|
918
|
+
[4;36;1mSQL (0.2ms)[0m [0;1mSELECT count(*) AS count_all FROM "stories" WHERE ("stories".iteration_id = 1) [0m
|
919
|
+
[4;35;1mStory Load (0.7ms)[0m [0mSELECT * FROM "stories" WHERE ("stories".iteration_id = 1) [0m
|
920
|
+
Rendered layouts/_meta (0.1ms)
|
921
|
+
Rendered layouts/_header (0.6ms)
|
922
|
+
Rendered layouts/_footer (0.5ms)
|
923
|
+
Completed in 153ms (View: 58, DB: 2) | 200 OK [http://localhost/iterations/1]
|
924
|
+
|
925
|
+
|
926
|
+
Processing IterationsController#show (for 127.0.0.1 at 2011-04-12 19:31:52) [GET]
|
927
|
+
Parameters: {"action"=>"show", "id"=>"1", "controller"=>"iterations"}
|
928
|
+
[4;36;1mUser Load (0.8ms)[0m [0;1mSELECT * FROM "users" WHERE ("users"."id" = 1) LIMIT 1[0m
|
929
|
+
[4;35;1mIteration Load (0.6ms)[0m [0mSELECT * FROM "iterations" WHERE ("iterations"."id" = 1) [0m
|
930
|
+
[4;36;1mStory Load (3.4ms)[0m [0;1mSELECT SUM(points) AS points,
|
931
|
+
completed_date
|
932
|
+
FROM stories
|
933
|
+
WHERE iteration_id = 1
|
934
|
+
AND status = 'completed'
|
935
|
+
GROUP BY completed_date
|
936
|
+
ORDER BY completed_date[0m
|
937
|
+
Rendering template within layouts/main
|
938
|
+
Rendering iterations/show
|
939
|
+
[4;35;1mSQL (0.2ms)[0m [0mSELECT count(*) AS count_all FROM "stories" WHERE ("stories".iteration_id = 1) [0m
|
940
|
+
[4;36;1mStory Load (0.4ms)[0m [0;1mSELECT * FROM "stories" WHERE ("stories".iteration_id = 1) [0m
|
941
|
+
Rendered layouts/_meta (0.1ms)
|
942
|
+
Rendered layouts/_header (0.7ms)
|
943
|
+
Rendered layouts/_footer (0.5ms)
|
944
|
+
Completed in 340ms (View: 30, DB: 5) | 200 OK [http://localhost/iterations/1]
|
945
|
+
|
946
|
+
|
947
|
+
Processing IterationsController#show (for 127.0.0.1 at 2011-04-12 19:32:13) [GET]
|
948
|
+
Parameters: {"action"=>"show", "id"=>"1", "controller"=>"iterations"}
|
949
|
+
[4;35;1mUser Load (3.7ms)[0m [0mSELECT * FROM "users" WHERE ("users"."id" = 1) LIMIT 1[0m
|
950
|
+
[4;36;1mIteration Load (4.2ms)[0m [0;1mSELECT * FROM "iterations" WHERE ("iterations"."id" = 1) [0m
|
951
|
+
[4;35;1mStory Load (0.4ms)[0m [0mSELECT SUM(points) AS points,
|
952
|
+
completed_date
|
953
|
+
FROM stories
|
954
|
+
WHERE iteration_id = 1
|
955
|
+
AND status = 'completed'
|
956
|
+
GROUP BY completed_date
|
957
|
+
ORDER BY completed_date[0m
|
958
|
+
Rendering template within layouts/main
|
959
|
+
Rendering iterations/show
|
960
|
+
[4;36;1mSQL (0.3ms)[0m [0;1mSELECT count(*) AS count_all FROM "stories" WHERE ("stories".iteration_id = 1) [0m
|
961
|
+
[4;35;1mStory Load (0.5ms)[0m [0mSELECT * FROM "stories" WHERE ("stories".iteration_id = 1) [0m
|
962
|
+
Rendered layouts/_meta (0.1ms)
|
963
|
+
Rendered layouts/_header (1.6ms)
|
964
|
+
Rendered layouts/_footer (0.4ms)
|
965
|
+
Completed in 329ms (View: 246, DB: 9) | 200 OK [http://localhost/iterations/1]
|
966
|
+
|
967
|
+
|
968
|
+
Processing IterationsController#show (for 127.0.0.1 at 2011-04-12 19:32:29) [GET]
|
969
|
+
Parameters: {"action"=>"show", "id"=>"1", "controller"=>"iterations"}
|
970
|
+
[4;36;1mUser Load (0.3ms)[0m [0;1mSELECT * FROM "users" WHERE ("users"."id" = 1) LIMIT 1[0m
|
971
|
+
[4;35;1mIteration Load (0.3ms)[0m [0mSELECT * FROM "iterations" WHERE ("iterations"."id" = 1) [0m
|
972
|
+
[4;36;1mStory Load (0.4ms)[0m [0;1mSELECT SUM(points) AS points,
|
973
|
+
completed_date
|
974
|
+
FROM stories
|
975
|
+
WHERE iteration_id = 1
|
976
|
+
AND status = 'completed'
|
977
|
+
GROUP BY completed_date
|
978
|
+
ORDER BY completed_date[0m
|
979
|
+
Rendering template within layouts/main
|
980
|
+
Rendering iterations/show
|
981
|
+
[4;35;1mSQL (0.3ms)[0m [0mSELECT count(*) AS count_all FROM "stories" WHERE ("stories".iteration_id = 1) [0m
|
982
|
+
[4;36;1mStory Load (0.4ms)[0m [0;1mSELECT * FROM "stories" WHERE ("stories".iteration_id = 1) [0m
|
983
|
+
Rendered layouts/_meta (0.1ms)
|
984
|
+
Rendered layouts/_header (0.7ms)
|
985
|
+
Rendered layouts/_footer (0.4ms)
|
986
|
+
Completed in 104ms (View: 26, DB: 2) | 200 OK [http://localhost/iterations/1]
|
987
|
+
|
988
|
+
|
989
|
+
Processing IterationsController#show (for 127.0.0.1 at 2011-04-12 19:32:36) [GET]
|
990
|
+
Parameters: {"action"=>"show", "id"=>"1", "controller"=>"iterations"}
|
991
|
+
[4;35;1mUser Load (0.4ms)[0m [0mSELECT * FROM "users" WHERE ("users"."id" = 1) LIMIT 1[0m
|
992
|
+
[4;36;1mIteration Load (0.3ms)[0m [0;1mSELECT * FROM "iterations" WHERE ("iterations"."id" = 1) [0m
|
993
|
+
[4;35;1mStory Load (0.4ms)[0m [0mSELECT SUM(points) AS points,
|
994
|
+
completed_date
|
995
|
+
FROM stories
|
996
|
+
WHERE iteration_id = 1
|
997
|
+
AND status = 'completed'
|
998
|
+
GROUP BY completed_date
|
999
|
+
ORDER BY completed_date[0m
|
1000
|
+
Rendering template within layouts/main
|
1001
|
+
Rendering iterations/show
|
1002
|
+
[4;36;1mSQL (0.3ms)[0m [0;1mSELECT count(*) AS count_all FROM "stories" WHERE ("stories".iteration_id = 1) [0m
|
1003
|
+
[4;35;1mStory Load (0.4ms)[0m [0mSELECT * FROM "stories" WHERE ("stories".iteration_id = 1) [0m
|
1004
|
+
Rendered layouts/_meta (0.1ms)
|
1005
|
+
Rendered layouts/_header (2.3ms)
|
1006
|
+
Rendered layouts/_footer (0.4ms)
|
1007
|
+
Completed in 331ms (View: 32, DB: 2) | 200 OK [http://localhost/iterations/1]
|
1008
|
+
|
1009
|
+
|
1010
|
+
Processing IterationsController#show (for 127.0.0.1 at 2011-04-12 19:32:54) [GET]
|
1011
|
+
Parameters: {"action"=>"show", "id"=>"1", "controller"=>"iterations"}
|
1012
|
+
[4;36;1mUser Load (0.4ms)[0m [0;1mSELECT * FROM "users" WHERE ("users"."id" = 1) LIMIT 1[0m
|
1013
|
+
[4;35;1mIteration Load (0.5ms)[0m [0mSELECT * FROM "iterations" WHERE ("iterations"."id" = 1) [0m
|
1014
|
+
[4;36;1mStory Load (0.4ms)[0m [0;1mSELECT SUM(points) AS points,
|
1015
|
+
completed_date
|
1016
|
+
FROM stories
|
1017
|
+
WHERE iteration_id = 1
|
1018
|
+
AND status = 'completed'
|
1019
|
+
GROUP BY completed_date
|
1020
|
+
ORDER BY completed_date[0m
|
1021
|
+
Rendering template within layouts/main
|
1022
|
+
Rendering iterations/show
|
1023
|
+
[4;35;1mSQL (0.5ms)[0m [0mSELECT count(*) AS count_all FROM "stories" WHERE ("stories".iteration_id = 1) [0m
|
1024
|
+
[4;36;1mStory Load (0.5ms)[0m [0;1mSELECT * FROM "stories" WHERE ("stories".iteration_id = 1) [0m
|
1025
|
+
Rendered layouts/_meta (0.1ms)
|
1026
|
+
Rendered layouts/_header (0.7ms)
|
1027
|
+
Rendered layouts/_footer (0.4ms)
|
1028
|
+
Completed in 476ms (View: 361, DB: 2) | 200 OK [http://localhost/iterations/1]
|
1029
|
+
|
1030
|
+
|
1031
|
+
Processing IterationsController#show (for 127.0.0.1 at 2011-04-12 19:33:04) [GET]
|
1032
|
+
Parameters: {"action"=>"show", "id"=>"1", "controller"=>"iterations"}
|
1033
|
+
[4;35;1mUser Load (0.4ms)[0m [0mSELECT * FROM "users" WHERE ("users"."id" = 1) LIMIT 1[0m
|
1034
|
+
[4;36;1mIteration Load (0.3ms)[0m [0;1mSELECT * FROM "iterations" WHERE ("iterations"."id" = 1) [0m
|
1035
|
+
[4;35;1mStory Load (0.4ms)[0m [0mSELECT SUM(points) AS points,
|
1036
|
+
completed_date
|
1037
|
+
FROM stories
|
1038
|
+
WHERE iteration_id = 1
|
1039
|
+
AND status = 'completed'
|
1040
|
+
GROUP BY completed_date
|
1041
|
+
ORDER BY completed_date[0m
|
1042
|
+
Rendering template within layouts/main
|
1043
|
+
Rendering iterations/show
|
1044
|
+
[4;36;1mSQL (0.3ms)[0m [0;1mSELECT count(*) AS count_all FROM "stories" WHERE ("stories".iteration_id = 1) [0m
|
1045
|
+
[4;35;1mStory Load (0.4ms)[0m [0mSELECT * FROM "stories" WHERE ("stories".iteration_id = 1) [0m
|
1046
|
+
Rendered layouts/_meta (0.1ms)
|
1047
|
+
Rendered layouts/_header (0.6ms)
|
1048
|
+
Rendered layouts/_footer (0.4ms)
|
1049
|
+
Completed in 135ms (View: 23, DB: 2) | 200 OK [http://localhost/iterations/1]
|
1050
|
+
|
1051
|
+
|
1052
|
+
Processing IterationsController#index (for 127.0.0.1 at 2011-04-15 15:26:27) [GET]
|
1053
|
+
Parameters: {"action"=>"index", "controller"=>"iterations"}
|
1054
|
+
[4;36;1mUser Load (0.5ms)[0m [0;1mSELECT * FROM "users" WHERE ("users"."id" = 1) LIMIT 1[0m
|
1055
|
+
[4;35;1mIteration Load (0.3ms)[0m [0mSELECT * FROM "iterations" [0m
|
1056
|
+
Rendering template within layouts/main
|
1057
|
+
Rendering iterations/index
|
1058
|
+
Rendered layouts/_meta (0.6ms)
|
1059
|
+
Rendered layouts/_header (5.7ms)
|
1060
|
+
Rendered layouts/_footer (23.9ms)
|
1061
|
+
Completed in 458ms (View: 360, DB: 1) | 200 OK [http://localhost/]
|
1062
|
+
|
1063
|
+
|
1064
|
+
Processing IterationsController#show (for 127.0.0.1 at 2011-04-15 15:26:32) [GET]
|
1065
|
+
Parameters: {"action"=>"show", "id"=>"1", "controller"=>"iterations"}
|
1066
|
+
[4;36;1mUser Load (0.3ms)[0m [0;1mSELECT * FROM "users" WHERE ("users"."id" = 1) LIMIT 1[0m
|
1067
|
+
[4;35;1mIteration Load (0.3ms)[0m [0mSELECT * FROM "iterations" WHERE ("iterations"."id" = 1) [0m
|
1068
|
+
[4;36;1mStory Load (0.3ms)[0m [0;1mSELECT SUM(points) AS points,
|
1069
|
+
completed_date
|
1070
|
+
FROM stories
|
1071
|
+
WHERE iteration_id = 1
|
1072
|
+
AND status = 'completed'
|
1073
|
+
GROUP BY completed_date
|
1074
|
+
ORDER BY completed_date[0m
|
1075
|
+
Rendering template within layouts/main
|
1076
|
+
Rendering iterations/show
|
1077
|
+
[4;35;1mSQL (0.2ms)[0m [0mSELECT count(*) AS count_all FROM "stories" WHERE ("stories".iteration_id = 1) [0m
|
1078
|
+
[4;36;1mStory Load (0.3ms)[0m [0;1mSELECT * FROM "stories" WHERE ("stories".iteration_id = 1) [0m
|
1079
|
+
Rendered layouts/_meta (0.1ms)
|
1080
|
+
Rendered layouts/_header (0.6ms)
|
1081
|
+
Rendered layouts/_footer (0.4ms)
|
1082
|
+
Completed in 90ms (View: 26, DB: 1) | 200 OK [http://localhost/iterations/1]
|
1083
|
+
|
1084
|
+
|
1085
|
+
Processing IterationsController#show (for 127.0.0.1 at 2011-04-15 15:47:25) [GET]
|
1086
|
+
Parameters: {"action"=>"show", "id"=>"1", "controller"=>"iterations"}
|
1087
|
+
[4;35;1mUser Load (0.9ms)[0m [0mSELECT * FROM "users" WHERE ("users"."id" = 1) LIMIT 1[0m
|
1088
|
+
[4;36;1mIteration Load (0.3ms)[0m [0;1mSELECT * FROM "iterations" WHERE ("iterations"."id" = 1) [0m
|
1089
|
+
[4;35;1mStory Load (0.9ms)[0m [0mSELECT SUM(points) AS points,
|
1090
|
+
completed_date
|
1091
|
+
FROM stories
|
1092
|
+
WHERE iteration_id = 1
|
1093
|
+
AND status = 'completed'
|
1094
|
+
OR status = 'quality_assurance'
|
1095
|
+
GROUP BY completed_date
|
1096
|
+
ORDER BY completed_date[0m
|
1097
|
+
Rendering template within layouts/main
|
1098
|
+
Rendering iterations/show
|
1099
|
+
[4;36;1mSQL (0.3ms)[0m [0;1mSELECT count(*) AS count_all FROM "stories" WHERE ("stories".iteration_id = 1) [0m
|
1100
|
+
[4;35;1mStory Load (0.3ms)[0m [0mSELECT * FROM "stories" WHERE ("stories".iteration_id = 1) [0m
|
1101
|
+
Rendered layouts/_meta (0.1ms)
|
1102
|
+
Rendered layouts/_header (0.5ms)
|
1103
|
+
Rendered layouts/_footer (0.5ms)
|
1104
|
+
Completed in 243ms (View: 32, DB: 3) | 200 OK [http://localhost/iterations/1]
|
1105
|
+
|
1106
|
+
|
1107
|
+
Processing IterationsController#index (for 127.0.0.1 at 2011-04-15 15:47:33) [GET]
|
1108
|
+
Parameters: {"action"=>"index", "controller"=>"iterations"}
|
1109
|
+
[4;36;1mUser Load (0.3ms)[0m [0;1mSELECT * FROM "users" WHERE ("users"."id" = 1) LIMIT 1[0m
|
1110
|
+
[4;35;1mIteration Load (0.3ms)[0m [0mSELECT * FROM "iterations" [0m
|
1111
|
+
Rendering template within layouts/main
|
1112
|
+
Rendering iterations/index
|
1113
|
+
Rendered layouts/_meta (0.4ms)
|
1114
|
+
Rendered layouts/_header (0.6ms)
|
1115
|
+
Rendered layouts/_footer (0.4ms)
|
1116
|
+
Completed in 93ms (View: 24, DB: 1) | 200 OK [http://localhost/iterations]
|
1117
|
+
|
1118
|
+
|
1119
|
+
Processing StoriesController#index (for 127.0.0.1 at 2011-04-15 15:47:35) [GET]
|
1120
|
+
Parameters: {"action"=>"index", "controller"=>"stories", "iteration_id"=>"1"}
|
1121
|
+
[4;36;1mUser Load (0.3ms)[0m [0;1mSELECT * FROM "users" WHERE ("users"."id" = 1) LIMIT 1[0m
|
1122
|
+
[4;35;1mIteration Load (0.3ms)[0m [0mSELECT * FROM "iterations" [0m
|
1123
|
+
[4;36;1mIteration Load (0.3ms)[0m [0;1mSELECT * FROM "iterations" WHERE ("iterations"."id" = 1) [0m
|
1124
|
+
[4;35;1mStory Load (0.5ms)[0m [0mSELECT * FROM "stories" WHERE (iteration_id = 1) [0m
|
1125
|
+
Rendering template within layouts/main
|
1126
|
+
Rendering stories/index
|
1127
|
+
[4;36;1mSQL (0.3ms)[0m [0;1mSELECT count(*) AS count_all FROM "stories" WHERE ((status = "in_progress") AND (iteration_id = 1)) [0m
|
1128
|
+
[4;35;1mSQL (0.2ms)[0m [0mSELECT count(*) AS count_all FROM "stories" WHERE ((status = "new") AND (iteration_id = 1)) [0m
|
1129
|
+
[4;36;1mSQL (0.1ms)[0m [0;1mSELECT count(*) AS count_all FROM "stories" WHERE ((status = "completed") AND (iteration_id = 1)) [0m
|
1130
|
+
[4;35;1mSQL (1.1ms)[0m [0mSELECT count(*) AS count_all FROM "stories" WHERE ((status = "quality_assurance") AND (iteration_id = 1)) [0m
|
1131
|
+
[4;36;1mStory Load (0.2ms)[0m [0;1mSELECT * FROM "stories" WHERE ((status = "in_progress") AND (iteration_id = 1)) [0m
|
1132
|
+
[4;35;1mStory Load (0.2ms)[0m [0mSELECT * FROM "stories" WHERE ((status = "quality_assurance") AND (iteration_id = 1)) [0m
|
1133
|
+
[4;36;1mStory Load (0.3ms)[0m [0;1mSELECT * FROM "stories" WHERE ((status = "new") AND (iteration_id = 1)) [0m
|
1134
|
+
[4;35;1mUser Load (0.4ms)[0m [0mSELECT * FROM "users" WHERE ("users"."id" = 1) [0m
|
1135
|
+
Rendered stories/_story (250.4ms)
|
1136
|
+
[4;36;1mCACHE (0.0ms)[0m [0;1mSELECT * FROM "users" WHERE ("users"."id" = 1) [0m
|
1137
|
+
Rendered stories/_story (14.6ms)
|
1138
|
+
[4;35;1mCACHE (0.0ms)[0m [0mSELECT count(*) AS count_all FROM "stories" WHERE ((status = "completed") AND (iteration_id = 1)) [0m
|
1139
|
+
[4;36;1mStory Load (0.4ms)[0m [0;1mSELECT * FROM "stories" WHERE ((status = "completed") AND (iteration_id = 1)) [0m
|
1140
|
+
[4;35;1mCACHE (0.0ms)[0m [0mSELECT * FROM "users" WHERE ("users"."id" = 1) [0m
|
1141
|
+
Rendered stories/_story (15.3ms)
|
1142
|
+
Rendered layouts/_meta (0.1ms)
|
1143
|
+
Rendered layouts/_header (0.6ms)
|
1144
|
+
Rendered layouts/_footer (0.4ms)
|
1145
|
+
Completed in 537ms (View: 473, DB: 5) | 200 OK [http://localhost/iterations/1/stories]
|
1146
|
+
|
1147
|
+
|
1148
|
+
Processing StoriesController#update to js (for 127.0.0.1 at 2011-04-15 15:47:40) [PUT]
|
1149
|
+
Parameters: {"format"=>"js", "story"=>{"points"=>"4", "iteration_id"=>"1", "status"=>"quality_assurance"}, "action"=>"update", "authenticity_token"=>"ge3/CWFG8h+KTsAgMJwyFywYu3qQZbSHymn/zEAqR2I=", "_method"=>"PUT", "id"=>"sed-pretium-mattis-velit-at-interdum-augue-posuere", "controller"=>"stories", "iteration_id"=>"1"}
|
1150
|
+
[4;36;1mUser Load (0.3ms)[0m [0;1mSELECT * FROM "users" WHERE ("users"."id" = 1) LIMIT 1[0m
|
1151
|
+
[4;35;1mIteration Load (0.3ms)[0m [0mSELECT * FROM "iterations" [0m
|
1152
|
+
[4;36;1mIteration Load (0.3ms)[0m [0;1mSELECT * FROM "iterations" WHERE ("iterations"."id" = 1) [0m
|
1153
|
+
[4;35;1mStory Load (0.4ms)[0m [0mSELECT * FROM "stories" WHERE ("stories"."slug" = 'sed-pretium-mattis-velit-at-interdum-augue-posuere') LIMIT 1[0m
|
1154
|
+
WARNING: Can't mass-assign these protected attributes: status
|
1155
|
+
[4;36;1mStory Load (0.2ms)[0m [0;1mSELECT "stories".id FROM "stories" WHERE ("stories"."title" = 'Sed pretium mattis velit, at interdum au' AND "stories".id <> 1) LIMIT 1[0m
|
1156
|
+
[4;35;1mStory Update (0.7ms)[0m [0mUPDATE "stories" SET "updated_at" = '2011-04-15 14:47:40', "status" = 'quality_assurance' WHERE "id" = 1[0m
|
1157
|
+
Redirected to http://localhost:3000/iterations/1/stories
|
1158
|
+
Completed in 363ms (DB: 2) | 302 Found [http://localhost/iterations/1/stories/sed-pretium-mattis-velit-at-interdum-augue-posuere.js]
|
1159
|
+
|
1160
|
+
|
1161
|
+
Processing StoriesController#index (for 127.0.0.1 at 2011-04-15 15:47:40) [GET]
|
1162
|
+
Parameters: {"action"=>"index", "controller"=>"stories", "iteration_id"=>"1"}
|
1163
|
+
[4;36;1mUser Load (0.4ms)[0m [0;1mSELECT * FROM "users" WHERE ("users"."id" = 1) LIMIT 1[0m
|
1164
|
+
[4;35;1mIteration Load (0.3ms)[0m [0mSELECT * FROM "iterations" [0m
|
1165
|
+
[4;36;1mIteration Load (0.2ms)[0m [0;1mSELECT * FROM "iterations" WHERE ("iterations"."id" = 1) [0m
|
1166
|
+
[4;35;1mStory Load (0.5ms)[0m [0mSELECT * FROM "stories" WHERE (iteration_id = 1) [0m
|
1167
|
+
Rendering template within layouts/main
|
1168
|
+
Rendering stories/index
|
1169
|
+
[4;36;1mSQL (0.2ms)[0m [0;1mSELECT count(*) AS count_all FROM "stories" WHERE ((status = "in_progress") AND (iteration_id = 1)) [0m
|
1170
|
+
[4;35;1mSQL (0.2ms)[0m [0mSELECT count(*) AS count_all FROM "stories" WHERE ((status = "new") AND (iteration_id = 1)) [0m
|
1171
|
+
[4;36;1mSQL (0.1ms)[0m [0;1mSELECT count(*) AS count_all FROM "stories" WHERE ((status = "completed") AND (iteration_id = 1)) [0m
|
1172
|
+
[4;35;1mSQL (0.1ms)[0m [0mSELECT count(*) AS count_all FROM "stories" WHERE ((status = "quality_assurance") AND (iteration_id = 1)) [0m
|
1173
|
+
[4;36;1mStory Load (0.2ms)[0m [0;1mSELECT * FROM "stories" WHERE ((status = "in_progress") AND (iteration_id = 1)) [0m
|
1174
|
+
[4;35;1mStory Load (0.3ms)[0m [0mSELECT * FROM "stories" WHERE ((status = "quality_assurance") AND (iteration_id = 1)) [0m
|
1175
|
+
[4;36;1mUser Load (0.3ms)[0m [0;1mSELECT * FROM "users" WHERE ("users"."id" = 1) [0m
|
1176
|
+
Rendered stories/_story (20.5ms)
|
1177
|
+
[4;35;1mStory Load (0.4ms)[0m [0mSELECT * FROM "stories" WHERE ((status = "new") AND (iteration_id = 1)) [0m
|
1178
|
+
[4;36;1mCACHE (0.0ms)[0m [0;1mSELECT * FROM "users" WHERE ("users"."id" = 1) [0m
|
1179
|
+
Rendered stories/_story (167.1ms)
|
1180
|
+
[4;35;1mCACHE (0.0ms)[0m [0mSELECT * FROM "users" WHERE ("users"."id" = 1) [0m
|
1181
|
+
Rendered stories/_story (15.5ms)
|
1182
|
+
[4;36;1mCACHE (0.0ms)[0m [0;1mSELECT count(*) AS count_all FROM "stories" WHERE ((status = "completed") AND (iteration_id = 1)) [0m
|
1183
|
+
Rendered layouts/_meta (0.1ms)
|
1184
|
+
Rendered layouts/_header (0.6ms)
|
1185
|
+
Rendered layouts/_footer (0.4ms)
|
1186
|
+
Completed in 276ms (View: 222, DB: 3) | 200 OK [http://localhost/iterations/1/stories]
|
1187
|
+
|
1188
|
+
|
1189
|
+
Processing IterationsController#index (for 127.0.0.1 at 2011-04-15 15:47:44) [GET]
|
1190
|
+
Parameters: {"action"=>"index", "controller"=>"iterations"}
|
1191
|
+
[4;35;1mUser Load (0.3ms)[0m [0mSELECT * FROM "users" WHERE ("users"."id" = 1) LIMIT 1[0m
|
1192
|
+
[4;36;1mIteration Load (0.3ms)[0m [0;1mSELECT * FROM "iterations" [0m
|
1193
|
+
Rendering template within layouts/main
|
1194
|
+
Rendering iterations/index
|
1195
|
+
Rendered layouts/_meta (0.1ms)
|
1196
|
+
Rendered layouts/_header (0.8ms)
|
1197
|
+
Rendered layouts/_footer (0.4ms)
|
1198
|
+
Completed in 73ms (View: 26, DB: 1) | 200 OK [http://localhost/iterations]
|
1199
|
+
|
1200
|
+
|
1201
|
+
Processing IterationsController#show (for 127.0.0.1 at 2011-04-15 15:47:46) [GET]
|
1202
|
+
Parameters: {"action"=>"show", "id"=>"1", "controller"=>"iterations"}
|
1203
|
+
[4;35;1mUser Load (0.4ms)[0m [0mSELECT * FROM "users" WHERE ("users"."id" = 1) LIMIT 1[0m
|
1204
|
+
[4;36;1mIteration Load (0.3ms)[0m [0;1mSELECT * FROM "iterations" WHERE ("iterations"."id" = 1) [0m
|
1205
|
+
[4;35;1mStory Load (0.4ms)[0m [0mSELECT SUM(points) AS points,
|
1206
|
+
completed_date
|
1207
|
+
FROM stories
|
1208
|
+
WHERE iteration_id = 1
|
1209
|
+
AND status = 'completed'
|
1210
|
+
OR status = 'quality_assurance'
|
1211
|
+
GROUP BY completed_date
|
1212
|
+
ORDER BY completed_date[0m
|
1213
|
+
Rendering template within layouts/main
|
1214
|
+
Rendering iterations/show
|
1215
|
+
[4;36;1mSQL (0.3ms)[0m [0;1mSELECT count(*) AS count_all FROM "stories" WHERE ("stories".iteration_id = 1) [0m
|
1216
|
+
[4;35;1mStory Load (0.4ms)[0m [0mSELECT * FROM "stories" WHERE ("stories".iteration_id = 1) [0m
|
1217
|
+
Rendered layouts/_meta (0.1ms)
|
1218
|
+
Rendered layouts/_header (0.7ms)
|
1219
|
+
Rendered layouts/_footer (0.4ms)
|
1220
|
+
Completed in 103ms (View: 26, DB: 2) | 200 OK [http://localhost/iterations/1]
|