authic_client 0.0.3 → 0.0.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -13,8 +13,7 @@ module AuthicClient
13
13
 
14
14
  def destroy
15
15
  session[:authic_user_id] = nil
16
- #TODO: Change to PROD url
17
- redirect_path = "http://#{AuthicClient::AUTHIC_CLIENT_SUBDOMAIN}.authicstaging.com/authic_sign_out?&return_path=#{URI.escape root_url}"
16
+ redirect_path = "https://#{AuthicClient::AUTHIC_CLIENT_SUBDOMAIN}.authic.com/authic_sign_out?&return_path=#{URI.escape root_url}"
18
17
  redirect_to redirect_path
19
18
  end
20
19
  end
@@ -6,11 +6,11 @@ module AuthicClient
6
6
  end
7
7
 
8
8
  def signin_path
9
- "/auth/authic?&state=sign_in"
9
+ "/auth/authic?&authic_action=signin"
10
10
  end
11
11
 
12
12
  def signup_path
13
- "/auth/authic?&state=sign_up"
13
+ "/auth/authic?&authic_action=signup"
14
14
  end
15
15
 
16
16
  def login_required
@@ -1,3 +1,3 @@
1
1
  module AuthicClient
2
- VERSION = "0.0.3"
2
+ VERSION = "0.0.4"
3
3
  end
@@ -23,8 +23,6 @@ module ActiveRecord
23
23
 
24
24
  def inject_authic_content
25
25
  content = <<CONTENT
26
- # Setup accessible (or protected) attributes for your model
27
- attr_accessible :email, :remember_me
28
26
  include AuthicUserMixin
29
27
  CONTENT
30
28
 
@@ -42,12 +40,7 @@ CONTENT
42
40
 
43
41
  def migration_data
44
42
  <<RUBY
45
- t.string :email, :null => false, :default => ""
46
- t.datetime :created_at, :null => false
47
- t.datetime :updated_at, :null => false
48
- t.string :provider
49
- t.string :uid
50
- t.string :authic_data
43
+
51
44
  RUBY
52
45
  end
53
46
  end
@@ -1,7 +1,11 @@
1
1
  class AuthicCreate<%= table_name.camelize %> < ActiveRecord::Migration
2
2
  def change
3
3
  create_table(:<%= table_name %>) do |t|
4
- <%= migration_data -%>
4
+ t.string :email, :null => false, :default => ""
5
+ t.string :provider
6
+ t.string :uid
7
+ t.string :authic_data
8
+
5
9
 
6
10
  <% attributes.each do |attribute| -%>
7
11
  t.<%= attribute.type %> :<%= attribute.name %>
@@ -10,8 +14,10 @@ class AuthicCreate<%= table_name.camelize %> < ActiveRecord::Migration
10
14
  t.timestamps
11
15
  end
12
16
 
13
- add_index :<%= table_name %>, :email, :unique => true
14
- add_index :<%= table_name %>, :provider
17
+
18
+ add_index :<%= table_name %>, :email, :unique => true
19
+ add_index :<%= table_name %>, :provider
15
20
  add_index :<%= table_name %>, :uid
21
+
16
22
  end
17
23
  end
@@ -1,7 +1,14 @@
1
1
  class AddAuthicTo<%= table_name.camelize %> < ActiveRecord::Migration
2
2
  def self.up
3
3
  change_table(:<%= table_name %>) do |t|
4
- <%= migration_data -%>
4
+ t.string :email, :null => false, :default => "" unless t.column_exists?(:email)
5
+ t.string :provider unless t.column_exists?(:provider)
6
+ t.string :uid unless t.column_exists?(:uid)
7
+ t.string :authic_data unless t.column_exists?(:authic_data)
8
+
9
+ t.index :email, :unique => true unless t.index_exists?(:email, :unique => true)
10
+ t.index :provider unless t.index_exists?(:provider)
11
+ t.index :uid unless t.index_exists?(:uid)
5
12
 
6
13
  <% attributes.each do |attribute| -%>
7
14
  t.<%= attribute.type %> :<%= attribute.name %>
@@ -11,9 +18,6 @@ class AddAuthicTo<%= table_name.camelize %> < ActiveRecord::Migration
11
18
  # t.timestamps
12
19
  end
13
20
 
14
- add_index :<%= table_name %>, :email, :unique => true
15
- add_index :<%= table_name %>, :provider
16
- add_index :<%= table_name %>, :uid
17
21
  end
18
22
 
19
23
  def self.down
@@ -1,6 +1,6 @@
1
1
  module AuthicClient
2
2
  # Authic config
3
- AUTHIC_CLIENT_KEY ||= ENV['AUTHIC_CLIENT_KEY'] ||= 'E6FRBHNNhWDOMhubF9hfg4ibhuiHn4XMngkbXl5o'
4
- AUTHIC_CLIENT_SECRET ||= ENV['AUTHIC_CLIENT_SECRET'] ||= 'YjpvSh7KqjnpTfhZgklBQqrpFRamz7354t9GzPoj'
5
- AUTHIC_CLIENT_SUBDOMAIN ||= ENV['AUTHIC_CLIENT_SUBDOMAIN'] ||= 'dev'
3
+ AUTHIC_CLIENT_KEY ||= ENV['AUTHIC_CLIENT_KEY'] ||= '< your authic client key >'
4
+ AUTHIC_CLIENT_SECRET ||= ENV['AUTHIC_CLIENT_SECRET'] ||= '< your authic client secret >'
5
+ AUTHIC_CLIENT_SUBDOMAIN ||= ENV['AUTHIC_CLIENT_SUBDOMAIN'] ||= '< your authic subdomain >'
6
6
  end
@@ -1,6 +1,3 @@
1
1
  Rails.application.config.middleware.use OmniAuth::Builder do
2
-
3
- #TODO: Change to PROD url
4
- provider :authic, AuthicClient::AUTHIC_CLIENT_KEY, AuthicClient::AUTHIC_CLIENT_SECRET, :subdomain => AuthicClient::AUTHIC_CLIENT_SUBDOMAIN, :domain => "authicstaging.com"
5
-
2
+ provider :authic, AuthicClient::AUTHIC_CLIENT_KEY, AuthicClient::AUTHIC_CLIENT_SECRET, :subdomain => AuthicClient::AUTHIC_CLIENT_SUBDOMAIN
6
3
  end
@@ -1,6 +1,4 @@
1
1
  class User < ActiveRecord::Base
2
- # Setup accessible (or protected) attributes for your model
3
- attr_accessible :email, :remember_me
4
2
  include AuthicUserMixin
5
3
  # attr_accessible :title, :body
6
4
  end
@@ -1,6 +1,6 @@
1
1
  module AuthicClient
2
2
  # Authic config
3
- AUTHIC_CLIENT_KEY ||= ENV['AUTHIC_CLIENT_KEY'] ||= 'E6FRBHNNhWDOMhubF9hfg4ibhuiHn4XMngkbXl5o'
4
- AUTHIC_CLIENT_SECRET ||= ENV['AUTHIC_CLIENT_SECRET'] ||= 'YjpvSh7KqjnpTfhZgklBQqrpFRamz7354t9GzPoj'
5
- AUTHIC_CLIENT_SUBDOMAIN ||= ENV['AUTHIC_CLIENT_SUBDOMAIN'] ||= 'dev'
3
+ AUTHIC_CLIENT_KEY ||= ENV['AUTHIC_CLIENT_KEY'] ||= '< your authic client key >'
4
+ AUTHIC_CLIENT_SECRET ||= ENV['AUTHIC_CLIENT_SECRET'] ||= '< your authic client secret >'
5
+ AUTHIC_CLIENT_SUBDOMAIN ||= ENV['AUTHIC_CLIENT_SUBDOMAIN'] ||= '< your authic subdomain >'
6
6
  end
@@ -1,6 +1,3 @@
1
1
  Rails.application.config.middleware.use OmniAuth::Builder do
2
-
3
- #TODO: Change to PROD url
4
- provider :authic, AuthicClient::AUTHIC_CLIENT_KEY, AuthicClient::AUTHIC_CLIENT_SECRET, :subdomain => AuthicClient::AUTHIC_CLIENT_SUBDOMAIN, :domain => "authicstaging.com"
5
-
2
+ provider :authic, AuthicClient::AUTHIC_CLIENT_KEY, AuthicClient::AUTHIC_CLIENT_SECRET, :subdomain => AuthicClient::AUTHIC_CLIENT_SUBDOMAIN
6
3
  end
Binary file
@@ -0,0 +1,25 @@
1
+ class AddAuthicToUsers < ActiveRecord::Migration
2
+ def self.up
3
+ change_table(:users) do |t|
4
+ t.string :email, :null => false, :default => "" unless t.column_exists?(:email)
5
+ t.string :provider unless t.column_exists?(:provider)
6
+ t.string :uid unless t.column_exists?(:uid)
7
+ t.string :authic_data unless t.column_exists?(:authic_data)
8
+
9
+ t.index :email, :unique => true unless t.index_exists?(:email, :unique => true)
10
+ t.index :provider unless t.index_exists?(:provider)
11
+ t.index :uid unless t.index_exists?(:uid)
12
+
13
+
14
+ # Uncomment below if timestamps were not included in your original model.
15
+ # t.timestamps
16
+ end
17
+
18
+ end
19
+
20
+ def self.down
21
+ # By default, we don't want to make any assumption about how to roll back a migration when your
22
+ # model already existed. Please edit below which fields you would like to remove in this migration.
23
+ raise ActiveRecord::IrreversibleMigration
24
+ end
25
+ end
@@ -11,7 +11,7 @@
11
11
  #
12
12
  # It's strongly recommended to check this file into your version control system.
13
13
 
14
- ActiveRecord::Schema.define(:version => 20121030133646) do
14
+ ActiveRecord::Schema.define(:version => 20121105131850) do
15
15
 
16
16
  create_table "users", :force => true do |t|
17
17
  t.string "email", :default => "", :null => false
@@ -2625,3 +2625,1183 @@ Served asset /application.css - 304 Not Modified (0ms)
2625
2625
 
2626
2626
  Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-11-01 13:27:10 +1100
2627
2627
  Served asset /jquery.js - 304 Not Modified (0ms)
2628
+
2629
+
2630
+ Started GET "/" for 127.0.0.1 at 2012-11-01 18:32:03 +1100
2631
+ Connecting to database specified by database.yml
2632
+ Processing by WelcomeController#index as HTML
2633
+ Rendered welcome/index.html.erb within layouts/application (10.8ms)
2634
+ Compiled jquery.js (4ms) (pid 4280)
2635
+ Compiled jquery_ujs.js (0ms) (pid 4280)
2636
+ Compiled application.js (76ms) (pid 4280)
2637
+ Completed 200 OK in 301ms (Views: 300.1ms | ActiveRecord: 0.0ms)
2638
+
2639
+
2640
+ Started GET "/auth/authic?&authic_action=sign_in" for 127.0.0.1 at 2012-11-01 18:32:17 +1100
2641
+
2642
+
2643
+ Started GET "/" for 127.0.0.1 at 2012-11-01 18:58:22 +1100
2644
+ Connecting to database specified by database.yml
2645
+ Processing by WelcomeController#index as HTML
2646
+ Rendered welcome/index.html.erb within layouts/application (10.3ms)
2647
+ Completed 200 OK in 86ms (Views: 85.8ms | ActiveRecord: 0.0ms)
2648
+
2649
+
2650
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-11-01 18:58:22 +1100
2651
+ Served asset /application.css - 304 Not Modified (3ms)
2652
+
2653
+
2654
+ Started GET "/assets/welcome.css?body=1" for 127.0.0.1 at 2012-11-01 18:58:22 +1100
2655
+ Served asset /welcome.css - 304 Not Modified (3ms)
2656
+
2657
+
2658
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-11-01 18:58:22 +1100
2659
+ Served asset /jquery.js - 304 Not Modified (3ms)
2660
+
2661
+
2662
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-11-01 18:58:22 +1100
2663
+ Served asset /jquery_ujs.js - 304 Not Modified (2ms)
2664
+
2665
+
2666
+ Started GET "/assets/welcome.js?body=1" for 127.0.0.1 at 2012-11-01 18:58:22 +1100
2667
+ Served asset /welcome.js - 304 Not Modified (1ms)
2668
+
2669
+
2670
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-11-01 18:58:22 +1100
2671
+ Served asset /application.js - 304 Not Modified (33ms)
2672
+
2673
+
2674
+ Started GET "/auth/authic?&authic_action=sign_in" for 127.0.0.1 at 2012-11-01 18:58:28 +1100
2675
+
2676
+ NameError (undefined local variable or method `params' for #<OmniAuth::Strategies::Authic>):
2677
+ omniauth-authic (0.0.1) lib/omniauth/strategies/authic.rb:30:in `request_phase'
2678
+ omniauth (1.1.1) lib/omniauth/strategy.rb:207:in `request_call'
2679
+ omniauth (1.1.1) lib/omniauth/strategy.rb:174:in `call!'
2680
+ omniauth (1.1.1) lib/omniauth/strategy.rb:157:in `call'
2681
+ omniauth (1.1.1) lib/omniauth/builder.rb:48:in `call'
2682
+ actionpack (3.2.8) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call'
2683
+ rack (1.4.1) lib/rack/etag.rb:23:in `call'
2684
+ rack (1.4.1) lib/rack/conditionalget.rb:25:in `call'
2685
+ actionpack (3.2.8) lib/action_dispatch/middleware/head.rb:14:in `call'
2686
+ actionpack (3.2.8) lib/action_dispatch/middleware/params_parser.rb:21:in `call'
2687
+ actionpack (3.2.8) lib/action_dispatch/middleware/flash.rb:242:in `call'
2688
+ rack (1.4.1) lib/rack/session/abstract/id.rb:205:in `context'
2689
+ rack (1.4.1) lib/rack/session/abstract/id.rb:200:in `call'
2690
+ actionpack (3.2.8) lib/action_dispatch/middleware/cookies.rb:339:in `call'
2691
+ activerecord (3.2.8) lib/active_record/query_cache.rb:64:in `call'
2692
+ activerecord (3.2.8) lib/active_record/connection_adapters/abstract/connection_pool.rb:473:in `call'
2693
+ actionpack (3.2.8) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call'
2694
+ activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `_run__710357808276726006__call__1196390217333884529__callbacks'
2695
+ activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `__run_callback'
2696
+ activesupport (3.2.8) lib/active_support/callbacks.rb:385:in `_run_call_callbacks'
2697
+ activesupport (3.2.8) lib/active_support/callbacks.rb:81:in `run_callbacks'
2698
+ actionpack (3.2.8) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
2699
+ actionpack (3.2.8) lib/action_dispatch/middleware/reloader.rb:65:in `call'
2700
+ actionpack (3.2.8) lib/action_dispatch/middleware/remote_ip.rb:31:in `call'
2701
+ actionpack (3.2.8) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call'
2702
+ actionpack (3.2.8) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
2703
+ railties (3.2.8) lib/rails/rack/logger.rb:26:in `call_app'
2704
+ railties (3.2.8) lib/rails/rack/logger.rb:16:in `call'
2705
+ actionpack (3.2.8) lib/action_dispatch/middleware/request_id.rb:22:in `call'
2706
+ rack (1.4.1) lib/rack/methodoverride.rb:21:in `call'
2707
+ rack (1.4.1) lib/rack/runtime.rb:17:in `call'
2708
+ activesupport (3.2.8) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
2709
+ rack (1.4.1) lib/rack/lock.rb:15:in `call'
2710
+ actionpack (3.2.8) lib/action_dispatch/middleware/static.rb:62:in `call'
2711
+ railties (3.2.8) lib/rails/engine.rb:479:in `call'
2712
+ railties (3.2.8) lib/rails/application.rb:223:in `call'
2713
+ rack (1.4.1) lib/rack/content_length.rb:14:in `call'
2714
+ railties (3.2.8) lib/rails/rack/log_tailer.rb:17:in `call'
2715
+ rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service'
2716
+ /Users/ctrand/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/1.9.1/webrick/httpserver.rb:111:in `service'
2717
+ /Users/ctrand/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/1.9.1/webrick/httpserver.rb:70:in `run'
2718
+ /Users/ctrand/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/1.9.1/webrick/server.rb:183:in `block in start_thread'
2719
+
2720
+
2721
+ Rendered /Users/ctrand/.rvm/gems/ruby-1.9.2-p180@test-app/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.2ms)
2722
+ Rendered /Users/ctrand/.rvm/gems/ruby-1.9.2-p180@test-app/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.2ms)
2723
+ Rendered /Users/ctrand/.rvm/gems/ruby-1.9.2-p180@test-app/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (10.5ms)
2724
+
2725
+
2726
+ Started GET "/" for 127.0.0.1 at 2012-11-01 19:00:09 +1100
2727
+ Connecting to database specified by database.yml
2728
+ Processing by WelcomeController#index as HTML
2729
+ Rendered welcome/index.html.erb within layouts/application (9.8ms)
2730
+ Completed 200 OK in 54ms (Views: 54.0ms | ActiveRecord: 0.0ms)
2731
+
2732
+
2733
+ Started GET "/assets/welcome.css?body=1" for 127.0.0.1 at 2012-11-01 19:00:09 +1100
2734
+ Served asset /welcome.css - 304 Not Modified (2ms)
2735
+
2736
+
2737
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-11-01 19:00:09 +1100
2738
+ Served asset /application.css - 304 Not Modified (5ms)
2739
+
2740
+
2741
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-11-01 19:00:09 +1100
2742
+ Served asset /jquery.js - 304 Not Modified (3ms)
2743
+
2744
+
2745
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-11-01 19:00:09 +1100
2746
+ Served asset /jquery_ujs.js - 304 Not Modified (2ms)
2747
+
2748
+
2749
+ Started GET "/assets/welcome.js?body=1" for 127.0.0.1 at 2012-11-01 19:00:09 +1100
2750
+ Served asset /welcome.js - 304 Not Modified (2ms)
2751
+
2752
+
2753
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-11-01 19:00:09 +1100
2754
+ Served asset /application.js - 304 Not Modified (37ms)
2755
+
2756
+
2757
+ Started GET "/auth/authic?&authic_action=sign_in" for 127.0.0.1 at 2012-11-01 19:00:11 +1100
2758
+
2759
+ NoMethodError (undefined method `[]=' for nil:NilClass):
2760
+ actionpack (3.2.8) lib/action_dispatch/middleware/best_standards_support.rb:18:in `call'
2761
+ rack (1.4.1) lib/rack/etag.rb:23:in `call'
2762
+ rack (1.4.1) lib/rack/conditionalget.rb:25:in `call'
2763
+ actionpack (3.2.8) lib/action_dispatch/middleware/head.rb:14:in `call'
2764
+ actionpack (3.2.8) lib/action_dispatch/middleware/params_parser.rb:21:in `call'
2765
+ actionpack (3.2.8) lib/action_dispatch/middleware/flash.rb:242:in `call'
2766
+ rack (1.4.1) lib/rack/session/abstract/id.rb:205:in `context'
2767
+ rack (1.4.1) lib/rack/session/abstract/id.rb:200:in `call'
2768
+ actionpack (3.2.8) lib/action_dispatch/middleware/cookies.rb:339:in `call'
2769
+ activerecord (3.2.8) lib/active_record/query_cache.rb:64:in `call'
2770
+ activerecord (3.2.8) lib/active_record/connection_adapters/abstract/connection_pool.rb:473:in `call'
2771
+ actionpack (3.2.8) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call'
2772
+ activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `_run__3722487843636333027__call__1860434727049799039__callbacks'
2773
+ activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `__run_callback'
2774
+ activesupport (3.2.8) lib/active_support/callbacks.rb:385:in `_run_call_callbacks'
2775
+ activesupport (3.2.8) lib/active_support/callbacks.rb:81:in `run_callbacks'
2776
+ actionpack (3.2.8) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
2777
+ actionpack (3.2.8) lib/action_dispatch/middleware/reloader.rb:65:in `call'
2778
+ actionpack (3.2.8) lib/action_dispatch/middleware/remote_ip.rb:31:in `call'
2779
+ actionpack (3.2.8) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call'
2780
+ actionpack (3.2.8) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
2781
+ railties (3.2.8) lib/rails/rack/logger.rb:26:in `call_app'
2782
+ railties (3.2.8) lib/rails/rack/logger.rb:16:in `call'
2783
+ actionpack (3.2.8) lib/action_dispatch/middleware/request_id.rb:22:in `call'
2784
+ rack (1.4.1) lib/rack/methodoverride.rb:21:in `call'
2785
+ rack (1.4.1) lib/rack/runtime.rb:17:in `call'
2786
+ activesupport (3.2.8) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
2787
+ rack (1.4.1) lib/rack/lock.rb:15:in `call'
2788
+ actionpack (3.2.8) lib/action_dispatch/middleware/static.rb:62:in `call'
2789
+ railties (3.2.8) lib/rails/engine.rb:479:in `call'
2790
+ railties (3.2.8) lib/rails/application.rb:223:in `call'
2791
+ rack (1.4.1) lib/rack/content_length.rb:14:in `call'
2792
+ railties (3.2.8) lib/rails/rack/log_tailer.rb:17:in `call'
2793
+ rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service'
2794
+ /Users/ctrand/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/1.9.1/webrick/httpserver.rb:111:in `service'
2795
+ /Users/ctrand/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/1.9.1/webrick/httpserver.rb:70:in `run'
2796
+ /Users/ctrand/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/1.9.1/webrick/server.rb:183:in `block in start_thread'
2797
+
2798
+
2799
+ Rendered /Users/ctrand/.rvm/gems/ruby-1.9.2-p180@test-app/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.2ms)
2800
+ Rendered /Users/ctrand/.rvm/gems/ruby-1.9.2-p180@test-app/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (0.9ms)
2801
+ Rendered /Users/ctrand/.rvm/gems/ruby-1.9.2-p180@test-app/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (7.6ms)
2802
+
2803
+
2804
+ Started GET "/" for 127.0.0.1 at 2012-11-01 19:01:48 +1100
2805
+ Connecting to database specified by database.yml
2806
+ Processing by WelcomeController#index as HTML
2807
+ Rendered welcome/index.html.erb within layouts/application (10.0ms)
2808
+ Completed 200 OK in 56ms (Views: 55.2ms | ActiveRecord: 0.0ms)
2809
+
2810
+
2811
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-11-01 19:01:49 +1100
2812
+ Served asset /jquery.js - 304 Not Modified (13ms)
2813
+
2814
+
2815
+ Started GET "/assets/welcome.css?body=1" for 127.0.0.1 at 2012-11-01 19:01:49 +1100
2816
+ Served asset /welcome.css - 304 Not Modified (2ms)
2817
+
2818
+
2819
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-11-01 19:01:49 +1100
2820
+ Served asset /jquery_ujs.js - 304 Not Modified (2ms)
2821
+
2822
+
2823
+ Started GET "/assets/welcome.js?body=1" for 127.0.0.1 at 2012-11-01 19:01:49 +1100
2824
+ Served asset /welcome.js - 304 Not Modified (1ms)
2825
+
2826
+
2827
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-11-01 19:01:49 +1100
2828
+ Served asset /application.js - 304 Not Modified (39ms)
2829
+
2830
+
2831
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-11-01 19:01:49 +1100
2832
+ Served asset /application.css - 304 Not Modified (3ms)
2833
+
2834
+
2835
+ Started GET "/auth/authic?&authic_action=sign_in" for 127.0.0.1 at 2012-11-01 19:01:50 +1100
2836
+
2837
+
2838
+ Started GET "/" for 127.0.0.1 at 2012-11-01 19:04:58 +1100
2839
+ Connecting to database specified by database.yml
2840
+ Processing by WelcomeController#index as HTML
2841
+ Rendered welcome/index.html.erb within layouts/application (10.3ms)
2842
+ Completed 200 OK in 56ms (Views: 55.1ms | ActiveRecord: 0.0ms)
2843
+
2844
+
2845
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-11-01 19:04:59 +1100
2846
+ Served asset /application.css - 304 Not Modified (10ms)
2847
+
2848
+
2849
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-11-01 19:04:59 +1100
2850
+ Served asset /jquery.js - 304 Not Modified (3ms)
2851
+
2852
+
2853
+ Started GET "/assets/welcome.css?body=1" for 127.0.0.1 at 2012-11-01 19:04:59 +1100
2854
+ Served asset /welcome.css - 304 Not Modified (2ms)
2855
+
2856
+
2857
+ Started GET "/assets/welcome.js?body=1" for 127.0.0.1 at 2012-11-01 19:04:59 +1100
2858
+ Served asset /welcome.js - 304 Not Modified (1ms)
2859
+
2860
+
2861
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-11-01 19:04:59 +1100
2862
+ Served asset /jquery_ujs.js - 304 Not Modified (31ms)
2863
+
2864
+
2865
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-11-01 19:04:59 +1100
2866
+ Served asset /application.js - 304 Not Modified (5ms)
2867
+
2868
+
2869
+ Started GET "/auth/authic?&authic_action=sign_in" for 127.0.0.1 at 2012-11-01 19:05:05 +1100
2870
+
2871
+
2872
+ Started GET "/auth/authic?&authic_action=sign_in" for 127.0.0.1 at 2012-11-01 19:05:40 +1100
2873
+
2874
+
2875
+ Started GET "/auth/authic?&authic_action=sign_in" for 127.0.0.1 at 2012-11-01 19:05:59 +1100
2876
+
2877
+
2878
+ Started GET "/" for 127.0.0.1 at 2012-11-01 19:08:14 +1100
2879
+ Connecting to database specified by database.yml
2880
+ Processing by WelcomeController#index as HTML
2881
+ Rendered welcome/index.html.erb within layouts/application (10.1ms)
2882
+ Completed 200 OK in 56ms (Views: 55.1ms | ActiveRecord: 0.0ms)
2883
+
2884
+
2885
+ Started GET "/assets/welcome.css?body=1" for 127.0.0.1 at 2012-11-01 19:08:14 +1100
2886
+ Served asset /welcome.css - 304 Not Modified (2ms)
2887
+
2888
+
2889
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-11-01 19:08:14 +1100
2890
+ Served asset /application.css - 304 Not Modified (3ms)
2891
+
2892
+
2893
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-11-01 19:08:14 +1100
2894
+ Served asset /jquery.js - 304 Not Modified (4ms)
2895
+
2896
+
2897
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-11-01 19:08:14 +1100
2898
+ Served asset /jquery_ujs.js - 304 Not Modified (2ms)
2899
+
2900
+
2901
+ Started GET "/assets/welcome.js?body=1" for 127.0.0.1 at 2012-11-01 19:08:14 +1100
2902
+ Served asset /welcome.js - 304 Not Modified (2ms)
2903
+
2904
+
2905
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-11-01 19:08:14 +1100
2906
+ Served asset /application.js - 304 Not Modified (40ms)
2907
+
2908
+
2909
+ Started GET "/auth/authic?&authic_action=sign_in" for 127.0.0.1 at 2012-11-01 19:08:16 +1100
2910
+
2911
+
2912
+ Started GET "/" for 127.0.0.1 at 2012-11-01 19:24:22 +1100
2913
+ Processing by WelcomeController#index as HTML
2914
+ Rendered welcome/index.html.erb within layouts/application (0.2ms)
2915
+ Completed 200 OK in 6ms (Views: 5.9ms | ActiveRecord: 0.0ms)
2916
+
2917
+
2918
+ Started GET "/assets/welcome.css?body=1" for 127.0.0.1 at 2012-11-01 19:24:22 +1100
2919
+ Served asset /welcome.css - 304 Not Modified (0ms)
2920
+
2921
+
2922
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-11-01 19:24:22 +1100
2923
+ Served asset /jquery.js - 304 Not Modified (0ms)
2924
+
2925
+
2926
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-11-01 19:24:22 +1100
2927
+ Served asset /application.css - 304 Not Modified (0ms)
2928
+
2929
+
2930
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-11-01 19:24:22 +1100
2931
+ Served asset /jquery_ujs.js - 304 Not Modified (0ms)
2932
+
2933
+
2934
+ Started GET "/assets/welcome.js?body=1" for 127.0.0.1 at 2012-11-01 19:24:22 +1100
2935
+ Served asset /welcome.js - 304 Not Modified (0ms)
2936
+
2937
+
2938
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-11-01 19:24:22 +1100
2939
+ Served asset /application.js - 304 Not Modified (0ms)
2940
+
2941
+
2942
+ Started GET "/auth/authic?&authic_action=sign_in" for 127.0.0.1 at 2012-11-01 19:24:25 +1100
2943
+
2944
+
2945
+ Started GET "/auth/authic?&authic_action=sign_up" for 127.0.0.1 at 2012-11-01 19:24:32 +1100
2946
+
2947
+
2948
+ Started GET "/" for 127.0.0.1 at 2012-11-01 19:25:19 +1100
2949
+ Processing by WelcomeController#index as HTML
2950
+ Rendered welcome/index.html.erb within layouts/application (0.2ms)
2951
+ Completed 200 OK in 5ms (Views: 4.4ms | ActiveRecord: 0.0ms)
2952
+
2953
+
2954
+ Started GET "/assets/welcome.css?body=1" for 127.0.0.1 at 2012-11-01 19:25:19 +1100
2955
+ Served asset /welcome.css - 304 Not Modified (0ms)
2956
+
2957
+
2958
+ Started GET "/assets/welcome.js?body=1" for 127.0.0.1 at 2012-11-01 19:25:19 +1100
2959
+ Served asset /welcome.js - 304 Not Modified (0ms)
2960
+
2961
+
2962
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-11-01 19:25:19 +1100
2963
+ Served asset /jquery.js - 304 Not Modified (0ms)
2964
+
2965
+
2966
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-11-01 19:25:19 +1100
2967
+ Served asset /application.css - 304 Not Modified (0ms)
2968
+
2969
+
2970
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-11-01 19:25:19 +1100
2971
+ Served asset /jquery_ujs.js - 304 Not Modified (0ms)
2972
+
2973
+
2974
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-11-01 19:25:19 +1100
2975
+ Served asset /application.js - 304 Not Modified (0ms)
2976
+
2977
+
2978
+ Started GET "/auth/authic?&authic_action=sign_up" for 127.0.0.1 at 2012-11-01 19:25:21 +1100
2979
+
2980
+
2981
+ Started GET "/" for 127.0.0.1 at 2012-11-01 19:25:51 +1100
2982
+ Processing by WelcomeController#index as HTML
2983
+ Rendered welcome/index.html.erb within layouts/application (0.2ms)
2984
+ Completed 200 OK in 5ms (Views: 4.9ms | ActiveRecord: 0.0ms)
2985
+
2986
+
2987
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-11-01 19:25:51 +1100
2988
+ Served asset /application.css - 304 Not Modified (0ms)
2989
+
2990
+
2991
+ Started GET "/assets/welcome.css?body=1" for 127.0.0.1 at 2012-11-01 19:25:51 +1100
2992
+ Served asset /welcome.css - 304 Not Modified (2ms)
2993
+
2994
+
2995
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-11-01 19:25:51 +1100
2996
+ Served asset /jquery.js - 304 Not Modified (0ms)
2997
+
2998
+
2999
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-11-01 19:25:51 +1100
3000
+ Served asset /jquery_ujs.js - 304 Not Modified (0ms)
3001
+
3002
+
3003
+ Started GET "/assets/welcome.js?body=1" for 127.0.0.1 at 2012-11-01 19:25:51 +1100
3004
+ Served asset /welcome.js - 304 Not Modified (0ms)
3005
+
3006
+
3007
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-11-01 19:25:51 +1100
3008
+ Served asset /application.js - 304 Not Modified (0ms)
3009
+
3010
+
3011
+ Started GET "/auth/authic?&authic_action=signin" for 127.0.0.1 at 2012-11-01 19:25:53 +1100
3012
+
3013
+
3014
+ Started GET "/auth/authic?&authic_action=signup" for 127.0.0.1 at 2012-11-01 19:25:57 +1100
3015
+
3016
+
3017
+ Started GET "/" for 127.0.0.1 at 2012-11-01 19:30:20 +1100
3018
+ Processing by WelcomeController#index as HTML
3019
+ Rendered welcome/index.html.erb within layouts/application (0.2ms)
3020
+ Completed 200 OK in 5ms (Views: 4.8ms | ActiveRecord: 0.0ms)
3021
+
3022
+
3023
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-11-01 19:30:20 +1100
3024
+ Served asset /application.css - 304 Not Modified (2ms)
3025
+
3026
+
3027
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-11-01 19:30:20 +1100
3028
+ Served asset /jquery.js - 304 Not Modified (0ms)
3029
+
3030
+
3031
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-11-01 19:30:20 +1100
3032
+ Served asset /jquery_ujs.js - 304 Not Modified (0ms)
3033
+
3034
+
3035
+ Started GET "/assets/welcome.css?body=1" for 127.0.0.1 at 2012-11-01 19:30:20 +1100
3036
+ Served asset /welcome.css - 304 Not Modified (0ms)
3037
+
3038
+
3039
+ Started GET "/assets/welcome.js?body=1" for 127.0.0.1 at 2012-11-01 19:30:20 +1100
3040
+ Served asset /welcome.js - 304 Not Modified (0ms)
3041
+
3042
+
3043
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-11-01 19:30:20 +1100
3044
+ Served asset /application.js - 304 Not Modified (0ms)
3045
+
3046
+
3047
+ Started GET "/auth/authic?&authic_action=signup" for 127.0.0.1 at 2012-11-01 19:30:22 +1100
3048
+
3049
+
3050
+ Started GET "/" for 127.0.0.1 at 2012-11-01 19:53:38 +1100
3051
+ Processing by WelcomeController#index as HTML
3052
+ Rendered welcome/index.html.erb within layouts/application (0.2ms)
3053
+ Completed 200 OK in 5ms (Views: 4.6ms | ActiveRecord: 0.0ms)
3054
+
3055
+
3056
+ Started GET "/assets/welcome.css?body=1" for 127.0.0.1 at 2012-11-01 19:53:39 +1100
3057
+ Served asset /welcome.css - 304 Not Modified (0ms)
3058
+
3059
+
3060
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-11-01 19:53:39 +1100
3061
+ Served asset /application.css - 304 Not Modified (0ms)
3062
+
3063
+
3064
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-11-01 19:53:39 +1100
3065
+ Served asset /jquery_ujs.js - 304 Not Modified (0ms)
3066
+
3067
+
3068
+ Started GET "/assets/welcome.js?body=1" for 127.0.0.1 at 2012-11-01 19:53:39 +1100
3069
+ Served asset /welcome.js - 304 Not Modified (0ms)
3070
+
3071
+
3072
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-11-01 19:53:39 +1100
3073
+ Served asset /application.js - 304 Not Modified (0ms)
3074
+
3075
+
3076
+ Started GET "/auth/authic?&authic_action=signup" for 127.0.0.1 at 2012-11-01 19:53:40 +1100
3077
+
3078
+
3079
+ Started GET "/" for 127.0.0.1 at 2012-11-01 21:13:32 +1100
3080
+ Processing by WelcomeController#index as HTML
3081
+ Rendered welcome/index.html.erb within layouts/application (0.1ms)
3082
+ Completed 200 OK in 4ms (Views: 4.0ms | ActiveRecord: 0.0ms)
3083
+
3084
+
3085
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-11-01 21:13:32 +1100
3086
+ Served asset /application.css - 304 Not Modified (0ms)
3087
+
3088
+
3089
+ Started GET "/assets/welcome.css?body=1" for 127.0.0.1 at 2012-11-01 21:13:32 +1100
3090
+ Served asset /welcome.css - 304 Not Modified (0ms)
3091
+
3092
+
3093
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-11-01 21:13:32 +1100
3094
+ Served asset /jquery_ujs.js - 304 Not Modified (0ms)
3095
+
3096
+
3097
+ Started GET "/assets/welcome.js?body=1" for 127.0.0.1 at 2012-11-01 21:13:32 +1100
3098
+ Served asset /welcome.js - 304 Not Modified (0ms)
3099
+
3100
+
3101
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-11-01 21:13:32 +1100
3102
+ Served asset /application.js - 304 Not Modified (0ms)
3103
+
3104
+
3105
+ Started GET "/auth/authic?&authic_action=signup" for 127.0.0.1 at 2012-11-01 21:13:34 +1100
3106
+
3107
+
3108
+ Started GET "/auth/authic?&authic_action=signin" for 127.0.0.1 at 2012-11-01 21:13:52 +1100
3109
+
3110
+
3111
+ Started GET "/auth/authic/callback?code=wJiYwRhoQe6zqj6Ygas8&state=2c2885a2c2d922cdaa82a966c1895e87f1e0280a6d71fb6f" for 127.0.0.1 at 2012-11-01 21:14:02 +1100
3112
+ Processing by AuthicClient::SessionsController#create as HTML
3113
+ Parameters: {"code"=>"wJiYwRhoQe6zqj6Ygas8", "state"=>"2c2885a2c2d922cdaa82a966c1895e87f1e0280a6d71fb6f"}
3114
+ User Load (10.7ms) SELECT "users".* FROM "users" WHERE "users"."provider" = 'authic' AND "users"."uid" = 4 LIMIT 1
3115
+ Redirected to http://localhost:3001/
3116
+ Completed 302 Found in 149ms (ActiveRecord: 17.8ms)
3117
+
3118
+
3119
+ Started GET "/" for 127.0.0.1 at 2012-11-01 21:14:04 +1100
3120
+ Processing by WelcomeController#index as HTML
3121
+ User Load (29.7ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
3122
+ Rendered welcome/index.html.erb within layouts/application (31.6ms)
3123
+ Completed 200 OK in 36ms (Views: 6.2ms | ActiveRecord: 29.7ms)
3124
+
3125
+
3126
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-11-01 21:14:04 +1100
3127
+ Served asset /jquery.js - 304 Not Modified (0ms)
3128
+
3129
+
3130
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-11-01 21:14:04 +1100
3131
+ Served asset /jquery_ujs.js - 304 Not Modified (0ms)
3132
+
3133
+
3134
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-11-01 21:14:04 +1100
3135
+ Served asset /application.css - 304 Not Modified (0ms)
3136
+
3137
+
3138
+ Started GET "/assets/welcome.js?body=1" for 127.0.0.1 at 2012-11-01 21:14:04 +1100
3139
+ Served asset /welcome.js - 304 Not Modified (0ms)
3140
+
3141
+
3142
+ Started GET "/assets/welcome.css?body=1" for 127.0.0.1 at 2012-11-01 21:14:04 +1100
3143
+ Served asset /welcome.css - 304 Not Modified (0ms)
3144
+
3145
+
3146
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-11-01 21:14:04 +1100
3147
+ Served asset /application.js - 304 Not Modified (0ms)
3148
+
3149
+
3150
+ Started GET "/signout" for 127.0.0.1 at 2012-11-01 21:14:07 +1100
3151
+ Processing by AuthicClient::SessionsController#destroy as HTML
3152
+ Redirected to http://dev.authicstaging.com/authic_sign_out?&return_path=http://localhost:3001/
3153
+ Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
3154
+
3155
+
3156
+ Started GET "/" for 127.0.0.1 at 2012-11-01 21:14:08 +1100
3157
+ Processing by WelcomeController#index as HTML
3158
+ Rendered welcome/index.html.erb within layouts/application (0.1ms)
3159
+ Completed 200 OK in 4ms (Views: 4.2ms | ActiveRecord: 0.0ms)
3160
+
3161
+
3162
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-11-01 21:14:08 +1100
3163
+ Served asset /application.css - 304 Not Modified (0ms)
3164
+
3165
+
3166
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-11-01 21:14:08 +1100
3167
+ Served asset /jquery.js - 304 Not Modified (0ms)
3168
+
3169
+
3170
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-11-01 21:14:08 +1100
3171
+ Served asset /jquery_ujs.js - 304 Not Modified (0ms)
3172
+
3173
+
3174
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-11-01 21:14:08 +1100
3175
+ Served asset /application.js - 304 Not Modified (0ms)
3176
+
3177
+
3178
+ Started GET "/assets/welcome.css?body=1" for 127.0.0.1 at 2012-11-01 21:14:08 +1100
3179
+ Served asset /welcome.css - 304 Not Modified (0ms)
3180
+
3181
+
3182
+ Started GET "/assets/welcome.js?body=1" for 127.0.0.1 at 2012-11-01 21:14:08 +1100
3183
+ Served asset /welcome.js - 304 Not Modified (0ms)
3184
+
3185
+
3186
+ Started GET "/auth/authic?&authic_action=signup" for 127.0.0.1 at 2012-11-01 21:14:09 +1100
3187
+
3188
+
3189
+ Started GET "/auth/authic/callback?code=yQX3WuII0RCkwPN06Pla" for 127.0.0.1 at 2012-11-01 21:14:29 +1100
3190
+
3191
+ OmniAuth::Strategies::OAuth2::CallbackError (OmniAuth::Strategies::OAuth2::CallbackError):
3192
+ omniauth-oauth2 (1.1.1) lib/omniauth/strategies/oauth2.rb:71:in `callback_phase'
3193
+ omniauth (1.1.1) lib/omniauth/strategy.rb:219:in `callback_call'
3194
+ omniauth (1.1.1) lib/omniauth/strategy.rb:175:in `call!'
3195
+ omniauth (1.1.1) lib/omniauth/strategy.rb:157:in `call'
3196
+ omniauth (1.1.1) lib/omniauth/builder.rb:48:in `call'
3197
+ actionpack (3.2.8) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call'
3198
+ rack (1.4.1) lib/rack/etag.rb:23:in `call'
3199
+ rack (1.4.1) lib/rack/conditionalget.rb:25:in `call'
3200
+ actionpack (3.2.8) lib/action_dispatch/middleware/head.rb:14:in `call'
3201
+ actionpack (3.2.8) lib/action_dispatch/middleware/params_parser.rb:21:in `call'
3202
+ actionpack (3.2.8) lib/action_dispatch/middleware/flash.rb:242:in `call'
3203
+ rack (1.4.1) lib/rack/session/abstract/id.rb:205:in `context'
3204
+ rack (1.4.1) lib/rack/session/abstract/id.rb:200:in `call'
3205
+ actionpack (3.2.8) lib/action_dispatch/middleware/cookies.rb:339:in `call'
3206
+ activerecord (3.2.8) lib/active_record/query_cache.rb:64:in `call'
3207
+ activerecord (3.2.8) lib/active_record/connection_adapters/abstract/connection_pool.rb:473:in `call'
3208
+ actionpack (3.2.8) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call'
3209
+ activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `_run__4157688648346580361__call__2240588423302489169__callbacks'
3210
+ activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `__run_callback'
3211
+ activesupport (3.2.8) lib/active_support/callbacks.rb:385:in `_run_call_callbacks'
3212
+ activesupport (3.2.8) lib/active_support/callbacks.rb:81:in `run_callbacks'
3213
+ actionpack (3.2.8) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
3214
+ actionpack (3.2.8) lib/action_dispatch/middleware/reloader.rb:65:in `call'
3215
+ actionpack (3.2.8) lib/action_dispatch/middleware/remote_ip.rb:31:in `call'
3216
+ actionpack (3.2.8) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call'
3217
+ actionpack (3.2.8) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
3218
+ railties (3.2.8) lib/rails/rack/logger.rb:26:in `call_app'
3219
+ railties (3.2.8) lib/rails/rack/logger.rb:16:in `call'
3220
+ actionpack (3.2.8) lib/action_dispatch/middleware/request_id.rb:22:in `call'
3221
+ rack (1.4.1) lib/rack/methodoverride.rb:21:in `call'
3222
+ rack (1.4.1) lib/rack/runtime.rb:17:in `call'
3223
+ activesupport (3.2.8) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
3224
+ rack (1.4.1) lib/rack/lock.rb:15:in `call'
3225
+ actionpack (3.2.8) lib/action_dispatch/middleware/static.rb:62:in `call'
3226
+ railties (3.2.8) lib/rails/engine.rb:479:in `call'
3227
+ railties (3.2.8) lib/rails/application.rb:223:in `call'
3228
+ rack (1.4.1) lib/rack/content_length.rb:14:in `call'
3229
+ railties (3.2.8) lib/rails/rack/log_tailer.rb:17:in `call'
3230
+ rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service'
3231
+ /Users/ctrand/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/1.9.1/webrick/httpserver.rb:111:in `service'
3232
+ /Users/ctrand/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/1.9.1/webrick/httpserver.rb:70:in `run'
3233
+ /Users/ctrand/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/1.9.1/webrick/server.rb:183:in `block in start_thread'
3234
+
3235
+
3236
+ Rendered /Users/ctrand/.rvm/gems/ruby-1.9.2-p180@test-app/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.2ms)
3237
+ Rendered /Users/ctrand/.rvm/gems/ruby-1.9.2-p180@test-app/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.0ms)
3238
+ Rendered /Users/ctrand/.rvm/gems/ruby-1.9.2-p180@test-app/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (9.3ms)
3239
+
3240
+
3241
+ Started GET "/" for 127.0.0.1 at 2012-11-01 21:18:16 +1100
3242
+ Processing by WelcomeController#index as HTML
3243
+ Rendered welcome/index.html.erb within layouts/application (0.2ms)
3244
+ Completed 200 OK in 7ms (Views: 4.4ms | ActiveRecord: 0.0ms)
3245
+
3246
+
3247
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-11-01 21:18:16 +1100
3248
+ Served asset /application.css - 304 Not Modified (0ms)
3249
+
3250
+
3251
+ Started GET "/assets/welcome.css?body=1" for 127.0.0.1 at 2012-11-01 21:18:16 +1100
3252
+ Served asset /welcome.css - 304 Not Modified (0ms)
3253
+
3254
+
3255
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-11-01 21:18:16 +1100
3256
+ Served asset /jquery.js - 304 Not Modified (0ms)
3257
+
3258
+
3259
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-11-01 21:18:16 +1100
3260
+ Served asset /jquery_ujs.js - 304 Not Modified (0ms)
3261
+
3262
+
3263
+ Started GET "/assets/welcome.js?body=1" for 127.0.0.1 at 2012-11-01 21:18:16 +1100
3264
+ Served asset /welcome.js - 304 Not Modified (0ms)
3265
+
3266
+
3267
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-11-01 21:18:16 +1100
3268
+ Served asset /application.js - 304 Not Modified (0ms)
3269
+
3270
+
3271
+ Started GET "/auth/authic?&authic_action=signin" for 127.0.0.1 at 2012-11-01 21:18:17 +1100
3272
+
3273
+
3274
+ Started GET "/auth/authic/callback?code=vBtHt2Zoiy9lq5BvNWrO&state=1ed0b073c7ccba3a3801204795ff8c0c2454808b9b2a274d" for 127.0.0.1 at 2012-11-01 21:18:18 +1100
3275
+ Processing by AuthicClient::SessionsController#create as HTML
3276
+ Parameters: {"code"=>"vBtHt2Zoiy9lq5BvNWrO", "state"=>"1ed0b073c7ccba3a3801204795ff8c0c2454808b9b2a274d"}
3277
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."provider" = 'authic' AND "users"."uid" = 7 LIMIT 1
3278
+  (0.0ms) begin transaction
3279
+ SQL (55.6ms) INSERT INTO "users" ("authic_data", "created_at", "email", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["authic_data", nil], ["created_at", Thu, 01 Nov 2012 10:18:20 UTC +00:00], ["email", "devtest@authic.com"], ["provider", "authic"], ["uid", 7], ["updated_at", Thu, 01 Nov 2012 10:18:20 UTC +00:00]]
3280
+  (15.0ms) commit transaction
3281
+ Redirected to http://localhost:3001/
3282
+ Completed 302 Found in 75ms (ActiveRecord: 70.8ms)
3283
+
3284
+
3285
+ Started GET "/" for 127.0.0.1 at 2012-11-01 21:18:20 +1100
3286
+ Processing by WelcomeController#index as HTML
3287
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]
3288
+ Rendered welcome/index.html.erb within layouts/application (1.4ms)
3289
+ Completed 200 OK in 6ms (Views: 5.3ms | ActiveRecord: 0.1ms)
3290
+
3291
+
3292
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-11-01 21:18:20 +1100
3293
+ Served asset /jquery.js - 304 Not Modified (0ms)
3294
+
3295
+
3296
+ Started GET "/assets/welcome.js?body=1" for 127.0.0.1 at 2012-11-01 21:18:20 +1100
3297
+ Served asset /welcome.js - 304 Not Modified (0ms)
3298
+
3299
+
3300
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-11-01 21:18:20 +1100
3301
+ Served asset /application.css - 304 Not Modified (0ms)
3302
+
3303
+
3304
+ Started GET "/assets/welcome.css?body=1" for 127.0.0.1 at 2012-11-01 21:18:20 +1100
3305
+ Served asset /welcome.css - 304 Not Modified (0ms)
3306
+
3307
+
3308
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-11-01 21:18:20 +1100
3309
+ Served asset /application.js - 304 Not Modified (0ms)
3310
+
3311
+
3312
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-11-01 21:18:20 +1100
3313
+ Served asset /jquery_ujs.js - 304 Not Modified (0ms)
3314
+
3315
+
3316
+ Started GET "/signout" for 127.0.0.1 at 2012-11-01 21:18:25 +1100
3317
+ Processing by AuthicClient::SessionsController#destroy as HTML
3318
+ Redirected to http://dev.authicstaging.com/authic_sign_out?&return_path=http://localhost:3001/
3319
+ Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
3320
+
3321
+
3322
+ Started GET "/" for 127.0.0.1 at 2012-11-01 21:18:26 +1100
3323
+ Processing by WelcomeController#index as HTML
3324
+ Rendered welcome/index.html.erb within layouts/application (0.1ms)
3325
+ Completed 200 OK in 6ms (Views: 5.5ms | ActiveRecord: 0.0ms)
3326
+
3327
+
3328
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-11-01 21:18:26 +1100
3329
+ Served asset /application.css - 304 Not Modified (0ms)
3330
+
3331
+
3332
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-11-01 21:18:26 +1100
3333
+ Served asset /jquery.js - 304 Not Modified (0ms)
3334
+
3335
+
3336
+ Started GET "/assets/welcome.js?body=1" for 127.0.0.1 at 2012-11-01 21:18:26 +1100
3337
+ Served asset /welcome.js - 304 Not Modified (0ms)
3338
+
3339
+
3340
+ Started GET "/assets/welcome.css?body=1" for 127.0.0.1 at 2012-11-01 21:18:26 +1100
3341
+ Served asset /welcome.css - 304 Not Modified (0ms)
3342
+
3343
+
3344
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-11-01 21:18:26 +1100
3345
+ Served asset /application.js - 304 Not Modified (0ms)
3346
+
3347
+
3348
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-11-01 21:18:26 +1100
3349
+ Served asset /jquery_ujs.js - 304 Not Modified (0ms)
3350
+
3351
+
3352
+ Started GET "/" for 127.0.0.1 at 2012-11-01 21:20:00 +1100
3353
+ Processing by WelcomeController#index as HTML
3354
+ Rendered welcome/index.html.erb within layouts/application (0.1ms)
3355
+ Completed 200 OK in 5ms (Views: 4.4ms | ActiveRecord: 0.0ms)
3356
+
3357
+
3358
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-11-01 21:20:00 +1100
3359
+ Served asset /application.css - 304 Not Modified (0ms)
3360
+
3361
+
3362
+ Started GET "/assets/welcome.css?body=1" for 127.0.0.1 at 2012-11-01 21:20:00 +1100
3363
+ Served asset /welcome.css - 304 Not Modified (0ms)
3364
+
3365
+
3366
+ Started GET "/assets/welcome.js?body=1" for 127.0.0.1 at 2012-11-01 21:20:00 +1100
3367
+ Served asset /welcome.js - 304 Not Modified (0ms)
3368
+
3369
+
3370
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-11-01 21:20:00 +1100
3371
+ Served asset /jquery_ujs.js - 304 Not Modified (0ms)
3372
+
3373
+
3374
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-11-01 21:20:00 +1100
3375
+ Served asset /jquery.js - 304 Not Modified (0ms)
3376
+
3377
+
3378
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-11-01 21:20:00 +1100
3379
+ Served asset /application.js - 304 Not Modified (0ms)
3380
+
3381
+
3382
+ Started GET "/auth/authic?&authic_action=signin" for 127.0.0.1 at 2012-11-01 21:20:02 +1100
3383
+
3384
+
3385
+ Started GET "/auth/authic?&authic_action=signup" for 127.0.0.1 at 2012-11-01 21:20:16 +1100
3386
+
3387
+
3388
+ Started GET "/" for 127.0.0.1 at 2012-11-01 21:24:31 +1100
3389
+ Processing by WelcomeController#index as HTML
3390
+ Rendered welcome/index.html.erb within layouts/application (0.1ms)
3391
+ Completed 200 OK in 4ms (Views: 4.2ms | ActiveRecord: 0.0ms)
3392
+
3393
+
3394
+ Started GET "/assets/welcome.css?body=1" for 127.0.0.1 at 2012-11-01 21:24:32 +1100
3395
+ Served asset /welcome.css - 304 Not Modified (4ms)
3396
+
3397
+
3398
+ Started GET "/assets/welcome.js?body=1" for 127.0.0.1 at 2012-11-01 21:24:32 +1100
3399
+ Served asset /welcome.js - 304 Not Modified (0ms)
3400
+
3401
+
3402
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-11-01 21:24:32 +1100
3403
+ Served asset /application.css - 304 Not Modified (0ms)
3404
+
3405
+
3406
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-11-01 21:24:32 +1100
3407
+ Served asset /jquery.js - 304 Not Modified (0ms)
3408
+
3409
+
3410
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-11-01 21:24:32 +1100
3411
+ Served asset /jquery_ujs.js - 304 Not Modified (0ms)
3412
+
3413
+
3414
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-11-01 21:24:32 +1100
3415
+ Served asset /application.js - 304 Not Modified (0ms)
3416
+
3417
+
3418
+ Started GET "/auth/authic?&authic_action=signin" for 127.0.0.1 at 2012-11-01 21:25:40 +1100
3419
+
3420
+
3421
+ Started GET "/auth/authic?&authic_action=signup" for 127.0.0.1 at 2012-11-01 21:25:48 +1100
3422
+
3423
+
3424
+ Started GET "/auth/authic/callback?code=dsdbBr0DbASP3cVV1WGz" for 127.0.0.1 at 2012-11-01 21:26:07 +1100
3425
+
3426
+ OmniAuth::Strategies::OAuth2::CallbackError (OmniAuth::Strategies::OAuth2::CallbackError):
3427
+ omniauth-oauth2 (1.1.1) lib/omniauth/strategies/oauth2.rb:71:in `callback_phase'
3428
+ omniauth (1.1.1) lib/omniauth/strategy.rb:219:in `callback_call'
3429
+ omniauth (1.1.1) lib/omniauth/strategy.rb:175:in `call!'
3430
+ omniauth (1.1.1) lib/omniauth/strategy.rb:157:in `call'
3431
+ omniauth (1.1.1) lib/omniauth/builder.rb:48:in `call'
3432
+ actionpack (3.2.8) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call'
3433
+ rack (1.4.1) lib/rack/etag.rb:23:in `call'
3434
+ rack (1.4.1) lib/rack/conditionalget.rb:25:in `call'
3435
+ actionpack (3.2.8) lib/action_dispatch/middleware/head.rb:14:in `call'
3436
+ actionpack (3.2.8) lib/action_dispatch/middleware/params_parser.rb:21:in `call'
3437
+ actionpack (3.2.8) lib/action_dispatch/middleware/flash.rb:242:in `call'
3438
+ rack (1.4.1) lib/rack/session/abstract/id.rb:205:in `context'
3439
+ rack (1.4.1) lib/rack/session/abstract/id.rb:200:in `call'
3440
+ actionpack (3.2.8) lib/action_dispatch/middleware/cookies.rb:339:in `call'
3441
+ activerecord (3.2.8) lib/active_record/query_cache.rb:64:in `call'
3442
+ activerecord (3.2.8) lib/active_record/connection_adapters/abstract/connection_pool.rb:473:in `call'
3443
+ actionpack (3.2.8) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call'
3444
+ activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `_run__4157688648346580361__call__2240588423302489169__callbacks'
3445
+ activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `__run_callback'
3446
+ activesupport (3.2.8) lib/active_support/callbacks.rb:385:in `_run_call_callbacks'
3447
+ activesupport (3.2.8) lib/active_support/callbacks.rb:81:in `run_callbacks'
3448
+ actionpack (3.2.8) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
3449
+ actionpack (3.2.8) lib/action_dispatch/middleware/reloader.rb:65:in `call'
3450
+ actionpack (3.2.8) lib/action_dispatch/middleware/remote_ip.rb:31:in `call'
3451
+ actionpack (3.2.8) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call'
3452
+ actionpack (3.2.8) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
3453
+ railties (3.2.8) lib/rails/rack/logger.rb:26:in `call_app'
3454
+ railties (3.2.8) lib/rails/rack/logger.rb:16:in `call'
3455
+ actionpack (3.2.8) lib/action_dispatch/middleware/request_id.rb:22:in `call'
3456
+ rack (1.4.1) lib/rack/methodoverride.rb:21:in `call'
3457
+ rack (1.4.1) lib/rack/runtime.rb:17:in `call'
3458
+ activesupport (3.2.8) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
3459
+ rack (1.4.1) lib/rack/lock.rb:15:in `call'
3460
+ actionpack (3.2.8) lib/action_dispatch/middleware/static.rb:62:in `call'
3461
+ railties (3.2.8) lib/rails/engine.rb:479:in `call'
3462
+ railties (3.2.8) lib/rails/application.rb:223:in `call'
3463
+ rack (1.4.1) lib/rack/content_length.rb:14:in `call'
3464
+ railties (3.2.8) lib/rails/rack/log_tailer.rb:17:in `call'
3465
+ rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service'
3466
+ /Users/ctrand/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/1.9.1/webrick/httpserver.rb:111:in `service'
3467
+ /Users/ctrand/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/1.9.1/webrick/httpserver.rb:70:in `run'
3468
+ /Users/ctrand/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/1.9.1/webrick/server.rb:183:in `block in start_thread'
3469
+
3470
+
3471
+ Rendered /Users/ctrand/.rvm/gems/ruby-1.9.2-p180@test-app/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.8ms)
3472
+ Rendered /Users/ctrand/.rvm/gems/ruby-1.9.2-p180@test-app/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.0ms)
3473
+ Rendered /Users/ctrand/.rvm/gems/ruby-1.9.2-p180@test-app/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (9.5ms)
3474
+
3475
+
3476
+ Started GET "/" for 127.0.0.1 at 2012-11-01 21:40:51 +1100
3477
+ Processing by WelcomeController#index as HTML
3478
+ Rendered welcome/index.html.erb within layouts/application (0.2ms)
3479
+ Completed 200 OK in 5ms (Views: 4.5ms | ActiveRecord: 0.0ms)
3480
+
3481
+
3482
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-11-01 21:40:51 +1100
3483
+ Served asset /application.css - 304 Not Modified (0ms)
3484
+
3485
+
3486
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-11-01 21:40:51 +1100
3487
+ Served asset /jquery.js - 304 Not Modified (0ms)
3488
+
3489
+
3490
+ Started GET "/assets/welcome.css?body=1" for 127.0.0.1 at 2012-11-01 21:40:51 +1100
3491
+ Served asset /welcome.css - 304 Not Modified (0ms)
3492
+
3493
+
3494
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-11-01 21:40:51 +1100
3495
+ Served asset /jquery_ujs.js - 304 Not Modified (0ms)
3496
+
3497
+
3498
+ Started GET "/assets/welcome.js?body=1" for 127.0.0.1 at 2012-11-01 21:40:51 +1100
3499
+ Served asset /welcome.js - 304 Not Modified (0ms)
3500
+
3501
+
3502
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-11-01 21:40:51 +1100
3503
+ Served asset /application.js - 304 Not Modified (0ms)
3504
+
3505
+
3506
+ Started GET "/auth/authic?&authic_action=signup" for 127.0.0.1 at 2012-11-01 21:40:52 +1100
3507
+
3508
+
3509
+ Started GET "/auth/authic/callback?code=9NY2eQlOoTSpyTJR1vCk&state=9fbd7e89cbadd649c3c1eac2519ed2beb6e7593768445dc5" for 127.0.0.1 at 2012-11-01 21:40:53 +1100
3510
+ Processing by AuthicClient::SessionsController#create as HTML
3511
+ Parameters: {"code"=>"9NY2eQlOoTSpyTJR1vCk", "state"=>"9fbd7e89cbadd649c3c1eac2519ed2beb6e7593768445dc5"}
3512
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."provider" = 'authic' AND "users"."uid" = 8 LIMIT 1
3513
+  (0.1ms) begin transaction
3514
+ SQL (0.6ms) INSERT INTO "users" ("authic_data", "created_at", "email", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["authic_data", nil], ["created_at", Thu, 01 Nov 2012 10:40:56 UTC +00:00], ["email", "superadmin@authic.com"], ["provider", "authic"], ["uid", 8], ["updated_at", Thu, 01 Nov 2012 10:40:56 UTC +00:00]]
3515
+  (3.7ms) commit transaction
3516
+ Redirected to http://localhost:3001/
3517
+ Completed 302 Found in 19ms (ActiveRecord: 4.9ms)
3518
+
3519
+
3520
+ Started GET "/" for 127.0.0.1 at 2012-11-01 21:40:56 +1100
3521
+ Processing by WelcomeController#index as HTML
3522
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]
3523
+ Rendered welcome/index.html.erb within layouts/application (1.9ms)
3524
+ Completed 200 OK in 6ms (Views: 6.0ms | ActiveRecord: 0.2ms)
3525
+
3526
+
3527
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-11-01 21:40:56 +1100
3528
+ Served asset /application.css - 304 Not Modified (0ms)
3529
+
3530
+
3531
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-11-01 21:40:56 +1100
3532
+ Served asset /jquery.js - 304 Not Modified (0ms)
3533
+
3534
+
3535
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-11-01 21:40:56 +1100
3536
+ Served asset /application.js - 304 Not Modified (0ms)
3537
+
3538
+
3539
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-11-01 21:40:56 +1100
3540
+ Served asset /jquery_ujs.js - 304 Not Modified (0ms)
3541
+
3542
+
3543
+ Started GET "/assets/welcome.js?body=1" for 127.0.0.1 at 2012-11-01 21:40:56 +1100
3544
+ Served asset /welcome.js - 304 Not Modified (0ms)
3545
+
3546
+
3547
+ Started GET "/assets/welcome.css?body=1" for 127.0.0.1 at 2012-11-01 21:40:56 +1100
3548
+ Served asset /welcome.css - 304 Not Modified (0ms)
3549
+
3550
+
3551
+ Started GET "/signout" for 127.0.0.1 at 2012-11-01 21:40:59 +1100
3552
+ Processing by AuthicClient::SessionsController#destroy as HTML
3553
+ Redirected to http://dev.authic.com/authic_sign_out?&return_path=http://localhost:3001/
3554
+ Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
3555
+
3556
+
3557
+ Started GET "/" for 127.0.0.1 at 2012-11-01 21:41:22 +1100
3558
+ Processing by WelcomeController#index as HTML
3559
+ Rendered welcome/index.html.erb within layouts/application (0.1ms)
3560
+ Completed 200 OK in 5ms (Views: 4.5ms | ActiveRecord: 0.0ms)
3561
+
3562
+
3563
+ Started GET "/assets/welcome.js?body=1" for 127.0.0.1 at 2012-11-01 21:41:23 +1100
3564
+ Served asset /welcome.js - 304 Not Modified (0ms)
3565
+
3566
+
3567
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-11-01 21:41:23 +1100
3568
+ Served asset /jquery.js - 304 Not Modified (0ms)
3569
+
3570
+
3571
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-11-01 21:41:23 +1100
3572
+ Served asset /application.js - 304 Not Modified (0ms)
3573
+
3574
+
3575
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-11-01 21:41:23 +1100
3576
+ Served asset /application.css - 304 Not Modified (0ms)
3577
+
3578
+
3579
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-11-01 21:41:23 +1100
3580
+ Served asset /jquery_ujs.js - 304 Not Modified (0ms)
3581
+
3582
+
3583
+ Started GET "/assets/welcome.css?body=1" for 127.0.0.1 at 2012-11-01 21:41:23 +1100
3584
+ Served asset /welcome.css - 304 Not Modified (0ms)
3585
+
3586
+
3587
+ Started GET "/auth/authic?&authic_action=signup" for 127.0.0.1 at 2012-11-01 21:41:25 +1100
3588
+
3589
+
3590
+ Started GET "/auth/authic/callback?code=wh1AJM45TgrbKkwEDtOW&state=f9154bfe72841e542e1ee0ec595de32fde7f07af27ff544d" for 127.0.0.1 at 2012-11-01 21:41:41 +1100
3591
+ Processing by AuthicClient::SessionsController#create as HTML
3592
+ Parameters: {"code"=>"wh1AJM45TgrbKkwEDtOW", "state"=>"f9154bfe72841e542e1ee0ec595de32fde7f07af27ff544d"}
3593
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."provider" = 'authic' AND "users"."uid" = 9 LIMIT 1
3594
+  (0.0ms) begin transaction
3595
+ SQL (0.5ms) INSERT INTO "users" ("authic_data", "created_at", "email", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["authic_data", nil], ["created_at", Thu, 01 Nov 2012 10:41:42 UTC +00:00], ["email", "testerguy@authic.com"], ["provider", "authic"], ["uid", 9], ["updated_at", Thu, 01 Nov 2012 10:41:42 UTC +00:00]]
3596
+  (3.6ms) commit transaction
3597
+ Redirected to http://localhost:3001/
3598
+ Completed 302 Found in 7ms (ActiveRecord: 4.3ms)
3599
+
3600
+
3601
+ Started GET "/" for 127.0.0.1 at 2012-11-01 21:41:42 +1100
3602
+ Processing by WelcomeController#index as HTML
3603
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 4]]
3604
+ Rendered welcome/index.html.erb within layouts/application (1.6ms)
3605
+ Completed 200 OK in 7ms (Views: 6.2ms | ActiveRecord: 0.1ms)
3606
+
3607
+
3608
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-11-01 21:41:42 +1100
3609
+ Served asset /application.css - 304 Not Modified (0ms)
3610
+
3611
+
3612
+ Started GET "/assets/welcome.css?body=1" for 127.0.0.1 at 2012-11-01 21:41:42 +1100
3613
+ Served asset /welcome.css - 304 Not Modified (0ms)
3614
+
3615
+
3616
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-11-01 21:41:42 +1100
3617
+ Served asset /jquery.js - 304 Not Modified (0ms)
3618
+
3619
+
3620
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-11-01 21:41:42 +1100
3621
+ Served asset /jquery_ujs.js - 304 Not Modified (0ms)
3622
+
3623
+
3624
+ Started GET "/assets/welcome.js?body=1" for 127.0.0.1 at 2012-11-01 21:41:42 +1100
3625
+ Served asset /welcome.js - 304 Not Modified (0ms)
3626
+
3627
+
3628
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-11-01 21:41:42 +1100
3629
+ Served asset /application.js - 304 Not Modified (0ms)
3630
+
3631
+
3632
+ Started GET "/signout" for 127.0.0.1 at 2012-11-01 21:42:02 +1100
3633
+ Processing by AuthicClient::SessionsController#destroy as HTML
3634
+ Redirected to http://dev.authic.com/authic_sign_out?&return_path=http://localhost:3001/
3635
+ Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
3636
+
3637
+
3638
+ Started GET "/" for 127.0.0.1 at 2012-11-01 21:42:07 +1100
3639
+ Processing by WelcomeController#index as HTML
3640
+ Rendered welcome/index.html.erb within layouts/application (0.1ms)
3641
+ Completed 200 OK in 4ms (Views: 3.9ms | ActiveRecord: 0.0ms)
3642
+
3643
+
3644
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-11-01 21:42:07 +1100
3645
+ Served asset /jquery.js - 304 Not Modified (0ms)
3646
+
3647
+
3648
+ Started GET "/assets/welcome.js?body=1" for 127.0.0.1 at 2012-11-01 21:42:07 +1100
3649
+ Served asset /welcome.js - 304 Not Modified (0ms)
3650
+
3651
+
3652
+ Started GET "/assets/welcome.css?body=1" for 127.0.0.1 at 2012-11-01 21:42:07 +1100
3653
+ Served asset /welcome.css - 304 Not Modified (0ms)
3654
+
3655
+
3656
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-11-01 21:42:07 +1100
3657
+ Served asset /application.js - 304 Not Modified (0ms)
3658
+
3659
+
3660
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-11-01 21:42:07 +1100
3661
+ Served asset /jquery_ujs.js - 304 Not Modified (0ms)
3662
+
3663
+
3664
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-11-01 21:42:07 +1100
3665
+ Served asset /application.css - 304 Not Modified (0ms)
3666
+
3667
+
3668
+ Started GET "/auth/authic?&authic_action=signin" for 127.0.0.1 at 2012-11-02 00:06:47 +1100
3669
+ Connecting to database specified by database.yml
3670
+ Connecting to database specified by database.yml
3671
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
3672
+ Migrating to AuthicCreateUsers (20121030133646)
3673
+ Migrating to AddAuthicToUsers (20121105123150)
3674
+  (0.0ms) select sqlite_version(*)
3675
+  (0.0ms) begin transaction
3676
+  (0.0ms) rollback transaction
3677
+ Connecting to database specified by database.yml
3678
+ Connecting to database specified by database.yml
3679
+ Connecting to database specified by database.yml
3680
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
3681
+ Migrating to AuthicCreateUsers (20121030133646)
3682
+ Migrating to AddAuthicToUsers (20121105123328)
3683
+  (0.0ms) select sqlite_version(*)
3684
+  (0.0ms) begin transaction
3685
+  (0.1ms) rollback transaction
3686
+ Connecting to database specified by database.yml
3687
+ Connecting to database specified by database.yml
3688
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
3689
+ Migrating to AuthicCreateUsers (20121030133646)
3690
+ Migrating to AddAuthicToUsers (20121105123428)
3691
+  (0.0ms) select sqlite_version(*)
3692
+  (0.0ms) begin transaction
3693
+  (0.1ms) rollback transaction
3694
+ Connecting to database specified by database.yml
3695
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
3696
+ Migrating to AuthicCreateUsers (20121030133646)
3697
+ Migrating to AddAuthicToUsers (20121105123428)
3698
+  (0.0ms) select sqlite_version(*)
3699
+  (0.0ms) begin transaction
3700
+  (0.0ms) rollback transaction
3701
+ Connecting to database specified by database.yml
3702
+ Connecting to database specified by database.yml
3703
+ Connecting to database specified by database.yml
3704
+ Connecting to database specified by database.yml
3705
+ Connecting to database specified by database.yml
3706
+ Connecting to database specified by database.yml
3707
+ Connecting to database specified by database.yml
3708
+ Connecting to database specified by database.yml
3709
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
3710
+ Migrating to AuthicCreateUsers (20121030133646)
3711
+ Migrating to AddAuthicToUsers (20121105125917)
3712
+  (0.0ms) select sqlite_version(*)
3713
+  (0.0ms) begin transaction
3714
+  (0.0ms) rollback transaction
3715
+ Connecting to database specified by database.yml
3716
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
3717
+ Migrating to AuthicCreateUsers (20121030133646)
3718
+ Migrating to AddAuthicToUsers (20121105125917)
3719
+  (0.0ms) select sqlite_version(*)
3720
+  (0.0ms) begin transaction
3721
+  (0.0ms) PRAGMA index_list("users")
3722
+  (0.0ms) PRAGMA index_info('index_users_on_uid')
3723
+  (0.0ms) PRAGMA index_info('index_users_on_provider')
3724
+  (0.0ms) PRAGMA index_info('index_users_on_email')
3725
+  (0.0ms) PRAGMA index_list("users")
3726
+  (0.0ms) PRAGMA index_info('index_users_on_uid')
3727
+  (0.0ms) PRAGMA index_info('index_users_on_provider')
3728
+  (0.0ms) PRAGMA index_info('index_users_on_email')
3729
+  (0.0ms) PRAGMA index_list("users")
3730
+  (0.0ms) PRAGMA index_info('index_users_on_uid')
3731
+  (0.0ms) PRAGMA index_info('index_users_on_provider')
3732
+  (0.0ms) PRAGMA index_info('index_users_on_email')
3733
+  (26.8ms) INSERT INTO "schema_migrations" ("version") VALUES ('20121105125917')
3734
+  (15.2ms) commit transaction
3735
+  (0.3ms) select sqlite_version(*)
3736
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
3737
+  (0.0ms) PRAGMA index_list("users")
3738
+  (0.0ms) PRAGMA index_info('index_users_on_uid')
3739
+  (0.0ms) PRAGMA index_info('index_users_on_provider')
3740
+  (0.0ms) PRAGMA index_info('index_users_on_email')
3741
+ Connecting to database specified by database.yml
3742
+ Connecting to database specified by database.yml
3743
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
3744
+ Migrating to AuthicCreateUsers (20121105130047)
3745
+  (0.0ms) select sqlite_version(*)
3746
+  (0.0ms) begin transaction
3747
+  (0.0ms) rollback transaction
3748
+ Connecting to database specified by database.yml
3749
+ Connecting to database specified by database.yml
3750
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
3751
+ Migrating to AuthicCreateUsers (20121105130214)
3752
+  (0.0ms) select sqlite_version(*)
3753
+  (0.0ms) begin transaction
3754
+  (0.1ms) rollback transaction
3755
+ Connecting to database specified by database.yml
3756
+ Connecting to database specified by database.yml
3757
+ Connecting to database specified by database.yml
3758
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
3759
+ Migrating to AuthicCreateUsers (20121105131529)
3760
+  (0.0ms) select sqlite_version(*)
3761
+  (0.0ms) begin transaction
3762
+  (0.1ms) rollback transaction
3763
+ Connecting to database specified by database.yml
3764
+ Connecting to database specified by database.yml
3765
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
3766
+ Migrating to AuthicCreateUsers (20121105131728)
3767
+  (0.0ms) select sqlite_version(*)
3768
+  (0.0ms) begin transaction
3769
+  (0.2ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar(255) DEFAULT '' NOT NULL, "provider" varchar(255), "uid" varchar(255), "authic_data" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
3770
+ SQLite3::SQLException: table "users" already exists: CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar(255) DEFAULT '' NOT NULL, "provider" varchar(255), "uid" varchar(255), "authic_data" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
3771
+  (0.0ms) rollback transaction
3772
+ Connecting to database specified by database.yml
3773
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
3774
+ Migrating to AuthicCreateUsers (20121105131728)
3775
+  (0.0ms) select sqlite_version(*)
3776
+  (0.0ms) begin transaction
3777
+  (0.0ms) PRAGMA index_list("users")
3778
+  (0.1ms) PRAGMA index_info('index_users_on_uid')
3779
+  (0.0ms) PRAGMA index_info('index_users_on_provider')
3780
+  (0.0ms) PRAGMA index_info('index_users_on_email')
3781
+  (0.0ms) rollback transaction
3782
+ Connecting to database specified by database.yml
3783
+ Connecting to database specified by database.yml
3784
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
3785
+ Migrating to AddAuthicToUsers (20121105131850)
3786
+  (0.0ms) select sqlite_version(*)
3787
+  (0.0ms) begin transaction
3788
+  (0.0ms) PRAGMA index_list("users")
3789
+  (0.0ms) PRAGMA index_info('index_users_on_uid')
3790
+  (0.0ms) PRAGMA index_info('index_users_on_provider')
3791
+  (0.0ms) PRAGMA index_info('index_users_on_email')
3792
+  (0.0ms) PRAGMA index_list("users")
3793
+  (0.0ms) PRAGMA index_info('index_users_on_uid')
3794
+  (0.0ms) PRAGMA index_info('index_users_on_provider')
3795
+  (0.0ms) PRAGMA index_info('index_users_on_email')
3796
+  (0.0ms) PRAGMA index_list("users")
3797
+  (0.0ms) PRAGMA index_info('index_users_on_uid')
3798
+  (0.0ms) PRAGMA index_info('index_users_on_provider')
3799
+  (0.0ms) PRAGMA index_info('index_users_on_email')
3800
+  (0.6ms) INSERT INTO "schema_migrations" ("version") VALUES ('20121105131850')
3801
+  (3.2ms) commit transaction
3802
+  (0.4ms) select sqlite_version(*)
3803
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
3804
+  (0.0ms) PRAGMA index_list("users")
3805
+  (0.1ms) PRAGMA index_info('index_users_on_uid')
3806
+  (0.0ms) PRAGMA index_info('index_users_on_provider')
3807
+  (0.0ms) PRAGMA index_info('index_users_on_email')