serializer 0.0.9 → 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (99) hide show
  1. checksums.yaml +7 -0
  2. data/README.rdoc +7 -12
  3. data/lib/serializer.rb +30 -28
  4. data/lib/serializer/initializer.rb +2 -2
  5. data/lib/serializer/railtie.rb +2 -2
  6. data/lib/serializer/version.rb +1 -1
  7. data/test/dummy/Rakefile +0 -1
  8. data/test/dummy/app/assets/stylesheets/application.css +3 -3
  9. data/test/dummy/app/controllers/application_controller.rb +1 -1
  10. data/test/dummy/app/controllers/main_controller.rb +2 -2
  11. data/test/dummy/app/controllers/users_controller.rb +17 -17
  12. data/test/dummy/app/models/account.rb +5 -3
  13. data/test/dummy/app/models/subscription.rb +3 -0
  14. data/test/dummy/app/models/user.rb +9 -7
  15. data/test/dummy/app/views/users/_form.html.haml +4 -4
  16. data/test/dummy/app/views/users/edit.html.haml +1 -1
  17. data/test/dummy/app/views/users/new.html.haml +1 -1
  18. data/test/dummy/bin/bundle +3 -0
  19. data/test/dummy/bin/rails +4 -0
  20. data/test/dummy/bin/rake +4 -0
  21. data/test/dummy/config.ru +1 -1
  22. data/test/dummy/config/application.rb +1 -34
  23. data/test/dummy/config/boot.rb +4 -9
  24. data/test/dummy/config/environment.rb +2 -2
  25. data/test/dummy/config/environments/development.rb +12 -13
  26. data/test/dummy/config/environments/production.rb +44 -24
  27. data/test/dummy/config/environments/test.rb +15 -18
  28. data/test/dummy/config/initializers/other.rb +8 -2
  29. data/test/dummy/config/routes.rb +3 -3
  30. data/test/dummy/db/development.sqlite3 +0 -0
  31. data/test/dummy/db/migrate/20110927222742_create_users.rb +1 -1
  32. data/test/dummy/db/migrate/20130207030140_create_subscriptions.rb +1 -1
  33. data/test/dummy/db/schema.rb +15 -11
  34. data/test/dummy/db/test.sqlite3 +0 -0
  35. data/test/dummy/log/development.log +109 -2307
  36. data/test/dummy/log/test.log +10981 -13387
  37. data/test/dummy/test/fixtures/users.yml +1 -1
  38. data/test/dummy/test/functional/main_controller_test.rb +1 -1
  39. data/test/dummy/test/functional/users_controller_test.rb +3 -3
  40. data/test/dummy/test/integration/user_create_test.rb +5 -5
  41. data/test/dummy/test/integration/user_update_test.rb +5 -5
  42. data/test/dummy/test/unit/account_test.rb +6 -6
  43. data/test/dummy/test/unit/user_test.rb +30 -30
  44. data/test/dummy/tmp/cache/assets/{D65/FC0/sprockets%2F650c155de4459a33bb5cc75d0cabc738 → development/sprockets/08ccbef19db178234499204fd36c0915} +0 -0
  45. data/test/dummy/tmp/cache/assets/development/sprockets/13fe41fee1fe35b49d145bcc06610705 +0 -0
  46. data/test/dummy/tmp/cache/assets/{DDC/400/sprockets%2Fcffd775d018f68ce5dba1ee0d951a994 → development/sprockets/2f5173deea6c795b8fdde723bb4b63af} +0 -0
  47. data/test/dummy/tmp/cache/assets/development/sprockets/357970feca3ac29060c1e3861e2c0953 +0 -0
  48. data/test/dummy/tmp/cache/assets/development/sprockets/7682e37e0736cf2b209545cf7af4dc29 +0 -0
  49. data/test/dummy/tmp/cache/assets/{DBA/C70/sprockets%2F393a0a1b56d0da607ff53aa2fdb9ec31 → development/sprockets/88e88b185ff5a542c97cbb3b475e608d} +0 -0
  50. data/test/dummy/tmp/cache/assets/{C63/7C0/sprockets%2F951340282b11ba35a865d4e04300b3a8 → development/sprockets/b5282f83ab7001db941907c89cbdebe2} +0 -0
  51. data/test/dummy/tmp/cache/assets/{E04/890/sprockets%2F2f5173deea6c795b8fdde723bb4b63af → development/sprockets/cffd775d018f68ce5dba1ee0d951a994} +0 -0
  52. data/test/dummy/tmp/cache/assets/development/sprockets/d771ace226fc8215a3572e0aa35bb0d6 +0 -0
  53. data/test/dummy/tmp/cache/assets/{CB9/B60/sprockets%2Fe7b839a0806e5c20e5018197f56cd656 → development/sprockets/e27d2ca07f775a17ecaec5e004a62a56} +0 -0
  54. data/test/dummy/tmp/cache/assets/{D13/FD0/sprockets%2F8d733d18e3095c053f81f78d4a422afd → development/sprockets/eacda4f935d5f480cb099f85f49a65b2} +0 -0
  55. data/test/dummy/tmp/cache/assets/development/sprockets/f7cbd26ba1d28d48de824f0e94586655 +0 -0
  56. data/test/dummy/tmp/cache/assets/test/sprockets/13fe41fee1fe35b49d145bcc06610705 +0 -0
  57. data/test/dummy/tmp/cache/assets/test/sprockets/2f5173deea6c795b8fdde723bb4b63af +0 -0
  58. data/test/dummy/tmp/cache/assets/{D76/4D0/sprockets%2F8a096b6dd59bfda3e461617a95524eaf → test/sprockets/30465d6ec3d7c977f30a3a297e7f57c1} +0 -0
  59. data/test/dummy/tmp/cache/assets/test/sprockets/306c1607f0ffbc40bac368573862cf58 +0 -0
  60. data/test/dummy/tmp/cache/assets/test/sprockets/357970feca3ac29060c1e3861e2c0953 +0 -0
  61. data/test/dummy/tmp/cache/assets/test/sprockets/59e56a009695d42ebc54fb7f0b4f948d +0 -0
  62. data/test/dummy/tmp/cache/assets/test/sprockets/736bfbe6fcafc58b47f016154a407ffc +0 -0
  63. data/test/dummy/tmp/cache/assets/test/sprockets/7682e37e0736cf2b209545cf7af4dc29 +0 -0
  64. data/test/dummy/tmp/cache/assets/test/sprockets/88e88b185ff5a542c97cbb3b475e608d +0 -0
  65. data/test/dummy/tmp/cache/assets/test/sprockets/b5282f83ab7001db941907c89cbdebe2 +0 -0
  66. data/test/dummy/tmp/cache/assets/test/sprockets/cffd775d018f68ce5dba1ee0d951a994 +0 -0
  67. data/test/dummy/tmp/cache/assets/test/sprockets/d771ace226fc8215a3572e0aa35bb0d6 +0 -0
  68. data/test/dummy/tmp/cache/assets/test/sprockets/e27d2ca07f775a17ecaec5e004a62a56 +0 -0
  69. data/test/dummy/tmp/cache/assets/test/sprockets/f7cbd26ba1d28d48de824f0e94586655 +0 -0
  70. data/test/test_helper.rb +7 -0
  71. metadata +69 -89
  72. data/test/dummy/app/assets/javascripts/main.js +0 -0
  73. data/test/dummy/app/assets/javascripts/users.js +0 -0
  74. data/test/dummy/app/assets/stylesheets/main.css +0 -4
  75. data/test/dummy/app/assets/stylesheets/scaffold.css +0 -56
  76. data/test/dummy/app/assets/stylesheets/users.css +0 -4
  77. data/test/dummy/app/helpers/main_helper.rb +0 -2
  78. data/test/dummy/app/helpers/users_helper.rb +0 -2
  79. data/test/dummy/script/rails +0 -6
  80. data/test/dummy/tmp/cache/assets/C36/B50/sprockets%2F5e8353089687a8324957248c12a6ea87 +0 -0
  81. data/test/dummy/tmp/cache/assets/C8C/B80/sprockets%2F371bf96e99717688ed7313a0c53f4212 +0 -0
  82. data/test/dummy/tmp/cache/assets/CAA/620/sprockets%2F87b209c0c9da28094a8d5581a21262c6 +0 -0
  83. data/test/dummy/tmp/cache/assets/CD8/370/sprockets%2F357970feca3ac29060c1e3861e2c0953 +0 -0
  84. data/test/dummy/tmp/cache/assets/CD8/B70/sprockets%2F4050a4e5062ab95c9f32e9b6940821ea +0 -0
  85. data/test/dummy/tmp/cache/assets/CF0/1D0/sprockets%2F6fc757c2c8329244ca95d6909865bbc2 +0 -0
  86. data/test/dummy/tmp/cache/assets/D06/B40/sprockets%2F25fca4643219052b0d5c66cf2c71f72f +0 -0
  87. data/test/dummy/tmp/cache/assets/D32/A10/sprockets%2F13fe41fee1fe35b49d145bcc06610705 +0 -0
  88. data/test/dummy/tmp/cache/assets/D46/650/sprockets%2Ff56253b5f374fff1a33fbbc9881c9124 +0 -0
  89. data/test/dummy/tmp/cache/assets/D4E/1B0/sprockets%2Ff7cbd26ba1d28d48de824f0e94586655 +0 -0
  90. data/test/dummy/tmp/cache/assets/D52/D30/sprockets%2Fb1b780ccf384149569ceb76ee7bd5639 +0 -0
  91. data/test/dummy/tmp/cache/assets/D5A/EA0/sprockets%2Fd771ace226fc8215a3572e0aa35bb0d6 +0 -0
  92. data/test/dummy/tmp/cache/assets/D67/250/sprockets%2F2b4acc4bbcc24118e7707c269738f0bf +0 -0
  93. data/test/dummy/tmp/cache/assets/D67/B60/sprockets%2F5f1a0d05e77ca8b9a1fc2a47e17a8174 +0 -0
  94. data/test/dummy/tmp/cache/assets/D73/9B0/sprockets%2Ff6eeb33602682bd6ff6d1f177f6b142d +0 -0
  95. data/test/dummy/tmp/cache/assets/DA7/530/sprockets%2Fe36b8fcf5914a3a6bf058abfe7367b19 +0 -0
  96. data/test/dummy/tmp/cache/assets/DB7/6C0/sprockets%2F386e9196dd0f9efdce6f92ce93a6d107 +0 -0
  97. data/test/dummy/tmp/cache/assets/DC8/3B0/sprockets%2F0949dcec3ad4d7d2733ad5b523aeb7d4 +0 -0
  98. data/test/dummy/tmp/cache/assets/DE1/6A0/sprockets%2Fcae9aba95894da8a28fa8a5387dc565f +0 -0
  99. data/test/dummy/tmp/cache/assets/E1D/010/sprockets%2Fdffad412d86bfdfbb1f307d711da21d3 +0 -0
@@ -2,44 +2,11 @@ require File.expand_path('../boot', __FILE__)
2
2
 
3
3
  require 'rails/all'
4
4
 
5
- Bundler.require
5
+ Bundler.require(*Rails.groups)
6
6
  require "serializer"
7
7
 
8
8
  module Dummy
9
9
  class Application < Rails::Application
10
- # Settings in config/environments/* take precedence over those specified here.
11
- # Application configuration should go into files in config/initializers
12
- # -- all .rb files in that directory are automatically loaded.
13
-
14
- # Custom directories with classes and modules you want to be autoloadable.
15
- # config.autoload_paths += %W(#{config.root}/extras)
16
-
17
- # Only load the plugins named here, in the order given (default is alphabetical).
18
- # :all can be used as a placeholder for all plugins not explicitly named.
19
- # config.plugins = [ :exception_notification, :ssl_requirement, :all ]
20
-
21
- # Activate observers that should always be running.
22
- # config.active_record.observers = :cacher, :garbage_collector, :forum_observer
23
-
24
- # Set Time.zone default to the specified zone and make Active Record auto-convert to this zone.
25
- # Run "rake -D time" for a list of tasks for finding time zone names. Default is UTC.
26
- # config.time_zone = 'Central Time (US & Canada)'
27
-
28
- # The default locale is :en and all translations from config/locales/*.rb,yml are auto loaded.
29
- # config.i18n.load_path += Dir[Rails.root.join('my', 'locales', '*.{rb,yml}').to_s]
30
- # config.i18n.default_locale = :de
31
-
32
- # Configure the default encoding used in templates for Ruby 1.9.
33
- config.encoding = "utf-8"
34
-
35
- # Configure sensitive parameters which will be filtered from the log file.
36
- config.filter_parameters += [:password]
37
-
38
- # Enable the asset pipeline
39
- config.assets.enabled = true
40
-
41
- # Version of your assets, change this if you want to expire all your assets
42
- config.assets.version = '1.0'
43
10
  end
44
11
  end
45
12
 
@@ -1,10 +1,5 @@
1
- require 'rubygems'
2
- gemfile = File.expand_path('../../../../Gemfile', __FILE__)
1
+ # Set up gems listed in the Gemfile.
2
+ ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../../../../Gemfile', __FILE__)
3
3
 
4
- if File.exist?(gemfile)
5
- ENV['BUNDLE_GEMFILE'] = gemfile
6
- require 'bundler'
7
- Bundler.setup
8
- end
9
-
10
- $:.unshift File.expand_path('../../../../lib', __FILE__)
4
+ require 'bundler/setup' if File.exists?(ENV['BUNDLE_GEMFILE'])
5
+ $LOAD_PATH.unshift File.expand_path('../../../../lib', __FILE__)
@@ -1,5 +1,5 @@
1
- # Load the rails application
1
+ # Load the Rails application.
2
2
  require File.expand_path('../application', __FILE__)
3
3
 
4
- # Initialize the rails application
4
+ # Initialize the Rails application.
5
5
  Dummy::Application.initialize!
@@ -1,30 +1,29 @@
1
1
  Dummy::Application.configure do
2
- # Settings specified here will take precedence over those in config/application.rb
2
+ # Settings specified here will take precedence over those in config/application.rb.
3
3
 
4
4
  # In the development environment your application's code is reloaded on
5
- # every request. This slows down response time but is perfect for development
5
+ # every request. This slows down response time but is perfect for development
6
6
  # since you don't have to restart the web server when you make code changes.
7
7
  config.cache_classes = false
8
8
 
9
- # Log error messages when you accidentally call methods on nil.
10
- config.whiny_nils = true
9
+ # Do not eager load code on boot.
10
+ config.eager_load = false
11
11
 
12
- # Show full error reports and disable caching
12
+ # Show full error reports and disable caching.
13
13
  config.consider_all_requests_local = true
14
14
  config.action_controller.perform_caching = false
15
15
 
16
- # Don't care if the mailer can't send
16
+ # Don't care if the mailer can't send.
17
17
  config.action_mailer.raise_delivery_errors = false
18
18
 
19
- # Print deprecation notices to the Rails logger
19
+ # Print deprecation notices to the Rails logger.
20
20
  config.active_support.deprecation = :log
21
21
 
22
- # Only use best-standards-support built into browsers
23
- config.action_dispatch.best_standards_support = :builtin
22
+ # Raise an error on page load if there are pending migrations
23
+ config.active_record.migration_error = :page_load
24
24
 
25
- # Do not compress assets
26
- config.assets.compress = false
27
-
28
- # Expands the lines which load the assets
25
+ # Debug mode disables concatenation and preprocessing of assets.
26
+ # This option may cause significant delays in view rendering with a large
27
+ # number of complex assets.
29
28
  config.assets.debug = true
30
29
  end
@@ -1,60 +1,80 @@
1
1
  Dummy::Application.configure do
2
- # Settings specified here will take precedence over those in config/application.rb
2
+ # Settings specified here will take precedence over those in config/application.rb.
3
3
 
4
- # Code is not reloaded between requests
4
+ # Code is not reloaded between requests.
5
5
  config.cache_classes = true
6
6
 
7
- # Full error reports are disabled and caching is turned on
7
+ # Eager load code on boot. This eager loads most of Rails and
8
+ # your application in memory, allowing both thread web servers
9
+ # and those relying on copy on write to perform better.
10
+ # Rake tasks automatically ignore this option for performance.
11
+ config.eager_load = true
12
+
13
+ # Full error reports are disabled and caching is turned on.
8
14
  config.consider_all_requests_local = false
9
15
  config.action_controller.perform_caching = true
10
16
 
11
- # Disable Rails's static asset server (Apache or nginx will already do this)
17
+ # Enable Rack::Cache to put a simple HTTP cache in front of your application
18
+ # Add `rack-cache` to your Gemfile before enabling this.
19
+ # For large-scale production use, consider using a caching reverse proxy like nginx, varnish or squid.
20
+ # config.action_dispatch.rack_cache = true
21
+
22
+ # Disable Rails's static asset server (Apache or nginx will already do this).
12
23
  config.serve_static_assets = false
13
24
 
14
- # Compress JavaScripts and CSS
15
- config.assets.compress = true
25
+ # Compress JavaScripts and CSS.
26
+ config.assets.js_compressor = :uglifier
27
+ # config.assets.css_compressor = :sass
16
28
 
17
- # Don't fallback to assets pipeline if a precompiled asset is missed
29
+ # Do not fallback to assets pipeline if a precompiled asset is missed.
18
30
  config.assets.compile = false
19
31
 
20
- # Generate digests for assets URLs
32
+ # Generate digests for assets URLs.
21
33
  config.assets.digest = true
22
34
 
23
- # Defaults to Rails.root.join("public/assets")
24
- # config.assets.manifest = YOUR_PATH
35
+ # Version of your assets, change this if you want to expire all your assets.
36
+ config.assets.version = '1.0'
25
37
 
26
- # Specifies the header that your server uses for sending files
38
+ # Specifies the header that your server uses for sending files.
27
39
  # config.action_dispatch.x_sendfile_header = "X-Sendfile" # for apache
28
40
  # config.action_dispatch.x_sendfile_header = 'X-Accel-Redirect' # for nginx
29
41
 
30
42
  # Force all access to the app over SSL, use Strict-Transport-Security, and use secure cookies.
31
43
  # config.force_ssl = true
32
44
 
33
- # See everything in the log (default is :info)
34
- # config.log_level = :debug
45
+ # Set to :debug to see everything in the log.
46
+ config.log_level = :info
47
+
48
+ # Prepend all log lines with the following tags.
49
+ # config.log_tags = [ :subdomain, :uuid ]
35
50
 
36
- # Use a different logger for distributed setups
37
- # config.logger = SyslogLogger.new
51
+ # Use a different logger for distributed setups.
52
+ # config.logger = ActiveSupport::TaggedLogging.new(SyslogLogger.new)
38
53
 
39
- # Use a different cache store in production
54
+ # Use a different cache store in production.
40
55
  # config.cache_store = :mem_cache_store
41
56
 
42
- # Enable serving of images, stylesheets, and JavaScripts from an asset server
57
+ # Enable serving of images, stylesheets, and JavaScripts from an asset server.
43
58
  # config.action_controller.asset_host = "http://assets.example.com"
44
59
 
45
- # Precompile additional assets (application.js, application.css, and all non-JS/CSS are already added)
60
+ # Precompile additional assets.
61
+ # application.js, application.css, and all non-JS/CSS in app/assets folder are already added.
46
62
  # config.assets.precompile += %w( search.js )
47
63
 
48
- # Disable delivery errors, bad email addresses will be ignored
64
+ # Ignore bad email addresses and do not raise email delivery errors.
65
+ # Set this to true and configure the email server for immediate delivery to raise delivery errors.
49
66
  # config.action_mailer.raise_delivery_errors = false
50
67
 
51
- # Enable threaded mode
52
- # config.threadsafe!
53
-
54
68
  # Enable locale fallbacks for I18n (makes lookups for any locale fall back to
55
- # the I18n.default_locale when a translation can not be found)
69
+ # the I18n.default_locale when a translation can not be found).
56
70
  config.i18n.fallbacks = true
57
71
 
58
- # Send deprecation notices to registered listeners
72
+ # Send deprecation notices to registered listeners.
59
73
  config.active_support.deprecation = :notify
74
+
75
+ # Disable automatic flushing of the log to improve performance.
76
+ # config.autoflush_log = false
77
+
78
+ # Use default logging formatter so that PID and timestamp are not suppressed.
79
+ config.log_formatter = ::Logger::Formatter.new
60
80
  end
@@ -1,39 +1,36 @@
1
1
  Dummy::Application.configure do
2
- # Settings specified here will take precedence over those in config/application.rb
2
+ # Settings specified here will take precedence over those in config/application.rb.
3
3
 
4
4
  # The test environment is used exclusively to run your application's
5
- # test suite. You never need to work with it otherwise. Remember that
5
+ # test suite. You never need to work with it otherwise. Remember that
6
6
  # your test database is "scratch space" for the test suite and is wiped
7
- # and recreated between test runs. Don't rely on the data there!
7
+ # and recreated between test runs. Don't rely on the data there!
8
8
  config.cache_classes = true
9
9
 
10
- # Configure static asset server for tests with Cache-Control for performance
11
- config.serve_static_assets = true
12
- config.static_cache_control = "public, max-age=3600"
10
+ # Do not eager load code on boot. This avoids loading your whole application
11
+ # just for the purpose of running a single test. If you are using a tool that
12
+ # preloads Rails for running tests, you may have to set it to true.
13
+ config.eager_load = false
13
14
 
14
- # Log error messages when you accidentally call methods on nil
15
- config.whiny_nils = true
15
+ # Configure static asset server for tests with Cache-Control for performance.
16
+ config.serve_static_assets = true
17
+ config.static_cache_control = "public, max-age=3600"
16
18
 
17
- # Show full error reports and disable caching
19
+ # Show full error reports and disable caching.
18
20
  config.consider_all_requests_local = true
19
21
  config.action_controller.perform_caching = false
20
22
 
21
- # Raise exceptions instead of rendering exception templates
23
+ # Raise exceptions instead of rendering exception templates.
22
24
  config.action_dispatch.show_exceptions = false
23
25
 
24
- # Disable request forgery protection in test environment
25
- config.action_controller.allow_forgery_protection = false
26
+ # Disable request forgery protection in test environment.
27
+ config.action_controller.allow_forgery_protection = false
26
28
 
27
29
  # Tell Action Mailer not to deliver emails to the real world.
28
30
  # The :test delivery method accumulates sent emails in the
29
31
  # ActionMailer::Base.deliveries array.
30
32
  config.action_mailer.delivery_method = :test
31
33
 
32
- # Use SQL instead of Active Record's schema dumper when creating the test database.
33
- # This is necessary if your schema can't be completely dumped by the schema dumper,
34
- # like if you have constraints or database-specific column types
35
- # config.active_record.schema_format = :sql
36
-
37
- # Print deprecation notices to the stderr
34
+ # Print deprecation notices to the stderr.
38
35
  config.active_support.deprecation = :stderr
39
36
  end
@@ -1,2 +1,8 @@
1
- Dummy::Application.config.session_store :cookie_store, :key => '_serializer_session'
2
- Dummy::Application.config.secret_token = '3814b0073a5f8c77876d5baef38b180ac12c9c50f4d5fe9c82e9bb3c4105dc612f13a9b012e33c0329d55718eafb7ab1b4fefbe36117eb8f67c4427f26634c2c'
1
+ Dummy::Application.config.session_store :cookie_store, :key => '_dummy_session'
2
+ Dummy::Application.config.secret_key_base = '5ff1ed532fd6db8b9fb92261d486fa553599eb7e5633c347438a38a913e11c0a5f5f8e3e6d3379e496a6b4e98c5f27d3146fdc4a3367882a8b502180c3ea1dc1'
3
+
4
+ ActiveSupport.on_load(:action_controller) do
5
+ wrap_parameters :format => [:json] if respond_to?(:wrap_parameters)
6
+ end
7
+
8
+ Rails.application.config.filter_parameters += [:password]
@@ -1,7 +1,7 @@
1
1
  Dummy::Application.routes.draw do
2
-
2
+
3
3
  root :to => "main#index"
4
-
4
+
5
5
  resources :users
6
-
6
+
7
7
  end
Binary file
@@ -1,7 +1,7 @@
1
1
  class CreateUsers < ActiveRecord::Migration
2
2
  def change
3
3
  create_table :users do |t|
4
- t.references :account
4
+ t.references :account, :index => true
5
5
  t.string :name
6
6
  t.string :email
7
7
  t.text :settings
@@ -1,7 +1,7 @@
1
1
  class CreateSubscriptions < ActiveRecord::Migration
2
2
  def change
3
3
  create_table :subscriptions do |t|
4
- t.references :user
4
+ t.references :user, :index => true
5
5
 
6
6
  t.timestamps
7
7
  end
@@ -9,29 +9,33 @@
9
9
  # from scratch. The latter is a flawed and unsustainable approach (the more migrations
10
10
  # you'll amass, the slower it'll run and the greater likelihood for issues).
11
11
  #
12
- # It's strongly recommended to check this file into your version control system.
12
+ # It's strongly recommended that you check this file into your version control system.
13
13
 
14
- ActiveRecord::Schema.define(:version => 20130207030140) do
14
+ ActiveRecord::Schema.define(version: 20130207030140) do
15
15
 
16
- create_table "accounts", :force => true do |t|
16
+ create_table "accounts", force: true do |t|
17
17
  t.string "name"
18
- t.datetime "created_at", :null => false
19
- t.datetime "updated_at", :null => false
18
+ t.datetime "created_at"
19
+ t.datetime "updated_at"
20
20
  end
21
21
 
22
- create_table "subscriptions", :force => true do |t|
22
+ create_table "subscriptions", force: true do |t|
23
23
  t.integer "user_id"
24
- t.datetime "created_at", :null => false
25
- t.datetime "updated_at", :null => false
24
+ t.datetime "created_at"
25
+ t.datetime "updated_at"
26
26
  end
27
27
 
28
- create_table "users", :force => true do |t|
28
+ add_index "subscriptions", ["user_id"], name: "index_subscriptions_on_user_id"
29
+
30
+ create_table "users", force: true do |t|
29
31
  t.integer "account_id"
30
32
  t.string "name"
31
33
  t.string "email"
32
34
  t.text "settings"
33
- t.datetime "created_at", :null => false
34
- t.datetime "updated_at", :null => false
35
+ t.datetime "created_at"
36
+ t.datetime "updated_at"
35
37
  end
36
38
 
39
+ add_index "users", ["account_id"], name: "index_users_on_account_id"
40
+
37
41
  end
Binary file
@@ -1,2377 +1,179 @@
1
- Connecting to database specified by database.yml
2
-  (2.3ms) select sqlite_version(*)
3
-  (1.8ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "email" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime)
4
-  (1.0ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
5
-  (0.0ms) PRAGMA index_list("schema_migrations")
6
-  (1.3ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
7
-  (0.1ms) SELECT version FROM "schema_migrations"
8
-  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20110927222742')
9
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"
10
-  (0.1ms) select sqlite_version(*)
11
-  (2.6ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
12
-  (0.1ms) PRAGMA index_list("schema_migrations")
13
-  (1.2ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
14
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
15
- Migrating to CreateUsers (20110927222742)
16
-  (0.0ms) begin transaction
17
-  (0.6ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "email" varchar(255), "settings" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
18
-  (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20110927222742')
19
-  (0.8ms) commit transaction
20
-  (0.7ms) select sqlite_version(*)
21
-  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
22
-  (0.0ms) PRAGMA index_list("users")
23
- Connecting to database specified by database.yml
24
-
25
-
26
- Started GET "/" for 127.0.0.1 at 2012-07-30 23:49:03 -0700
27
- Connecting to database specified by database.yml
28
- Processing by MainController#index as HTML
29
- Rendered main/index.html.erb within layouts/application (2.6ms)
30
- Compiled main.css (0ms) (pid 39305)
31
- Compiled scaffold.css (0ms) (pid 39305)
32
- Compiled subscriptions.css (0ms) (pid 39305)
33
- Compiled users.css (0ms) (pid 39305)
34
- Compiled application.css (32ms) (pid 39305)
35
- Compiled jquery.js (1ms) (pid 39305)
36
- Compiled jquery_ujs.js (0ms) (pid 39305)
37
- Compiled main.js (0ms) (pid 39305)
38
- Compiled subscriptions.js (0ms) (pid 39305)
39
- Compiled users.js (0ms) (pid 39305)
40
- Compiled application.js (82ms) (pid 39305)
41
- Completed 200 OK in 230ms (Views: 229.5ms | ActiveRecord: 0.0ms)
42
-
43
-
44
- Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-07-30 23:49:03 -0700
45
- Served asset /application.css - 200 OK (11ms)
46
-
47
-
48
- Started GET "/assets/main.css?body=1" for 127.0.0.1 at 2012-07-30 23:49:03 -0700
49
- Served asset /main.css - 200 OK (2ms)
50
-
51
-
52
- Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2012-07-30 23:49:03 -0700
53
- Served asset /scaffold.css - 200 OK (3ms)
54
-
55
-
56
- Started GET "/assets/subscriptions.css?body=1" for 127.0.0.1 at 2012-07-30 23:49:03 -0700
57
- Served asset /subscriptions.css - 200 OK (3ms)
58
-
59
-
60
- Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-07-30 23:49:03 -0700
61
- Served asset /jquery.js - 200 OK (2ms)
62
-
63
-
64
- Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2012-07-30 23:49:03 -0700
65
- Served asset /users.css - 200 OK (2ms)
66
-
67
-
68
- Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-07-30 23:49:03 -0700
69
- Served asset /jquery_ujs.js - 200 OK (2ms)
70
-
71
-
72
- Started GET "/assets/subscriptions.js?body=1" for 127.0.0.1 at 2012-07-30 23:49:03 -0700
73
- Served asset /subscriptions.js - 200 OK (1ms)
74
-
75
-
76
- Started GET "/assets/main.js?body=1" for 127.0.0.1 at 2012-07-30 23:49:03 -0700
77
- Served asset /main.js - 200 OK (1ms)
78
-
79
-
80
- Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2012-07-30 23:49:03 -0700
81
- Served asset /users.js - 200 OK (1ms)
82
-
83
-
84
- Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-07-30 23:49:03 -0700
85
- Served asset /application.js - 200 OK (7ms)
86
-
87
-
88
- Started GET "/users" for 127.0.0.1 at 2012-07-30 23:49:06 -0700
89
- Processing by UsersController#index as HTML
90
- User Load (0.5ms) SELECT "users".* FROM "users" 
91
- Rendered users/index.html.erb within layouts/application (1.0ms)
92
- Completed 200 OK in 64ms (Views: 6.8ms | ActiveRecord: 2.5ms)
93
-
94
-
95
- Started GET "/" for 127.0.0.1 at 2012-07-30 23:53:03 -0700
96
- Processing by MainController#index as HTML
97
- Rendered main/index.html.erb within layouts/application (9.2ms)
98
- Completed 500 Internal Server Error in 11ms
99
-
100
- ActionView::Template::Error (undefined local variable or method `subscriptions_path' for #<#<Class:0x007fea9dbe0930>:0x007fea9d82d298>):
101
- 2:
102
- 3: <ul>
103
- 4: <li><%= link_to 'Users', users_path %></li>
104
- 5: <li><%= link_to 'Subscriptions', subscriptions_path %></li>
105
- 6: </ul>
106
- app/views/main/index.html.erb:5:in `_app_views_main_index_html_erb___3285520263550132932_70322820833440'
107
- app/controllers/main_controller.rb:5:in `index'
108
-
109
-
110
- Rendered /Users/kevin/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.7/lib/action_dispatch/middleware/templates/rescues/_trace.erb (3.4ms)
111
- Rendered /Users/kevin/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.7/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (0.9ms)
112
- Rendered /Users/kevin/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.7/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (10.9ms)
113
-
114
-
115
- Started GET "/" for 127.0.0.1 at 2012-07-30 23:54:21 -0700
116
- Processing by MainController#index as HTML
117
- Rendered main/index.html.erb within layouts/application (32.9ms)
118
- Completed 500 Internal Server Error in 35ms
119
-
120
- ActionView::Template::Error (undefined local variable or method `subscriptions_path' for #<#<Class:0x007fea9dbe0930>:0x007fea9b084430>):
121
- 2:
122
- 3: <ul>
123
- 4: <li><%= link_to 'Users', users_path %></li>
124
- 5: <li><%= link_to 'Subscriptions', subscriptions_path %></li>
125
- 6: </ul>
126
- app/views/main/index.html.erb:5:in `_app_views_main_index_html_erb___3285520263550132932_70322820833440'
127
- app/controllers/main_controller.rb:5:in `index'
128
-
129
-
130
- Rendered /Users/kevin/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.7/lib/action_dispatch/middleware/templates/rescues/_trace.erb (2.7ms)
131
- Rendered /Users/kevin/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.7/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (0.8ms)
132
- Rendered /Users/kevin/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.7/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (7.6ms)
133
-
134
-
135
- Started GET "/" for 127.0.0.1 at 2012-07-30 23:54:22 -0700
136
- Processing by MainController#index as HTML
137
- Rendered main/index.html.erb within layouts/application (5.5ms)
138
- Completed 500 Internal Server Error in 7ms
139
-
140
- ActionView::Template::Error (undefined local variable or method `subscriptions_path' for #<#<Class:0x007fea9dbe0930>:0x007fea9dba8738>):
141
- 2:
142
- 3: <ul>
143
- 4: <li><%= link_to 'Users', users_path %></li>
144
- 5: <li><%= link_to 'Subscriptions', subscriptions_path %></li>
145
- 6: </ul>
146
- app/views/main/index.html.erb:5:in `_app_views_main_index_html_erb___3285520263550132932_70322820833440'
147
- app/controllers/main_controller.rb:5:in `index'
148
-
149
-
150
- Rendered /Users/kevin/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.7/lib/action_dispatch/middleware/templates/rescues/_trace.erb (2.8ms)
151
- Rendered /Users/kevin/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.7/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (0.8ms)
152
- Rendered /Users/kevin/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.7/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (8.1ms)
153
-
154
-
155
- Started GET "/" for 127.0.0.1 at 2012-07-30 23:54:30 -0700
156
- Processing by MainController#index as HTML
157
- Rendered main/index.html.erb within layouts/application (0.6ms)
158
- Completed 200 OK in 6ms (Views: 6.0ms | ActiveRecord: 0.0ms)
159
-
160
-
161
- Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-07-30 23:54:30 -0700
162
- Served asset /application.css - 304 Not Modified (0ms)
163
-
164
-
165
- Started GET "/assets/subscriptions.css?body=1" for 127.0.0.1 at 2012-07-30 23:54:30 -0700
166
- Served asset /subscriptions.css - 304 Not Modified (0ms)
167
-
168
-
169
- Started GET "/assets/main.css?body=1" for 127.0.0.1 at 2012-07-30 23:54:30 -0700
170
- Served asset /main.css - 304 Not Modified (0ms)
171
-
172
-
173
- Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2012-07-30 23:54:30 -0700
174
- Served asset /scaffold.css - 304 Not Modified (0ms)
175
-
176
-
177
- Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2012-07-30 23:54:30 -0700
178
- Served asset /users.css - 304 Not Modified (0ms)
179
-
180
-
181
- Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-07-30 23:54:30 -0700
182
- Served asset /jquery.js - 304 Not Modified (0ms)
183
-
184
-
185
- Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-07-30 23:54:30 -0700
186
- Served asset /jquery_ujs.js - 304 Not Modified (0ms)
187
-
188
-
189
- Started GET "/assets/main.js?body=1" for 127.0.0.1 at 2012-07-30 23:54:30 -0700
190
- Served asset /main.js - 304 Not Modified (0ms)
191
-
192
-
193
- Started GET "/assets/subscriptions.js?body=1" for 127.0.0.1 at 2012-07-30 23:54:30 -0700
194
- Served asset /subscriptions.js - 304 Not Modified (0ms)
195
-
196
-
197
- Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-07-30 23:54:30 -0700
198
- Served asset /application.js - 304 Not Modified (0ms)
199
-
200
-
201
- Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2012-07-30 23:54:30 -0700
202
- Served asset /users.js - 304 Not Modified (0ms)
203
-
204
-
205
- Started GET "/subscriptions" for 127.0.0.1 at 2012-07-30 23:54:32 -0700
206
- Processing by SubscriptionsController#index as HTML
207
- Completed 500 Internal Server Error in 4ms
208
-
209
- ActiveRecord::StatementInvalid (Could not find table 'subscriptions'):
210
- app/controllers/subscriptions_controller.rb:7:in `index'
211
-
212
-
213
- Rendered /Users/kevin/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.7/lib/action_dispatch/middleware/templates/rescues/_trace.erb (2.4ms)
214
- Rendered /Users/kevin/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.7/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.0ms)
215
- Rendered /Users/kevin/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.7/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (7.8ms)
216
- Connecting to database specified by database.yml
217
-  (0.6ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
218
- Migrating to CreateUsers (20110927222742)
219
- Migrating to CreateSubscriptions (20120731064307)
220
-  (0.5ms) select sqlite_version(*)
221
-  (0.0ms) begin transaction
222
-  (0.5ms) CREATE TABLE "subscriptions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "category" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
223
-  (0.0ms) PRAGMA index_list("subscriptions")
224
-  (0.1ms) CREATE INDEX "index_subscriptions_on_user_id" ON "subscriptions" ("user_id")
225
-  (0.5ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120731064307')
226
-  (0.8ms) commit transaction
227
-  (0.2ms) select sqlite_version(*)
228
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"
229
-  (0.0ms) PRAGMA index_list("subscriptions")
230
-  (0.0ms) PRAGMA index_info('index_subscriptions_on_user_id')
231
-  (0.0ms) PRAGMA index_list("users")
232
-
233
-
234
- Started GET "/subscriptions" for 127.0.0.1 at 2012-07-30 23:54:41 -0700
235
- Processing by SubscriptionsController#index as HTML
236
- Subscription Load (0.1ms) SELECT "subscriptions".* FROM "subscriptions"
237
- Rendered subscriptions/index.html.erb within layouts/application (1.0ms)
238
- Completed 200 OK in 13ms (Views: 6.7ms | ActiveRecord: 0.6ms)
239
-
240
-
241
- Started GET "/assets/main.css?body=1" for 127.0.0.1 at 2012-07-30 23:54:41 -0700
242
- Served asset /main.css - 304 Not Modified (0ms)
243
-
244
-
245
- Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-07-30 23:54:41 -0700
246
- Served asset /application.css - 304 Not Modified (0ms)
247
-
248
-
249
- Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2012-07-30 23:54:41 -0700
250
- Served asset /users.css - 304 Not Modified (0ms)
251
-
252
-
253
- Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-07-30 23:54:41 -0700
254
- Served asset /jquery.js - 304 Not Modified (0ms)
255
-
256
-
257
- Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2012-07-30 23:54:41 -0700
258
- Served asset /scaffold.css - 304 Not Modified (0ms)
259
-
260
-
261
- Started GET "/assets/subscriptions.css?body=1" for 127.0.0.1 at 2012-07-30 23:54:41 -0700
262
- Served asset /subscriptions.css - 304 Not Modified (0ms)
263
-
264
-
265
- Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-07-30 23:54:41 -0700
266
- Served asset /jquery_ujs.js - 304 Not Modified (0ms)
267
-
268
-
269
- Started GET "/assets/main.js?body=1" for 127.0.0.1 at 2012-07-30 23:54:41 -0700
270
- Served asset /main.js - 304 Not Modified (0ms)
271
-
272
-
273
- Started GET "/assets/subscriptions.js?body=1" for 127.0.0.1 at 2012-07-30 23:54:41 -0700
274
- Served asset /subscriptions.js - 304 Not Modified (0ms)
275
-
276
-
277
- Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2012-07-30 23:54:41 -0700
278
- Served asset /users.js - 304 Not Modified (0ms)
279
-
280
-
281
- Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-07-30 23:54:41 -0700
282
- Served asset /application.js - 304 Not Modified (0ms)
283
-
284
-
285
- Started GET "/subscriptions/new" for 127.0.0.1 at 2012-07-30 23:54:43 -0700
286
- Processing by SubscriptionsController#new as HTML
287
- Rendered subscriptions/_form.html.erb (1.5ms)
288
- Rendered subscriptions/new.html.erb within layouts/application (5.7ms)
289
- Completed 500 Internal Server Error in 14ms
290
-
291
- ActionView::Template::Error (undefined method `model_name' for NilClass:Class):
292
- 1: <%= form_for(@subscrition) do |f| %>
293
- 2:
294
- 3: <% if @suscription.errors.any? %>
295
- 4: <p><%= pluralize(@subscription.errors.count, "error") %> prohibited this subscription from being saved:</p>
296
- app/views/subscriptions/_form.html.erb:1:in `_app_views_subscriptions__form_html_erb___2278949748814724242_70322790297460'
297
- app/views/subscriptions/new.html.erb:3:in `_app_views_subscriptions_new_html_erb__1087222480631944318_70322820926980'
298
- app/controllers/subscriptions_controller.rb:23:in `new'
299
-
300
-
301
- Rendered /Users/kevin/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.7/lib/action_dispatch/middleware/templates/rescues/_trace.erb (3.4ms)
302
- Rendered /Users/kevin/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.7/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.1ms)
303
- Rendered /Users/kevin/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.7/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (9.4ms)
304
-
305
-
306
- Started GET "/subscriptions/new" for 127.0.0.1 at 2012-07-30 23:55:23 -0700
307
- Processing by SubscriptionsController#new as HTML
308
- Rendered subscriptions/_form.html.erb (1.2ms)
309
- Rendered subscriptions/new.html.erb within layouts/application (1.7ms)
310
- Completed 500 Internal Server Error in 3ms
311
-
312
- ActionView::Template::Error (undefined method `model_name' for NilClass:Class):
313
- 1: <%= form_for(@subscrition) do |f| %>
314
- 2:
315
- 3: <% if @subscription.errors.any? %>
316
- 4: <p><%= pluralize(@subscription.errors.count, "error") %> prohibited this subscription from being saved:</p>
317
- app/views/subscriptions/_form.html.erb:1:in `_app_views_subscriptions__form_html_erb___2278949748814724242_70322800263080'
318
- app/views/subscriptions/new.html.erb:3:in `_app_views_subscriptions_new_html_erb__1087222480631944318_70322820926980'
319
- app/controllers/subscriptions_controller.rb:23:in `new'
320
-
321
-
322
- Rendered /Users/kevin/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.7/lib/action_dispatch/middleware/templates/rescues/_trace.erb (3.1ms)
323
- Rendered /Users/kevin/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.7/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (0.9ms)
324
- Rendered /Users/kevin/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.7/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (8.2ms)
325
-
326
-
327
- Started GET "/subscriptions/new" for 127.0.0.1 at 2012-07-30 23:55:31 -0700
328
- Processing by SubscriptionsController#new as HTML
329
- Rendered subscriptions/_form.html.erb (3.2ms)
330
- Rendered subscriptions/new.html.erb within layouts/application (3.9ms)
331
- Completed 500 Internal Server Error in 6ms
332
-
333
- ActionView::Template::Error (Missing partial subscriptions/fields, application/fields with {:locale=>[:en], :formats=>[:html], :handlers=>[:erb, :builder]}. Searched in:
334
- * "/Users/kevin/Frameworks/serializer/test/dummy/app/views"
335
- ):
336
- 9: </ul>
337
- 10: <% end %>
338
- 11:
339
- 12: <%= render 'fields', f: f %>
340
- 13:
341
- 14: <%= f.fields_for @subscription.user do |user_f| %>
342
- 15: <%= render 'fields', f: user_f %>
343
- app/views/subscriptions/_form.html.erb:12:in `block in _app_views_subscriptions__form_html_erb___2278949748814724242_70322813079580'
344
- app/views/subscriptions/_form.html.erb:1:in `_app_views_subscriptions__form_html_erb___2278949748814724242_70322813079580'
345
- app/views/subscriptions/new.html.erb:3:in `_app_views_subscriptions_new_html_erb__1087222480631944318_70322820926980'
346
- app/controllers/subscriptions_controller.rb:23:in `new'
347
-
348
-
349
- Rendered /Users/kevin/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.7/lib/action_dispatch/middleware/templates/rescues/_trace.erb (35.8ms)
350
- Rendered /Users/kevin/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.7/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.0ms)
351
- Rendered /Users/kevin/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.7/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (42.3ms)
352
-
353
-
354
- Started GET "/subscriptions/new" for 127.0.0.1 at 2012-07-30 23:55:40 -0700
355
- Processing by SubscriptionsController#new as HTML
356
- Rendered subscriptions/_fields.html.erb (0.8ms)
357
- Rendered subscriptions/_form.html.erb (8.8ms)
358
- Rendered subscriptions/new.html.erb within layouts/application (9.6ms)
359
- Completed 500 Internal Server Error in 12ms
360
-
361
- ActionView::Template::Error (undefined method `model_name' for NilClass:Class):
362
- 11:
363
- 12: <%= render 'fields', f: f %>
364
- 13:
365
- 14: <%= f.fields_for @subscription.user do |user_f| %>
366
- 15: <%= render 'fields', f: user_f %>
367
- 16: <% end %>
368
- 17:
369
- app/views/subscriptions/_form.html.erb:14:in `block in _app_views_subscriptions__form_html_erb___2278949748814724242_70322813079580'
370
- app/views/subscriptions/_form.html.erb:1:in `_app_views_subscriptions__form_html_erb___2278949748814724242_70322813079580'
371
- app/views/subscriptions/new.html.erb:3:in `_app_views_subscriptions_new_html_erb__1087222480631944318_70322820926980'
372
- app/controllers/subscriptions_controller.rb:23:in `new'
373
-
374
-
375
- Rendered /Users/kevin/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.7/lib/action_dispatch/middleware/templates/rescues/_trace.erb (3.4ms)
376
- Rendered /Users/kevin/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.7/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (0.9ms)
377
- Rendered /Users/kevin/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.7/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (8.7ms)
378
-
379
-
380
- Started GET "/subscriptions/new" for 127.0.0.1 at 2012-07-30 23:56:20 -0700
381
- Processing by SubscriptionsController#new as HTML
382
- Rendered subscriptions/_fields.html.erb (0.4ms)
383
- Rendered subscriptions/_form.html.erb (8.7ms)
384
- Rendered subscriptions/new.html.erb within layouts/application (9.4ms)
385
- Completed 200 OK in 15ms (Views: 14.5ms | ActiveRecord: 0.0ms)
386
-
387
-
388
- Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-07-30 23:56:20 -0700
389
- Served asset /application.css - 304 Not Modified (0ms)
390
-
391
-
392
- Started GET "/assets/main.css?body=1" for 127.0.0.1 at 2012-07-30 23:56:20 -0700
393
- Served asset /main.css - 304 Not Modified (0ms)
394
-
395
-
396
- Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2012-07-30 23:56:20 -0700
397
- Served asset /scaffold.css - 304 Not Modified (0ms)
398
-
399
-
400
- Started GET "/assets/subscriptions.css?body=1" for 127.0.0.1 at 2012-07-30 23:56:20 -0700
401
- Served asset /subscriptions.css - 304 Not Modified (0ms)
402
-
403
-
404
- Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2012-07-30 23:56:20 -0700
405
- Served asset /users.css - 304 Not Modified (0ms)
406
-
407
-
408
- Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-07-30 23:56:20 -0700
409
- Served asset /jquery.js - 304 Not Modified (0ms)
410
-
411
-
412
- Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-07-30 23:56:20 -0700
413
- Served asset /jquery_ujs.js - 304 Not Modified (0ms)
414
-
415
-
416
- Started GET "/assets/main.js?body=1" for 127.0.0.1 at 2012-07-30 23:56:20 -0700
417
- Served asset /main.js - 304 Not Modified (0ms)
418
-
419
-
420
- Started GET "/assets/subscriptions.js?body=1" for 127.0.0.1 at 2012-07-30 23:56:20 -0700
421
- Served asset /subscriptions.js - 304 Not Modified (0ms)
422
-
423
-
424
- Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2012-07-30 23:56:20 -0700
425
- Served asset /users.js - 304 Not Modified (0ms)
426
-
427
-
428
- Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-07-30 23:56:20 -0700
429
- Served asset /application.js - 304 Not Modified (0ms)
430
-
431
-
432
- Started GET "/subscriptions/new" for 127.0.0.1 at 2012-07-30 23:56:45 -0700
433
- Processing by SubscriptionsController#new as HTML
434
- Rendered subscriptions/_fields.html.erb (0.4ms)
435
- Rendered subscriptions/_fields.html.erb (1.3ms)
436
- Rendered subscriptions/_form.html.erb (6.1ms)
437
- Rendered subscriptions/new.html.erb within layouts/application (6.8ms)
438
- Completed 500 Internal Server Error in 66ms
439
-
440
- ActionView::Template::Error (undefined method `category' for #<User:0x007fea9c8def30>):
441
- 1: <div class="field">
442
- 2: <%= f.label :category, "Category:" %><br />
443
- 3: <%= f.text_field :category %>
444
- 4: </div>
445
- app/views/subscriptions/_fields.html.erb:3:in `_app_views_subscriptions__fields_html_erb___2078831386062901727_70322790719160'
446
- app/views/subscriptions/_form.html.erb:16:in `block (2 levels) in _app_views_subscriptions__form_html_erb___2278949748814724242_70322822626820'
447
- app/views/subscriptions/_form.html.erb:15:in `block in _app_views_subscriptions__form_html_erb___2278949748814724242_70322822626820'
448
- app/views/subscriptions/_form.html.erb:1:in `_app_views_subscriptions__form_html_erb___2278949748814724242_70322822626820'
449
- app/views/subscriptions/new.html.erb:3:in `_app_views_subscriptions_new_html_erb__1087222480631944318_70322820926980'
450
- app/controllers/subscriptions_controller.rb:24:in `new'
451
-
452
-
453
- Rendered /Users/kevin/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.7/lib/action_dispatch/middleware/templates/rescues/_trace.erb (3.9ms)
454
- Rendered /Users/kevin/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.7/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.0ms)
455
- Rendered /Users/kevin/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.7/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (9.6ms)
456
-
457
-
458
- Started GET "/subscriptions/new" for 127.0.0.1 at 2012-07-30 23:56:54 -0700
459
- Processing by SubscriptionsController#new as HTML
460
- Rendered subscriptions/_fields.html.erb (0.4ms)
461
- Rendered users/_fields.html.erb (2.1ms)
462
- Rendered subscriptions/_form.html.erb (5.7ms)
463
- Rendered subscriptions/new.html.erb within layouts/application (6.4ms)
464
- Completed 200 OK in 14ms (Views: 12.4ms | ActiveRecord: 0.0ms)
465
-
466
-
467
- Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-07-30 23:56:54 -0700
468
- Served asset /application.css - 304 Not Modified (0ms)
469
-
470
-
471
- Started GET "/assets/main.css?body=1" for 127.0.0.1 at 2012-07-30 23:56:54 -0700
472
- Served asset /main.css - 304 Not Modified (0ms)
473
-
474
-
475
- Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2012-07-30 23:56:54 -0700
476
- Served asset /scaffold.css - 304 Not Modified (0ms)
477
-
478
-
479
- Started GET "/assets/subscriptions.css?body=1" for 127.0.0.1 at 2012-07-30 23:56:54 -0700
480
- Served asset /subscriptions.css - 304 Not Modified (0ms)
481
-
482
-
483
- Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2012-07-30 23:56:54 -0700
484
- Served asset /users.css - 304 Not Modified (0ms)
485
-
486
-
487
- Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-07-30 23:56:54 -0700
488
- Served asset /jquery.js - 304 Not Modified (0ms)
489
-
490
-
491
- Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-07-30 23:56:54 -0700
492
- Served asset /jquery_ujs.js - 304 Not Modified (0ms)
493
-
494
-
495
- Started GET "/assets/main.js?body=1" for 127.0.0.1 at 2012-07-30 23:56:54 -0700
496
- Served asset /main.js - 304 Not Modified (0ms)
497
-
498
-
499
- Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2012-07-30 23:56:54 -0700
500
- Served asset /users.js - 304 Not Modified (0ms)
501
-
502
-
503
- Started GET "/assets/subscriptions.js?body=1" for 127.0.0.1 at 2012-07-30 23:56:54 -0700
504
- Served asset /subscriptions.js - 304 Not Modified (0ms)
505
-
506
-
507
- Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-07-30 23:56:54 -0700
508
- Served asset /application.js - 304 Not Modified (0ms)
509
-
510
-
511
- Started GET "/subscriptions/new" for 127.0.0.1 at 2012-07-30 23:58:18 -0700
512
- Processing by SubscriptionsController#new as HTML
513
- Rendered subscriptions/_fields.html.erb (0.7ms)
514
- Rendered users/_fields.html.erb (1.5ms)
515
- Rendered subscriptions/_form.html.erb (5.4ms)
516
- Rendered subscriptions/new.html.erb within layouts/application (6.1ms)
517
- Completed 200 OK in 62ms (Views: 11.6ms | ActiveRecord: 0.7ms)
518
-
519
-
520
- Started GET "/assets/main.css?body=1" for 127.0.0.1 at 2012-07-30 23:58:18 -0700
521
- Served asset /main.css - 304 Not Modified (0ms)
522
-
523
-
524
- Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-07-30 23:58:18 -0700
525
- Served asset /application.css - 304 Not Modified (0ms)
526
-
527
-
528
- Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2012-07-30 23:58:18 -0700
529
- Served asset /scaffold.css - 304 Not Modified (0ms)
530
-
531
-
532
- Started GET "/assets/subscriptions.css?body=1" for 127.0.0.1 at 2012-07-30 23:58:18 -0700
533
- Served asset /subscriptions.css - 304 Not Modified (0ms)
534
-
535
-
536
- Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2012-07-30 23:58:18 -0700
537
- Served asset /users.css - 304 Not Modified (0ms)
538
-
539
-
540
- Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-07-30 23:58:18 -0700
541
- Served asset /jquery.js - 304 Not Modified (0ms)
542
-
543
-
544
- Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-07-30 23:58:18 -0700
545
- Served asset /jquery_ujs.js - 304 Not Modified (0ms)
546
-
547
-
548
- Started GET "/assets/main.js?body=1" for 127.0.0.1 at 2012-07-30 23:58:18 -0700
549
- Served asset /main.js - 304 Not Modified (0ms)
550
-
551
-
552
- Started GET "/assets/subscriptions.js?body=1" for 127.0.0.1 at 2012-07-30 23:58:18 -0700
553
- Served asset /subscriptions.js - 304 Not Modified (0ms)
554
-
555
-
556
- Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-07-30 23:58:18 -0700
557
- Served asset /application.js - 304 Not Modified (0ms)
558
-
559
-
560
- Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2012-07-30 23:58:18 -0700
561
- Served asset /users.js - 304 Not Modified (0ms)
562
-
563
-
564
- Started POST "/subscriptions" for 127.0.0.1 at 2012-07-30 23:58:21 -0700
565
- Processing by SubscriptionsController#create as HTML
566
- Parameters: {"utf8"=>"✓", "authenticity_token"=>"8jtLkfWStnbShQNadc6t3r5elmU+PifOH5zkdXzlumQ=", "subscription"=>{"category"=>"Premium", "user"=>{"name"=>"", "email"=>"", "fb_share"=>"1", "tw_share"=>"1", "tb_share"=>"true"}}, "commit"=>"Create Subscription"}
567
- WARNING: Can't mass-assign protected attributes: category, user
568
-  (0.1ms) begin transaction
569
- SQL (7.8ms) INSERT INTO "subscriptions" ("category", "created_at", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["category", nil], ["created_at", Tue, 31 Jul 2012 06:58:21 UTC +00:00], ["updated_at", Tue, 31 Jul 2012 06:58:21 UTC +00:00], ["user_id", nil]]
570
-  (0.8ms) commit transaction
571
- Redirected to http://localhost:3000/subscriptions/1
572
- Completed 302 Found in 16ms (ActiveRecord: 0.0ms)
573
-
574
-
575
- Started GET "/subscriptions/1" for 127.0.0.1 at 2012-07-30 23:58:21 -0700
576
- Processing by SubscriptionsController#show as HTML
577
- Parameters: {"id"=>"1"}
578
- Subscription Load (0.3ms) SELECT "subscriptions".* FROM "subscriptions" WHERE "subscriptions"."id" = ? LIMIT 1 [["id", "1"]]
579
- Rendered subscriptions/show.html.erb within layouts/application (1.1ms)
580
- Completed 500 Internal Server Error in 5ms
581
-
582
- ActionView::Template::Error (undefined method `name' for nil:NilClass):
583
- 4:
584
- 5: <p>
585
- 6: <b>User:</b>
586
- 7: <%= @subscription.user.name %>
587
- 8: </p>
588
- 9:
589
- 10: <p>
590
- app/views/subscriptions/show.html.erb:7:in `_app_views_subscriptions_show_html_erb___817634187185823172_70322804037360'
591
- app/controllers/subscriptions_controller.rb:16:in `show'
592
-
593
-
594
- Rendered /Users/kevin/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.7/lib/action_dispatch/middleware/templates/rescues/_trace.erb (2.8ms)
595
- Rendered /Users/kevin/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.7/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (0.8ms)
596
- Rendered /Users/kevin/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.7/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (7.6ms)
597
-
598
-
599
- Started GET "/subscriptions/1" for 127.0.0.1 at 2012-07-30 23:58:53 -0700
600
- Processing by SubscriptionsController#show as HTML
601
- Parameters: {"id"=>"1"}
602
- Subscription Load (0.1ms) SELECT "subscriptions".* FROM "subscriptions" WHERE "subscriptions"."id" = ? LIMIT 1 [["id", "1"]]
603
- Rendered subscriptions/show.html.erb within layouts/application (1.3ms)
604
- Completed 200 OK in 41ms (Views: 39.6ms | ActiveRecord: 0.1ms)
605
-
606
-
607
- Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-07-30 23:58:53 -0700
608
- Served asset /application.css - 304 Not Modified (0ms)
609
-
610
-
611
- Started GET "/assets/main.css?body=1" for 127.0.0.1 at 2012-07-30 23:58:53 -0700
612
- Served asset /main.css - 304 Not Modified (0ms)
613
-
614
-
615
- Started GET "/assets/subscriptions.css?body=1" for 127.0.0.1 at 2012-07-30 23:58:53 -0700
616
- Served asset /subscriptions.css - 304 Not Modified (0ms)
617
-
618
-
619
- Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2012-07-30 23:58:53 -0700
620
- Served asset /scaffold.css - 304 Not Modified (0ms)
621
-
622
-
623
- Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2012-07-30 23:58:53 -0700
624
- Served asset /users.css - 304 Not Modified (0ms)
625
-
626
-
627
- Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-07-30 23:58:53 -0700
628
- Served asset /jquery.js - 304 Not Modified (0ms)
629
-
630
-
631
- Started GET "/assets/main.js?body=1" for 127.0.0.1 at 2012-07-30 23:58:53 -0700
632
- Served asset /main.js - 304 Not Modified (0ms)
633
-
634
-
635
- Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-07-30 23:58:53 -0700
636
- Served asset /jquery_ujs.js - 304 Not Modified (0ms)
637
-
638
-
639
- Started GET "/assets/subscriptions.js?body=1" for 127.0.0.1 at 2012-07-30 23:58:53 -0700
640
- Served asset /subscriptions.js - 304 Not Modified (0ms)
641
-
642
-
643
- Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2012-07-30 23:58:53 -0700
644
- Served asset /users.js - 304 Not Modified (0ms)
645
-
646
-
647
- Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-07-30 23:58:53 -0700
648
- Served asset /application.js - 304 Not Modified (0ms)
649
-
650
-
651
- Started GET "/subscriptions/1" for 127.0.0.1 at 2012-07-30 23:59:07 -0700
652
- Processing by SubscriptionsController#show as HTML
653
- Parameters: {"id"=>"1"}
654
- Subscription Load (0.1ms) SELECT "subscriptions".* FROM "subscriptions" WHERE "subscriptions"."id" = ? LIMIT 1 [["id", "1"]]
655
- Rendered subscriptions/show.html.erb within layouts/application (0.7ms)
656
- Completed 200 OK in 8ms (Views: 6.5ms | ActiveRecord: 0.1ms)
657
-
658
-
659
- Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-07-30 23:59:07 -0700
660
- Served asset /application.css - 304 Not Modified (0ms)
661
-
662
-
663
- Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2012-07-30 23:59:07 -0700
664
- Served asset /scaffold.css - 304 Not Modified (0ms)
665
-
666
-
667
- Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2012-07-30 23:59:07 -0700
668
- Served asset /users.css - 304 Not Modified (0ms)
669
-
670
-
671
- Started GET "/assets/subscriptions.css?body=1" for 127.0.0.1 at 2012-07-30 23:59:07 -0700
672
- Served asset /subscriptions.css - 304 Not Modified (0ms)
673
-
674
-
675
- Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-07-30 23:59:07 -0700
676
- Served asset /jquery.js - 304 Not Modified (0ms)
677
-
678
-
679
- Started GET "/assets/main.css?body=1" for 127.0.0.1 at 2012-07-30 23:59:08 -0700
680
- Served asset /main.css - 304 Not Modified (0ms)
681
-
682
-
683
- Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-07-30 23:59:08 -0700
684
- Served asset /jquery_ujs.js - 304 Not Modified (0ms)
685
-
686
-
687
- Started GET "/assets/main.js?body=1" for 127.0.0.1 at 2012-07-30 23:59:08 -0700
688
- Served asset /main.js - 304 Not Modified (0ms)
689
-
690
-
691
- Started GET "/assets/subscriptions.js?body=1" for 127.0.0.1 at 2012-07-30 23:59:08 -0700
692
- Served asset /subscriptions.js - 304 Not Modified (0ms)
693
-
694
-
695
- Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2012-07-30 23:59:08 -0700
696
- Served asset /users.js - 304 Not Modified (0ms)
697
-
698
-
699
- Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-07-30 23:59:08 -0700
700
- Served asset /application.js - 304 Not Modified (0ms)
701
-
702
-
703
- Started GET "/subscriptions" for 127.0.0.1 at 2012-07-30 23:59:09 -0700
704
- Processing by SubscriptionsController#index as HTML
705
- Subscription Load (0.2ms) SELECT "subscriptions".* FROM "subscriptions" 
706
- Rendered subscriptions/index.html.erb within layouts/application (1.8ms)
707
- Completed 200 OK in 8ms (Views: 6.9ms | ActiveRecord: 0.2ms)
708
-
709
-
710
- Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-07-30 23:59:09 -0700
711
- Served asset /application.css - 304 Not Modified (0ms)
712
-
713
-
714
- Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2012-07-30 23:59:09 -0700
715
- Served asset /users.css - 304 Not Modified (0ms)
716
-
717
-
718
- Started GET "/assets/subscriptions.css?body=1" for 127.0.0.1 at 2012-07-30 23:59:09 -0700
719
- Served asset /subscriptions.css - 304 Not Modified (0ms)
720
-
721
-
722
- Started GET "/assets/main.css?body=1" for 127.0.0.1 at 2012-07-30 23:59:09 -0700
723
- Served asset /main.css - 304 Not Modified (0ms)
724
-
725
-
726
- Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-07-30 23:59:09 -0700
727
- Served asset /jquery.js - 304 Not Modified (0ms)
728
-
729
-
730
- Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-07-30 23:59:09 -0700
731
- Served asset /jquery_ujs.js - 304 Not Modified (0ms)
732
-
733
-
734
- Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2012-07-30 23:59:09 -0700
735
- Served asset /scaffold.css - 304 Not Modified (0ms)
736
-
737
-
738
- Started GET "/assets/subscriptions.js?body=1" for 127.0.0.1 at 2012-07-30 23:59:09 -0700
739
- Served asset /subscriptions.js - 304 Not Modified (0ms)
740
-
741
-
742
- Started GET "/assets/main.js?body=1" for 127.0.0.1 at 2012-07-30 23:59:09 -0700
743
- Served asset /main.js - 304 Not Modified (0ms)
744
-
745
-
746
- Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2012-07-30 23:59:09 -0700
747
- Served asset /users.js - 304 Not Modified (0ms)
748
-
749
-
750
- Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-07-30 23:59:09 -0700
751
- Served asset /application.js - 304 Not Modified (0ms)
752
-
753
-
754
- Started GET "/subscriptions/1/edit" for 127.0.0.1 at 2012-07-30 23:59:11 -0700
755
- Processing by SubscriptionsController#edit as HTML
756
- Parameters: {"id"=>"1"}
757
- Subscription Load (0.1ms) SELECT "subscriptions".* FROM "subscriptions" WHERE "subscriptions"."id" = ? LIMIT 1 [["id", "1"]]
758
- Rendered subscriptions/_fields.html.erb (0.4ms)
759
- Rendered subscriptions/_form.html.erb (2.4ms)
760
- Rendered subscriptions/edit.html.erb within layouts/application (3.6ms)
761
- Completed 200 OK in 11ms (Views: 9.5ms | ActiveRecord: 0.1ms)
762
-
763
-
764
- Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-07-30 23:59:11 -0700
765
- Served asset /application.css - 304 Not Modified (0ms)
766
-
767
-
768
- Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2012-07-30 23:59:11 -0700
769
- Served asset /scaffold.css - 304 Not Modified (0ms)
770
-
771
-
772
- Started GET "/assets/main.css?body=1" for 127.0.0.1 at 2012-07-30 23:59:11 -0700
773
- Served asset /main.css - 304 Not Modified (0ms)
774
-
775
-
776
- Started GET "/assets/subscriptions.css?body=1" for 127.0.0.1 at 2012-07-30 23:59:11 -0700
777
- Served asset /subscriptions.css - 304 Not Modified (0ms)
778
-
779
-
780
- Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2012-07-30 23:59:11 -0700
781
- Served asset /users.css - 304 Not Modified (0ms)
782
-
783
-
784
- Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-07-30 23:59:11 -0700
785
- Served asset /jquery.js - 304 Not Modified (0ms)
786
-
787
-
788
- Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-07-30 23:59:11 -0700
789
- Served asset /jquery_ujs.js - 304 Not Modified (0ms)
790
-
791
-
792
- Started GET "/assets/main.js?body=1" for 127.0.0.1 at 2012-07-30 23:59:11 -0700
793
- Served asset /main.js - 304 Not Modified (0ms)
794
-
795
-
796
- Started GET "/assets/subscriptions.js?body=1" for 127.0.0.1 at 2012-07-30 23:59:11 -0700
797
- Served asset /subscriptions.js - 304 Not Modified (0ms)
798
-
799
-
800
- Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2012-07-30 23:59:11 -0700
801
- Served asset /users.js - 304 Not Modified (0ms)
802
-
803
-
804
- Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-07-30 23:59:11 -0700
805
- Served asset /application.js - 304 Not Modified (0ms)
806
-
807
-
808
- Started PUT "/subscriptions/1" for 127.0.0.1 at 2012-07-30 23:59:27 -0700
809
- Processing by SubscriptionsController#update as HTML
810
- Parameters: {"utf8"=>"✓", "authenticity_token"=>"8jtLkfWStnbShQNadc6t3r5elmU+PifOH5zkdXzlumQ=", "subscription"=>{"category"=>"Free"}, "commit"=>"Update Subscription", "id"=>"1"}
811
- Subscription Load (0.1ms) SELECT "subscriptions".* FROM "subscriptions" WHERE "subscriptions"."id" = ? LIMIT 1 [["id", "1"]]
812
- WARNING: Can't mass-assign protected attributes: category
813
-  (0.1ms) begin transaction
814
-  (0.0ms) commit transaction
815
- Redirected to http://localhost:3000/subscriptions/1
816
- Completed 302 Found in 4ms (ActiveRecord: 0.0ms)
817
-
818
-
819
- Started GET "/subscriptions/1" for 127.0.0.1 at 2012-07-30 23:59:27 -0700
820
- Processing by SubscriptionsController#show as HTML
821
- Parameters: {"id"=>"1"}
822
- Subscription Load (0.1ms) SELECT "subscriptions".* FROM "subscriptions" WHERE "subscriptions"."id" = ? LIMIT 1 [["id", "1"]]
823
- Rendered subscriptions/show.html.erb within layouts/application (0.7ms)
824
- Completed 200 OK in 48ms (Views: 46.4ms | ActiveRecord: 0.1ms)
825
-
826
-
827
- Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-07-30 23:59:27 -0700
828
- Served asset /application.css - 304 Not Modified (0ms)
829
-
830
-
831
- Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2012-07-30 23:59:27 -0700
832
- Served asset /scaffold.css - 304 Not Modified (0ms)
833
-
834
-
835
- Started GET "/assets/main.css?body=1" for 127.0.0.1 at 2012-07-30 23:59:27 -0700
836
- Served asset /main.css - 304 Not Modified (0ms)
837
-
838
-
839
- Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2012-07-30 23:59:27 -0700
840
- Served asset /users.css - 304 Not Modified (0ms)
841
-
842
-
843
- Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-07-30 23:59:27 -0700
844
- Served asset /jquery.js - 304 Not Modified (0ms)
845
-
846
-
847
- Started GET "/assets/subscriptions.css?body=1" for 127.0.0.1 at 2012-07-30 23:59:27 -0700
848
- Served asset /subscriptions.css - 304 Not Modified (0ms)
849
-
850
-
851
- Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-07-30 23:59:27 -0700
852
- Served asset /jquery_ujs.js - 304 Not Modified (0ms)
853
-
854
-
855
- Started GET "/assets/main.js?body=1" for 127.0.0.1 at 2012-07-30 23:59:27 -0700
856
- Served asset /main.js - 304 Not Modified (0ms)
857
-
858
-
859
- Started GET "/assets/subscriptions.js?body=1" for 127.0.0.1 at 2012-07-30 23:59:27 -0700
860
- Served asset /subscriptions.js - 304 Not Modified (0ms)
861
-
862
-
863
- Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2012-07-30 23:59:27 -0700
864
- Served asset /users.js - 304 Not Modified (0ms)
865
-
866
-
867
- Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-07-30 23:59:27 -0700
868
- Served asset /application.js - 304 Not Modified (0ms)
869
-
870
-
871
- Started GET "/subscriptions" for 127.0.0.1 at 2012-07-30 23:59:29 -0700
872
- Processing by SubscriptionsController#index as HTML
873
- Subscription Load (0.2ms) SELECT "subscriptions".* FROM "subscriptions" 
874
- Rendered subscriptions/index.html.erb within layouts/application (1.3ms)
875
- Completed 200 OK in 7ms (Views: 6.0ms | ActiveRecord: 0.2ms)
876
-
877
-
878
- Started GET "/assets/main.css?body=1" for 127.0.0.1 at 2012-07-30 23:59:29 -0700
879
- Served asset /main.css - 304 Not Modified (0ms)
880
-
881
-
882
- Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2012-07-30 23:59:29 -0700
883
- Served asset /scaffold.css - 304 Not Modified (0ms)
884
-
885
-
886
- Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-07-30 23:59:29 -0700
887
- Served asset /jquery.js - 304 Not Modified (0ms)
888
-
889
-
890
- Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-07-30 23:59:29 -0700
891
- Served asset /application.css - 304 Not Modified (0ms)
892
-
893
-
894
- Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2012-07-30 23:59:29 -0700
895
- Served asset /users.css - 304 Not Modified (0ms)
896
-
897
-
898
- Started GET "/assets/subscriptions.css?body=1" for 127.0.0.1 at 2012-07-30 23:59:29 -0700
899
- Served asset /subscriptions.css - 304 Not Modified (0ms)
900
-
901
-
902
- Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-07-30 23:59:29 -0700
903
- Served asset /jquery_ujs.js - 304 Not Modified (0ms)
904
-
905
-
906
- Started GET "/assets/subscriptions.js?body=1" for 127.0.0.1 at 2012-07-30 23:59:29 -0700
907
- Served asset /subscriptions.js - 304 Not Modified (0ms)
908
-
909
-
910
- Started GET "/assets/main.js?body=1" for 127.0.0.1 at 2012-07-30 23:59:29 -0700
911
- Served asset /main.js - 304 Not Modified (0ms)
912
-
913
-
914
- Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-07-30 23:59:29 -0700
915
- Served asset /application.js - 304 Not Modified (0ms)
916
-
917
-
918
- Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2012-07-30 23:59:29 -0700
919
- Served asset /users.js - 304 Not Modified (0ms)
920
-
921
-
922
- Started GET "/subscriptions/1/edit" for 127.0.0.1 at 2012-07-30 23:59:44 -0700
923
- Processing by SubscriptionsController#edit as HTML
924
- Parameters: {"id"=>"1"}
925
- Subscription Load (0.2ms) SELECT "subscriptions".* FROM "subscriptions" WHERE "subscriptions"."id" = ? LIMIT 1 [["id", "1"]]
926
- Rendered subscriptions/_fields.html.erb (0.4ms)
927
- Rendered subscriptions/_form.html.erb (2.8ms)
928
- Rendered subscriptions/edit.html.erb within layouts/application (3.7ms)
929
- Completed 200 OK in 10ms (Views: 8.4ms | ActiveRecord: 0.2ms)
930
-
931
-
932
- Started GET "/assets/main.css?body=1" for 127.0.0.1 at 2012-07-30 23:59:45 -0700
933
- Served asset /main.css - 304 Not Modified (0ms)
934
-
935
-
936
- Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-07-30 23:59:45 -0700
937
- Served asset /application.css - 304 Not Modified (0ms)
938
-
939
-
940
- Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2012-07-30 23:59:45 -0700
941
- Served asset /scaffold.css - 304 Not Modified (0ms)
942
-
943
-
944
- Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2012-07-30 23:59:45 -0700
945
- Served asset /users.css - 304 Not Modified (0ms)
946
-
947
-
948
- Started GET "/assets/subscriptions.css?body=1" for 127.0.0.1 at 2012-07-30 23:59:45 -0700
949
- Served asset /subscriptions.css - 304 Not Modified (0ms)
950
-
951
-
952
- Started GET "/assets/main.js?body=1" for 127.0.0.1 at 2012-07-30 23:59:45 -0700
953
- Served asset /main.js - 304 Not Modified (0ms)
954
-
955
-
956
- Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-07-30 23:59:45 -0700
957
- Served asset /jquery.js - 304 Not Modified (0ms)
958
-
959
-
960
- Started GET "/assets/subscriptions.js?body=1" for 127.0.0.1 at 2012-07-30 23:59:45 -0700
961
- Served asset /subscriptions.js - 304 Not Modified (0ms)
962
-
963
-
964
- Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-07-30 23:59:45 -0700
965
- Served asset /jquery_ujs.js - 304 Not Modified (0ms)
966
-
967
-
968
- Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2012-07-30 23:59:45 -0700
969
- Served asset /users.js - 304 Not Modified (0ms)
970
-
971
-
972
- Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-07-30 23:59:45 -0700
973
- Served asset /application.js - 304 Not Modified (0ms)
974
-
975
-
976
- Started PUT "/subscriptions/1" for 127.0.0.1 at 2012-07-30 23:59:47 -0700
977
- Processing by SubscriptionsController#update as HTML
978
- Parameters: {"utf8"=>"✓", "authenticity_token"=>"8jtLkfWStnbShQNadc6t3r5elmU+PifOH5zkdXzlumQ=", "subscription"=>{"category"=>"Premium"}, "commit"=>"Update Subscription", "id"=>"1"}
979
- Subscription Load (0.1ms) SELECT "subscriptions".* FROM "subscriptions" WHERE "subscriptions"."id" = ? LIMIT 1 [["id", "1"]]
980
- WARNING: Can't mass-assign protected attributes: category
981
-  (0.1ms) begin transaction
982
-  (0.0ms) commit transaction
983
- Redirected to http://localhost:3000/subscriptions/1
984
- Completed 302 Found in 4ms (ActiveRecord: 0.0ms)
985
-
986
-
987
- Started GET "/subscriptions/1" for 127.0.0.1 at 2012-07-30 23:59:48 -0700
988
- Processing by SubscriptionsController#show as HTML
989
- Parameters: {"id"=>"1"}
990
- Subscription Load (0.1ms) SELECT "subscriptions".* FROM "subscriptions" WHERE "subscriptions"."id" = ? LIMIT 1 [["id", "1"]]
991
- Rendered subscriptions/show.html.erb within layouts/application (0.6ms)
992
- Completed 200 OK in 7ms (Views: 5.8ms | ActiveRecord: 0.1ms)
993
-
994
-
995
- Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-07-30 23:59:48 -0700
996
- Served asset /application.css - 304 Not Modified (0ms)
997
-
998
-
999
- Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2012-07-30 23:59:48 -0700
1000
- Served asset /scaffold.css - 304 Not Modified (0ms)
1001
-
1002
-
1003
- Started GET "/assets/main.css?body=1" for 127.0.0.1 at 2012-07-30 23:59:48 -0700
1004
- Served asset /main.css - 304 Not Modified (0ms)
1005
-
1006
-
1007
- Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2012-07-30 23:59:48 -0700
1008
- Served asset /users.css - 304 Not Modified (0ms)
1009
-
1010
-
1011
- Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-07-30 23:59:48 -0700
1012
- Served asset /jquery.js - 304 Not Modified (0ms)
1013
-
1014
-
1015
- Started GET "/assets/subscriptions.css?body=1" for 127.0.0.1 at 2012-07-30 23:59:48 -0700
1016
- Served asset /subscriptions.css - 304 Not Modified (0ms)
1017
-
1018
-
1019
- Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-07-30 23:59:48 -0700
1020
- Served asset /jquery_ujs.js - 304 Not Modified (0ms)
1021
-
1022
-
1023
- Started GET "/assets/subscriptions.js?body=1" for 127.0.0.1 at 2012-07-30 23:59:48 -0700
1024
- Served asset /subscriptions.js - 304 Not Modified (0ms)
1025
-
1026
-
1027
- Started GET "/assets/main.js?body=1" for 127.0.0.1 at 2012-07-30 23:59:48 -0700
1028
- Served asset /main.js - 304 Not Modified (0ms)
1029
-
1030
-
1031
- Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2012-07-30 23:59:48 -0700
1032
- Served asset /users.js - 304 Not Modified (0ms)
1033
-
1034
-
1035
- Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-07-30 23:59:48 -0700
1036
- Served asset /application.js - 304 Not Modified (0ms)
1037
-
1038
-
1039
- Started GET "/subscriptions/1/edit" for 127.0.0.1 at 2012-07-31 00:00:06 -0700
1040
- Processing by SubscriptionsController#edit as HTML
1041
- Parameters: {"id"=>"1"}
1042
- Subscription Load (0.2ms) SELECT "subscriptions".* FROM "subscriptions" WHERE "subscriptions"."id" = ? LIMIT 1 [["id", "1"]]
1043
- Rendered subscriptions/_fields.html.erb (0.4ms)
1044
- Rendered subscriptions/_form.html.erb (3.0ms)
1045
- Rendered subscriptions/edit.html.erb within layouts/application (4.2ms)
1046
- Completed 200 OK in 12ms (Views: 10.8ms | ActiveRecord: 0.2ms)
1047
-
1048
-
1049
- Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-07-31 00:00:06 -0700
1050
- Served asset /application.css - 304 Not Modified (0ms)
1051
-
1052
-
1053
- Started GET "/assets/subscriptions.css?body=1" for 127.0.0.1 at 2012-07-31 00:00:06 -0700
1054
- Served asset /subscriptions.css - 304 Not Modified (0ms)
1055
-
1056
-
1057
- Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2012-07-31 00:00:06 -0700
1058
- Served asset /scaffold.css - 304 Not Modified (0ms)
1059
-
1060
-
1061
- Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-07-31 00:00:06 -0700
1062
- Served asset /jquery.js - 304 Not Modified (0ms)
1063
-
1064
-
1065
- Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2012-07-31 00:00:06 -0700
1066
- Served asset /users.css - 304 Not Modified (0ms)
1067
-
1068
-
1069
- Started GET "/assets/main.css?body=1" for 127.0.0.1 at 2012-07-31 00:00:06 -0700
1070
- Served asset /main.css - 304 Not Modified (0ms)
1071
-
1072
-
1073
- Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-07-31 00:00:06 -0700
1074
- Served asset /jquery_ujs.js - 304 Not Modified (0ms)
1075
-
1076
-
1077
- Started GET "/assets/subscriptions.js?body=1" for 127.0.0.1 at 2012-07-31 00:00:06 -0700
1078
- Served asset /subscriptions.js - 304 Not Modified (0ms)
1079
-
1080
-
1081
- Started GET "/assets/main.js?body=1" for 127.0.0.1 at 2012-07-31 00:00:06 -0700
1082
- Served asset /main.js - 304 Not Modified (0ms)
1083
-
1084
-
1085
- Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2012-07-31 00:00:06 -0700
1086
- Served asset /users.js - 304 Not Modified (0ms)
1087
-
1088
-
1089
- Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-07-31 00:00:06 -0700
1090
- Served asset /application.js - 304 Not Modified (0ms)
1091
-
1092
-
1093
- Started PUT "/subscriptions/1" for 127.0.0.1 at 2012-07-31 00:00:08 -0700
1094
- Processing by SubscriptionsController#update as HTML
1095
- Parameters: {"utf8"=>"✓", "authenticity_token"=>"8jtLkfWStnbShQNadc6t3r5elmU+PifOH5zkdXzlumQ=", "subscription"=>{"category"=>"Free"}, "commit"=>"Update Subscription", "id"=>"1"}
1096
- Subscription Load (0.1ms) SELECT "subscriptions".* FROM "subscriptions" WHERE "subscriptions"."id" = ? LIMIT 1 [["id", "1"]]
1097
- WARNING: Can't mass-assign protected attributes: category
1098
-  (0.1ms) begin transaction
1099
-  (0.0ms) commit transaction
1100
- Redirected to http://localhost:3000/subscriptions/1
1101
- Completed 302 Found in 3ms (ActiveRecord: 0.0ms)
1102
-
1103
-
1104
- Started GET "/subscriptions/1" for 127.0.0.1 at 2012-07-31 00:00:08 -0700
1105
- Processing by SubscriptionsController#show as HTML
1106
- Parameters: {"id"=>"1"}
1107
- Subscription Load (0.1ms) SELECT "subscriptions".* FROM "subscriptions" WHERE "subscriptions"."id" = ? LIMIT 1 [["id", "1"]]
1108
- Rendered subscriptions/show.html.erb within layouts/application (0.8ms)
1109
- Completed 200 OK in 7ms (Views: 6.1ms | ActiveRecord: 0.1ms)
1110
-
1111
-
1112
- Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-07-31 00:00:08 -0700
1113
- Served asset /jquery.js - 304 Not Modified (0ms)
1114
-
1115
-
1116
- Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-07-31 00:00:08 -0700
1117
- Served asset /application.css - 304 Not Modified (0ms)
1118
-
1119
-
1120
- Started GET "/assets/main.css?body=1" for 127.0.0.1 at 2012-07-31 00:00:08 -0700
1121
- Served asset /main.css - 304 Not Modified (0ms)
1122
-
1123
-
1124
- Started GET "/assets/subscriptions.css?body=1" for 127.0.0.1 at 2012-07-31 00:00:08 -0700
1125
- Served asset /subscriptions.css - 304 Not Modified (0ms)
1126
-
1127
-
1128
- Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2012-07-31 00:00:08 -0700
1129
- Served asset /scaffold.css - 304 Not Modified (0ms)
1130
-
1131
-
1132
- Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2012-07-31 00:00:08 -0700
1133
- Served asset /users.css - 304 Not Modified (0ms)
1134
-
1135
-
1136
- Started GET "/assets/main.js?body=1" for 127.0.0.1 at 2012-07-31 00:00:08 -0700
1137
- Served asset /main.js - 304 Not Modified (0ms)
1138
-
1139
-
1140
- Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-07-31 00:00:08 -0700
1141
- Served asset /jquery_ujs.js - 304 Not Modified (0ms)
1142
-
1143
-
1144
- Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-07-31 00:00:08 -0700
1145
- Served asset /application.js - 304 Not Modified (0ms)
1146
-
1147
-
1148
- Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2012-07-31 00:00:08 -0700
1149
- Served asset /users.js - 304 Not Modified (0ms)
1150
-
1151
-
1152
- Started GET "/assets/subscriptions.js?body=1" for 127.0.0.1 at 2012-07-31 00:00:08 -0700
1153
- Served asset /subscriptions.js - 304 Not Modified (0ms)
1154
-
1155
-
1156
- Started GET "/subscriptions/1/edit" for 127.0.0.1 at 2012-07-31 00:00:23 -0700
1157
- Processing by SubscriptionsController#edit as HTML
1158
- Parameters: {"id"=>"1"}
1159
- Subscription Load (0.1ms) SELECT "subscriptions".* FROM "subscriptions" WHERE "subscriptions"."id" = ? LIMIT 1 [["id", "1"]]
1160
- Rendered subscriptions/_fields.html.erb (0.4ms)
1161
- Rendered subscriptions/_form.html.erb (2.9ms)
1162
- Rendered subscriptions/edit.html.erb within layouts/application (3.7ms)
1163
- Completed 200 OK in 18ms (Views: 8.7ms | ActiveRecord: 0.6ms)
1164
-
1165
-
1166
- Started GET "/assets/main.css?body=1" for 127.0.0.1 at 2012-07-31 00:00:23 -0700
1167
- Served asset /main.css - 304 Not Modified (0ms)
1168
-
1169
-
1170
- Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2012-07-31 00:00:23 -0700
1171
- Served asset /users.css - 304 Not Modified (0ms)
1172
-
1173
-
1174
- Started GET "/assets/subscriptions.css?body=1" for 127.0.0.1 at 2012-07-31 00:00:23 -0700
1175
- Served asset /subscriptions.css - 304 Not Modified (0ms)
1176
-
1177
-
1178
- Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2012-07-31 00:00:23 -0700
1179
- Served asset /scaffold.css - 304 Not Modified (0ms)
1180
-
1181
-
1182
- Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-07-31 00:00:23 -0700
1183
- Served asset /jquery.js - 304 Not Modified (0ms)
1184
-
1185
-
1186
- Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-07-31 00:00:23 -0700
1187
- Served asset /application.css - 304 Not Modified (0ms)
1188
-
1189
-
1190
- Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-07-31 00:00:23 -0700
1191
- Served asset /jquery_ujs.js - 304 Not Modified (0ms)
1192
-
1193
-
1194
- Started GET "/assets/main.js?body=1" for 127.0.0.1 at 2012-07-31 00:00:23 -0700
1195
- Served asset /main.js - 304 Not Modified (0ms)
1196
-
1197
-
1198
- Started GET "/assets/subscriptions.js?body=1" for 127.0.0.1 at 2012-07-31 00:00:23 -0700
1199
- Served asset /subscriptions.js - 304 Not Modified (0ms)
1200
-
1201
-
1202
- Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2012-07-31 00:00:23 -0700
1203
- Served asset /users.js - 304 Not Modified (0ms)
1204
-
1205
-
1206
- Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-07-31 00:00:23 -0700
1207
- Served asset /application.js - 304 Not Modified (0ms)
1208
-
1209
-
1210
- Started PUT "/subscriptions/1" for 127.0.0.1 at 2012-07-31 00:00:26 -0700
1211
- Processing by SubscriptionsController#update as HTML
1212
- Parameters: {"utf8"=>"✓", "authenticity_token"=>"8jtLkfWStnbShQNadc6t3r5elmU+PifOH5zkdXzlumQ=", "subscription"=>{"category"=>"Premium"}, "commit"=>"Update Subscription", "id"=>"1"}
1213
- Subscription Load (0.2ms) SELECT "subscriptions".* FROM "subscriptions" WHERE "subscriptions"."id" = ? LIMIT 1 [["id", "1"]]
1214
-  (0.1ms) begin transaction
1215
-  (0.7ms) UPDATE "subscriptions" SET "category" = 'Premium', "updated_at" = '2012-07-31 07:00:26.506642' WHERE "subscriptions"."id" = 1
1216
-  (0.7ms) commit transaction
1217
- Redirected to http://localhost:3000/subscriptions/1
1218
- Completed 302 Found in 8ms (ActiveRecord: 0.0ms)
1219
-
1220
-
1221
- Started GET "/subscriptions/1" for 127.0.0.1 at 2012-07-31 00:00:26 -0700
1222
- Processing by SubscriptionsController#show as HTML
1223
- Parameters: {"id"=>"1"}
1224
- Subscription Load (0.2ms) SELECT "subscriptions".* FROM "subscriptions" WHERE "subscriptions"."id" = ? LIMIT 1 [["id", "1"]]
1225
- Rendered subscriptions/show.html.erb within layouts/application (0.7ms)
1226
- Completed 200 OK in 7ms (Views: 5.3ms | ActiveRecord: 0.2ms)
1227
-
1228
-
1229
- Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-07-31 00:00:26 -0700
1230
- Served asset /application.css - 304 Not Modified (0ms)
1231
-
1232
-
1233
- Started GET "/assets/main.css?body=1" for 127.0.0.1 at 2012-07-31 00:00:26 -0700
1234
- Served asset /main.css - 304 Not Modified (0ms)
1235
-
1236
-
1237
- Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2012-07-31 00:00:26 -0700
1238
- Served asset /scaffold.css - 304 Not Modified (0ms)
1239
-
1240
-
1241
- Started GET "/assets/subscriptions.css?body=1" for 127.0.0.1 at 2012-07-31 00:00:26 -0700
1242
- Served asset /subscriptions.css - 304 Not Modified (0ms)
1243
-
1244
-
1245
- Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2012-07-31 00:00:26 -0700
1246
- Served asset /users.css - 304 Not Modified (0ms)
1247
-
1248
-
1249
- Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-07-31 00:00:26 -0700
1250
- Served asset /jquery_ujs.js - 304 Not Modified (0ms)
1251
-
1252
-
1253
- Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-07-31 00:00:26 -0700
1254
- Served asset /jquery.js - 304 Not Modified (0ms)
1255
-
1256
-
1257
- Started GET "/assets/main.js?body=1" for 127.0.0.1 at 2012-07-31 00:00:26 -0700
1258
- Served asset /main.js - 304 Not Modified (0ms)
1259
-
1260
-
1261
- Started GET "/assets/subscriptions.js?body=1" for 127.0.0.1 at 2012-07-31 00:00:26 -0700
1262
- Served asset /subscriptions.js - 304 Not Modified (0ms)
1263
-
1264
-
1265
- Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2012-07-31 00:00:26 -0700
1266
- Served asset /users.js - 304 Not Modified (0ms)
1267
-
1268
-
1269
- Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-07-31 00:00:26 -0700
1270
- Served asset /application.js - 304 Not Modified (0ms)
1271
-
1272
-
1273
- Started GET "/subscriptions/1/edit" for 127.0.0.1 at 2012-07-31 00:00:29 -0700
1274
- Processing by SubscriptionsController#edit as HTML
1275
- Parameters: {"id"=>"1"}
1276
- Subscription Load (0.1ms) SELECT "subscriptions".* FROM "subscriptions" WHERE "subscriptions"."id" = ? LIMIT 1 [["id", "1"]]
1277
- Rendered subscriptions/_fields.html.erb (0.4ms)
1278
- Rendered subscriptions/_form.html.erb (2.3ms)
1279
- Rendered subscriptions/edit.html.erb within layouts/application (3.1ms)
1280
- Completed 200 OK in 9ms (Views: 7.8ms | ActiveRecord: 0.1ms)
1281
-
1282
-
1283
- Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-07-31 00:00:29 -0700
1284
- Served asset /application.css - 304 Not Modified (0ms)
1285
-
1286
-
1287
- Started GET "/assets/main.css?body=1" for 127.0.0.1 at 2012-07-31 00:00:29 -0700
1288
- Served asset /main.css - 304 Not Modified (0ms)
1289
-
1290
-
1291
- Started GET "/assets/subscriptions.css?body=1" for 127.0.0.1 at 2012-07-31 00:00:29 -0700
1292
- Served asset /subscriptions.css - 304 Not Modified (0ms)
1293
-
1294
-
1295
- Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-07-31 00:00:29 -0700
1296
- Served asset /jquery.js - 304 Not Modified (0ms)
1297
-
1298
-
1299
- Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2012-07-31 00:00:29 -0700
1300
- Served asset /scaffold.css - 304 Not Modified (0ms)
1301
-
1302
-
1303
- Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2012-07-31 00:00:29 -0700
1304
- Served asset /users.css - 304 Not Modified (0ms)
1305
-
1306
-
1307
- Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-07-31 00:00:29 -0700
1308
- Served asset /jquery_ujs.js - 304 Not Modified (0ms)
1309
-
1310
-
1311
- Started GET "/assets/subscriptions.js?body=1" for 127.0.0.1 at 2012-07-31 00:00:29 -0700
1312
- Served asset /subscriptions.js - 304 Not Modified (0ms)
1313
-
1314
-
1315
- Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2012-07-31 00:00:29 -0700
1316
- Served asset /users.js - 304 Not Modified (0ms)
1317
-
1318
-
1319
- Started GET "/assets/main.js?body=1" for 127.0.0.1 at 2012-07-31 00:00:29 -0700
1320
- Served asset /main.js - 304 Not Modified (0ms)
1321
-
1322
-
1323
- Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-07-31 00:00:29 -0700
1324
- Served asset /application.js - 304 Not Modified (0ms)
1325
-
1326
-
1327
- Started GET "/subscriptions" for 127.0.0.1 at 2012-07-31 00:00:31 -0700
1328
- Processing by SubscriptionsController#index as HTML
1329
- Subscription Load (0.3ms) SELECT "subscriptions".* FROM "subscriptions" 
1330
- Rendered subscriptions/index.html.erb within layouts/application (1.3ms)
1331
- Completed 200 OK in 8ms (Views: 6.5ms | ActiveRecord: 0.3ms)
1332
-
1333
-
1334
- Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-07-31 00:00:31 -0700
1335
- Served asset /application.css - 304 Not Modified (0ms)
1336
-
1337
-
1338
- Started GET "/assets/main.css?body=1" for 127.0.0.1 at 2012-07-31 00:00:31 -0700
1339
- Served asset /main.css - 304 Not Modified (0ms)
1340
-
1341
-
1342
- Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2012-07-31 00:00:31 -0700
1343
- Served asset /users.css - 304 Not Modified (0ms)
1344
-
1345
-
1346
- Started GET "/assets/subscriptions.css?body=1" for 127.0.0.1 at 2012-07-31 00:00:31 -0700
1347
- Served asset /subscriptions.css - 304 Not Modified (0ms)
1348
-
1349
-
1350
- Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2012-07-31 00:00:31 -0700
1351
- Served asset /scaffold.css - 304 Not Modified (0ms)
1352
-
1353
-
1354
- Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-07-31 00:00:31 -0700
1355
- Served asset /jquery.js - 304 Not Modified (0ms)
1356
-
1357
-
1358
- Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-07-31 00:00:31 -0700
1359
- Served asset /jquery_ujs.js - 304 Not Modified (0ms)
1360
-
1361
-
1362
- Started GET "/assets/main.js?body=1" for 127.0.0.1 at 2012-07-31 00:00:31 -0700
1363
- Served asset /main.js - 304 Not Modified (0ms)
1364
-
1365
-
1366
- Started GET "/assets/subscriptions.js?body=1" for 127.0.0.1 at 2012-07-31 00:00:31 -0700
1367
- Served asset /subscriptions.js - 304 Not Modified (0ms)
1368
-
1369
-
1370
- Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2012-07-31 00:00:31 -0700
1371
- Served asset /users.js - 304 Not Modified (0ms)
1372
-
1373
-
1374
- Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-07-31 00:00:31 -0700
1375
- Served asset /application.js - 304 Not Modified (0ms)
1376
-
1377
-
1378
- Started GET "/subscriptions/new" for 127.0.0.1 at 2012-07-31 00:00:36 -0700
1379
- Processing by SubscriptionsController#new as HTML
1380
- Rendered subscriptions/_fields.html.erb (0.4ms)
1381
- Rendered users/_fields.html.erb (1.4ms)
1382
- Rendered subscriptions/_form.html.erb (4.5ms)
1383
- Rendered subscriptions/new.html.erb within layouts/application (5.1ms)
1384
- Completed 200 OK in 21ms (Views: 9.8ms | ActiveRecord: 0.3ms)
1385
-
1386
-
1387
- Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-07-31 00:00:36 -0700
1388
- Served asset /application.css - 304 Not Modified (0ms)
1389
-
1390
-
1391
- Started GET "/assets/main.css?body=1" for 127.0.0.1 at 2012-07-31 00:00:36 -0700
1392
- Served asset /main.css - 304 Not Modified (0ms)
1393
-
1394
-
1395
- Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2012-07-31 00:00:36 -0700
1396
- Served asset /users.css - 304 Not Modified (0ms)
1397
-
1398
-
1399
- Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2012-07-31 00:00:36 -0700
1400
- Served asset /scaffold.css - 304 Not Modified (0ms)
1401
-
1402
-
1403
- Started GET "/assets/subscriptions.css?body=1" for 127.0.0.1 at 2012-07-31 00:00:36 -0700
1404
- Served asset /subscriptions.css - 304 Not Modified (0ms)
1405
-
1406
-
1407
- Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-07-31 00:00:36 -0700
1408
- Served asset /jquery.js - 304 Not Modified (0ms)
1409
-
1410
-
1411
- Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-07-31 00:00:36 -0700
1412
- Served asset /jquery_ujs.js - 304 Not Modified (0ms)
1413
-
1414
-
1415
- Started GET "/assets/main.js?body=1" for 127.0.0.1 at 2012-07-31 00:00:36 -0700
1416
- Served asset /main.js - 304 Not Modified (0ms)
1417
-
1418
-
1419
- Started GET "/assets/subscriptions.js?body=1" for 127.0.0.1 at 2012-07-31 00:00:36 -0700
1420
- Served asset /subscriptions.js - 304 Not Modified (0ms)
1421
-
1422
-
1423
- Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2012-07-31 00:00:36 -0700
1424
- Served asset /users.js - 304 Not Modified (0ms)
1425
-
1426
-
1427
- Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-07-31 00:00:36 -0700
1428
- Served asset /application.js - 304 Not Modified (0ms)
1429
-
1430
-
1431
- Started POST "/subscriptions" for 127.0.0.1 at 2012-07-31 00:00:52 -0700
1432
- Processing by SubscriptionsController#create as HTML
1433
- Parameters: {"utf8"=>"✓", "authenticity_token"=>"8jtLkfWStnbShQNadc6t3r5elmU+PifOH5zkdXzlumQ=", "subscription"=>{"category"=>"Free", "user"=>{"name"=>"Kevin", "email"=>"kevin@ksylvest.com", "fb_share"=>"1", "tw_share"=>"1", "tb_share"=>"false"}}, "commit"=>"Create Subscription"}
1434
- WARNING: Can't mass-assign protected attributes: user
1435
-  (0.1ms) begin transaction
1436
- SQL (0.8ms) INSERT INTO "subscriptions" ("category", "created_at", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["category", "Free"], ["created_at", Tue, 31 Jul 2012 07:00:52 UTC +00:00], ["updated_at", Tue, 31 Jul 2012 07:00:52 UTC +00:00], ["user_id", nil]]
1437
-  (0.9ms) commit transaction
1438
- Redirected to http://localhost:3000/subscriptions/2
1439
- Completed 302 Found in 6ms (ActiveRecord: 0.0ms)
1440
-
1441
-
1442
- Started GET "/subscriptions/2" for 127.0.0.1 at 2012-07-31 00:00:52 -0700
1443
- Processing by SubscriptionsController#show as HTML
1444
- Parameters: {"id"=>"2"}
1445
- Subscription Load (0.1ms) SELECT "subscriptions".* FROM "subscriptions" WHERE "subscriptions"."id" = ? LIMIT 1 [["id", "2"]]
1446
- Rendered subscriptions/show.html.erb within layouts/application (0.8ms)
1447
- Completed 200 OK in 7ms (Views: 5.8ms | ActiveRecord: 0.1ms)
1448
-
1449
-
1450
- Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-07-31 00:00:52 -0700
1451
- Served asset /application.css - 304 Not Modified (0ms)
1452
-
1453
-
1454
- Started GET "/assets/main.css?body=1" for 127.0.0.1 at 2012-07-31 00:00:52 -0700
1455
- Served asset /main.css - 304 Not Modified (0ms)
1456
-
1457
-
1458
- Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2012-07-31 00:00:52 -0700
1459
- Served asset /users.css - 304 Not Modified (0ms)
1460
-
1461
-
1462
- Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2012-07-31 00:00:52 -0700
1463
- Served asset /scaffold.css - 304 Not Modified (0ms)
1464
-
1465
-
1466
- Started GET "/assets/subscriptions.css?body=1" for 127.0.0.1 at 2012-07-31 00:00:52 -0700
1467
- Served asset /subscriptions.css - 304 Not Modified (0ms)
1468
-
1469
-
1470
- Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-07-31 00:00:52 -0700
1471
- Served asset /jquery.js - 304 Not Modified (0ms)
1472
-
1473
-
1474
- Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-07-31 00:00:52 -0700
1475
- Served asset /jquery_ujs.js - 304 Not Modified (0ms)
1476
-
1477
-
1478
- Started GET "/assets/main.js?body=1" for 127.0.0.1 at 2012-07-31 00:00:52 -0700
1479
- Served asset /main.js - 304 Not Modified (0ms)
1480
-
1481
-
1482
- Started GET "/assets/subscriptions.js?body=1" for 127.0.0.1 at 2012-07-31 00:00:52 -0700
1483
- Served asset /subscriptions.js - 304 Not Modified (0ms)
1484
-
1485
-
1486
- Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2012-07-31 00:00:52 -0700
1487
- Served asset /users.js - 304 Not Modified (0ms)
1488
-
1489
-
1490
- Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-07-31 00:00:52 -0700
1491
- Served asset /application.js - 304 Not Modified (0ms)
1492
-
1493
-
1494
- Started GET "/subscriptions/2/edit" for 127.0.0.1 at 2012-07-31 00:00:54 -0700
1495
- Processing by SubscriptionsController#edit as HTML
1496
- Parameters: {"id"=>"2"}
1497
- Subscription Load (0.2ms) SELECT "subscriptions".* FROM "subscriptions" WHERE "subscriptions"."id" = ? LIMIT 1 [["id", "2"]]
1498
- Rendered subscriptions/_fields.html.erb (0.6ms)
1499
- Rendered subscriptions/_form.html.erb (3.4ms)
1500
- Rendered subscriptions/edit.html.erb within layouts/application (4.6ms)
1501
- Completed 200 OK in 11ms (Views: 9.9ms | ActiveRecord: 0.2ms)
1502
-
1503
-
1504
- Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-07-31 00:00:54 -0700
1505
- Served asset /application.css - 304 Not Modified (0ms)
1506
-
1507
-
1508
- Started GET "/assets/main.css?body=1" for 127.0.0.1 at 2012-07-31 00:00:54 -0700
1509
- Served asset /main.css - 304 Not Modified (0ms)
1510
-
1511
-
1512
- Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-07-31 00:00:54 -0700
1513
- Served asset /jquery_ujs.js - 304 Not Modified (0ms)
1514
-
1515
-
1516
- Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-07-31 00:00:54 -0700
1517
- Served asset /jquery.js - 304 Not Modified (0ms)
1518
-
1519
-
1520
- Started GET "/assets/subscriptions.css?body=1" for 127.0.0.1 at 2012-07-31 00:00:54 -0700
1521
- Served asset /subscriptions.css - 304 Not Modified (0ms)
1522
-
1523
-
1524
- Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2012-07-31 00:00:54 -0700
1525
- Served asset /scaffold.css - 304 Not Modified (0ms)
1526
-
1527
-
1528
- Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2012-07-31 00:00:54 -0700
1529
- Served asset /users.css - 304 Not Modified (0ms)
1530
-
1531
-
1532
- Started GET "/assets/subscriptions.js?body=1" for 127.0.0.1 at 2012-07-31 00:00:54 -0700
1533
- Served asset /subscriptions.js - 304 Not Modified (0ms)
1534
-
1535
-
1536
- Started GET "/assets/main.js?body=1" for 127.0.0.1 at 2012-07-31 00:00:54 -0700
1537
- Served asset /main.js - 304 Not Modified (0ms)
1538
-
1539
-
1540
- Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-07-31 00:00:54 -0700
1541
- Served asset /application.js - 304 Not Modified (0ms)
1542
-
1543
-
1544
- Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2012-07-31 00:00:54 -0700
1545
- Served asset /users.js - 304 Not Modified (0ms)
1546
-
1547
-
1548
- Started GET "/subscriptions" for 127.0.0.1 at 2012-07-31 00:00:57 -0700
1549
- Processing by SubscriptionsController#index as HTML
1550
- Subscription Load (0.3ms) SELECT "subscriptions".* FROM "subscriptions" 
1551
- Rendered subscriptions/index.html.erb within layouts/application (2.0ms)
1552
- Completed 200 OK in 9ms (Views: 7.9ms | ActiveRecord: 0.3ms)
1553
-
1554
-
1555
- Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-07-31 00:00:57 -0700
1556
- Served asset /application.css - 304 Not Modified (0ms)
1557
-
1558
-
1559
- Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2012-07-31 00:00:57 -0700
1560
- Served asset /users.css - 304 Not Modified (0ms)
1561
-
1562
-
1563
- Started GET "/assets/subscriptions.css?body=1" for 127.0.0.1 at 2012-07-31 00:00:57 -0700
1564
- Served asset /subscriptions.css - 304 Not Modified (0ms)
1565
-
1566
-
1567
- Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2012-07-31 00:00:57 -0700
1568
- Served asset /scaffold.css - 304 Not Modified (0ms)
1569
-
1570
-
1571
- Started GET "/assets/main.css?body=1" for 127.0.0.1 at 2012-07-31 00:00:57 -0700
1572
- Served asset /main.css - 304 Not Modified (0ms)
1573
-
1574
-
1575
- Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-07-31 00:00:57 -0700
1576
- Served asset /jquery.js - 304 Not Modified (0ms)
1577
-
1578
-
1579
- Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-07-31 00:00:57 -0700
1580
- Served asset /jquery_ujs.js - 304 Not Modified (0ms)
1581
-
1582
-
1583
- Started GET "/assets/main.js?body=1" for 127.0.0.1 at 2012-07-31 00:00:57 -0700
1584
- Served asset /main.js - 304 Not Modified (0ms)
1585
-
1586
-
1587
- Started GET "/assets/subscriptions.js?body=1" for 127.0.0.1 at 2012-07-31 00:00:57 -0700
1588
- Served asset /subscriptions.js - 304 Not Modified (0ms)
1589
-
1590
-
1591
- Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-07-31 00:00:57 -0700
1592
- Served asset /application.js - 304 Not Modified (0ms)
1593
-
1594
-
1595
- Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2012-07-31 00:00:57 -0700
1596
- Served asset /users.js - 304 Not Modified (0ms)
1597
-
1598
-
1599
- Started GET "/subscriptions/2/edit" for 127.0.0.1 at 2012-07-31 00:00:59 -0700
1600
- Processing by SubscriptionsController#edit as HTML
1601
- Parameters: {"id"=>"2"}
1602
- Subscription Load (0.1ms) SELECT "subscriptions".* FROM "subscriptions" WHERE "subscriptions"."id" = ? LIMIT 1 [["id", "2"]]
1603
- Rendered subscriptions/_fields.html.erb (0.5ms)
1604
- Rendered subscriptions/_form.html.erb (2.0ms)
1605
- Rendered subscriptions/edit.html.erb within layouts/application (2.8ms)
1606
- Completed 200 OK in 8ms (Views: 7.1ms | ActiveRecord: 0.1ms)
1607
-
1608
-
1609
- Started GET "/assets/main.css?body=1" for 127.0.0.1 at 2012-07-31 00:00:59 -0700
1610
- Served asset /main.css - 304 Not Modified (0ms)
1611
-
1612
-
1613
- Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2012-07-31 00:00:59 -0700
1614
- Served asset /users.css - 304 Not Modified (0ms)
1615
-
1616
-
1617
- Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-07-31 00:00:59 -0700
1618
- Served asset /jquery.js - 304 Not Modified (0ms)
1619
-
1620
-
1621
- Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-07-31 00:00:59 -0700
1622
- Served asset /application.css - 304 Not Modified (0ms)
1623
-
1624
-
1625
- Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2012-07-31 00:00:59 -0700
1626
- Served asset /scaffold.css - 304 Not Modified (0ms)
1627
-
1628
-
1629
- Started GET "/assets/subscriptions.css?body=1" for 127.0.0.1 at 2012-07-31 00:00:59 -0700
1630
- Served asset /subscriptions.css - 304 Not Modified (0ms)
1631
-
1632
-
1633
- Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-07-31 00:00:59 -0700
1634
- Served asset /jquery_ujs.js - 304 Not Modified (0ms)
1635
-
1636
-
1637
- Started GET "/assets/subscriptions.js?body=1" for 127.0.0.1 at 2012-07-31 00:00:59 -0700
1638
- Served asset /subscriptions.js - 304 Not Modified (0ms)
1639
-
1640
-
1641
- Started GET "/assets/main.js?body=1" for 127.0.0.1 at 2012-07-31 00:00:59 -0700
1642
- Served asset /main.js - 304 Not Modified (0ms)
1643
-
1644
-
1645
- Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-07-31 00:00:59 -0700
1646
- Served asset /application.js - 304 Not Modified (0ms)
1647
-
1648
-
1649
- Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2012-07-31 00:00:59 -0700
1650
- Served asset /users.js - 304 Not Modified (0ms)
1651
- Connecting to database specified by database.yml
1652
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
1653
-  (0.2ms) select sqlite_version(*)
1654
-  (1.1ms) CREATE TABLE "subscriptions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "category" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
1655
-  (0.0ms) PRAGMA index_list("subscriptions")
1656
-  (1.0ms) CREATE INDEX "index_subscriptions_on_user_id" ON "subscriptions" ("user_id")
1657
-  (1.3ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "email" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime)
1658
-  (0.9ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
1659
-  (0.0ms) PRAGMA index_list("schema_migrations")
1660
-  (0.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
1661
-  (0.1ms) SELECT version FROM "schema_migrations"
1662
-  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20120731064307')
1663
-  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20110927222742')
1664
- Connecting to database specified by database.yml
1665
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
1666
-  (0.2ms) select sqlite_version(*)
1667
-  (1.4ms) CREATE TABLE "subscriptions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "category" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
1668
-  (0.0ms) PRAGMA index_list("subscriptions")
1669
-  (0.9ms) CREATE INDEX "index_subscriptions_on_user_id" ON "subscriptions" ("user_id")
1670
-  (0.8ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "email" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime)
1671
-  (0.9ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
1672
-  (0.0ms) PRAGMA index_list("schema_migrations")
1673
-  (0.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
1674
-  (0.1ms) SELECT version FROM "schema_migrations"
1675
-  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20120731064307')
1676
-  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20110927222742')
1677
- Connecting to database specified by database.yml
1678
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
1679
-  (0.2ms) select sqlite_version(*)
1680
-  (1.4ms) CREATE TABLE "subscriptions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "category" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
1681
-  (0.0ms) PRAGMA index_list("subscriptions")
1682
-  (0.9ms) CREATE INDEX "index_subscriptions_on_user_id" ON "subscriptions" ("user_id")
1683
-  (1.1ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "email" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime)
1684
1
   (0.8ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
1685
-  (0.0ms) PRAGMA index_list("schema_migrations")
1686
-  (1.0ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
2
+  (0.7ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
3
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
4
+ Migrating to CreateUsers (20110927222742)
5
+  (0.1ms) begin transaction
6
+  (0.3ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "account_id" integer, "name" varchar(255), "email" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime) 
7
+  (0.1ms) CREATE INDEX "index_users_on_account_id" ON "users" ("account_id")
8
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20110927222742"]]
9
+  (0.6ms) commit transaction
10
+ Migrating to CreateAccounts (20120731074843)
11
+  (0.1ms) begin transaction
12
+  (0.2ms) CREATE TABLE "accounts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "created_at" datetime, "updated_at" datetime)
13
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20120731074843"]]
14
+  (0.5ms) commit transaction
15
+ Migrating to CreateSubscriptions (20130207030140)
16
+  (0.1ms) begin transaction
17
+  (0.2ms) CREATE TABLE "subscriptions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "created_at" datetime, "updated_at" datetime)
18
+  (0.1ms) CREATE INDEX "index_subscriptions_on_user_id" ON "subscriptions" ("user_id")
19
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20130207030140"]]
20
+  (0.5ms) commit transaction
21
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
22
+  (0.8ms) CREATE TABLE "accounts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "created_at" datetime, "updated_at" datetime) 
23
+  (0.5ms) CREATE TABLE "subscriptions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "created_at" datetime, "updated_at" datetime)
24
+  (0.5ms) CREATE INDEX "index_subscriptions_on_user_id" ON "subscriptions" ("user_id")
25
+  (0.5ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "account_id" integer, "name" varchar(255), "email" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime)
26
+  (0.6ms) CREATE INDEX "index_users_on_account_id" ON "users" ("account_id")
27
+  (0.6ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
28
+  (0.5ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
1687
29
   (0.1ms) SELECT version FROM "schema_migrations"
1688
-  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20120731064307')
1689
-  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20110927222742')
1690
-
1691
-
1692
- Started GET "/subscriptions/new" for 127.0.0.1 at 2012-07-31 00:12:13 -0700
1693
- Processing by SubscriptionsController#new as HTML
1694
- Rendered subscriptions/_fields.html.erb (0.4ms)
1695
- Rendered users/_fields.html.erb (1.6ms)
1696
- Rendered subscriptions/_form.html.erb (4.5ms)
1697
- Rendered subscriptions/new.html.erb within layouts/application (5.2ms)
1698
- Completed 200 OK in 12ms (Views: 10.2ms | ActiveRecord: 0.0ms)
1699
-
1700
-
1701
- Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-07-31 00:12:13 -0700
1702
- Served asset /application.css - 304 Not Modified (0ms)
1703
-
1704
-
1705
- Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2012-07-31 00:12:13 -0700
1706
- Served asset /users.css - 304 Not Modified (0ms)
1707
-
1708
-
1709
- Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2012-07-31 00:12:13 -0700
1710
- Served asset /scaffold.css - 304 Not Modified (0ms)
1711
-
1712
-
1713
- Started GET "/assets/main.css?body=1" for 127.0.0.1 at 2012-07-31 00:12:13 -0700
1714
- Served asset /main.css - 304 Not Modified (0ms)
1715
-
1716
-
1717
- Started GET "/assets/subscriptions.css?body=1" for 127.0.0.1 at 2012-07-31 00:12:13 -0700
1718
- Served asset /subscriptions.css - 304 Not Modified (0ms)
1719
-
1720
-
1721
- Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-07-31 00:12:13 -0700
1722
- Served asset /jquery.js - 304 Not Modified (0ms)
1723
-
1724
-
1725
- Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-07-31 00:12:13 -0700
1726
- Served asset /jquery_ujs.js - 304 Not Modified (0ms)
1727
-
1728
-
1729
- Started GET "/assets/main.js?body=1" for 127.0.0.1 at 2012-07-31 00:12:13 -0700
1730
- Served asset /main.js - 304 Not Modified (0ms)
1731
-
1732
-
1733
- Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2012-07-31 00:12:13 -0700
1734
- Served asset /users.js - 304 Not Modified (0ms)
1735
-
30
+  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20130207030140')
31
+  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20110927222742')
32
+  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20120731074843')
33
+  (0.1ms) begin transaction
34
+ SQL (3.9ms) INSERT INTO "accounts" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 30 Oct 2013 00:48:58 UTC +00:00], ["updated_at", Wed, 30 Oct 2013 00:48:58 UTC +00:00]]
35
+  (0.6ms) commit transaction
36
+  (0.1ms) begin transaction
37
+ SQL (2.5ms) INSERT INTO "users" ("account_id", "created_at", "settings", "updated_at") VALUES (?, ?, ?, ?) [["account_id", 1], ["created_at", Wed, 30 Oct 2013 00:49:24 UTC +00:00], ["settings", "--- {}\n"], ["updated_at", Wed, 30 Oct 2013 00:49:24 UTC +00:00]]
38
+  (0.7ms) commit transaction
39
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."account_id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["account_id", 1]]
40
+ WARNING: Can't mass-assign protected attributes for Account: name, user_attributes
1736
41
 
1737
- Started GET "/assets/subscriptions.js?body=1" for 127.0.0.1 at 2012-07-31 00:12:13 -0700
1738
- Served asset /subscriptions.js - 304 Not Modified (0ms)
42
+  (0.1ms) begin transaction
43
+ SQL (0.4ms) INSERT INTO "accounts" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 30 Oct 2013 00:50:06 UTC +00:00], ["updated_at", Wed, 30 Oct 2013 00:50:06 UTC +00:00]]
44
+  (0.6ms) commit transaction
45
+ WARNING: Can't mass-assign protected attributes for Account: user_attributes
1739
46
 
47
+  (0.1ms) begin transaction
48
+ SQL (0.4ms) INSERT INTO "accounts" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 30 Oct 2013 00:50:18 UTC +00:00], ["name", "Personal"], ["updated_at", Wed, 30 Oct 2013 00:50:18 UTC +00:00]]
49
+  (0.6ms) commit transaction
50
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."account_id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["account_id", 3]]
51
+ WARNING: Can't mass-assign protected attributes for Account: user_attributes
1740
52
 
1741
- Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-07-31 00:12:13 -0700
1742
- Served asset /application.js - 304 Not Modified (0ms)
1743
- Connecting to database specified by database.yml
53
+  (0.1ms) begin transaction
54
+ SQL (0.3ms) INSERT INTO "accounts" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 30 Oct 2013 00:50:38 UTC +00:00], ["name", "Personal"], ["updated_at", Wed, 30 Oct 2013 00:50:38 UTC +00:00]]
55
+  (0.6ms) commit transaction
56
+  (0.1ms) begin transaction
57
+ SQL (0.4ms) INSERT INTO "accounts" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 30 Oct 2013 00:51:20 UTC +00:00], ["name", "Personal"], ["updated_at", Wed, 30 Oct 2013 00:51:20 UTC +00:00]]
58
+ SQL (0.2ms) INSERT INTO "users" ("account_id", "created_at", "settings", "updated_at") VALUES (?, ?, ?, ?) [["account_id", 5], ["created_at", Wed, 30 Oct 2013 00:51:20 UTC +00:00], ["settings", "---\n:tw_share: false\n:fb_share: false\n:tb_share: true\n"], ["updated_at", Wed, 30 Oct 2013 00:51:20 UTC +00:00]]
59
+  (0.6ms) commit transaction
1744
60
 
1745
61
 
1746
- Started GET "/" for 127.0.0.1 at 2012-07-31 00:21:41 -0700
62
+ Started GET "/" for 0:0:0:0:0:0:0:1%0 at 2013-10-29 19:57:01 -0700
63
+  (7.0ms) SELECT name FROM sqlite_master WHERE type = 'table' AND name = "schema_migrations"
64
+ ActiveRecord::SchemaMigration Load (1.0ms) SELECT "schema_migrations".* FROM "schema_migrations"
65
+  (0.0ms) SELECT name FROM sqlite_master WHERE type = 'table' AND name = "schema_migrations"
1747
66
  Processing by MainController#index as HTML
1748
- Rendered main/index.html.erb within layouts/application (1.0ms)
1749
- Completed 200 OK in 8ms (Views: 7.7ms | ActiveRecord: 0.0ms)
1750
-
1751
-
1752
- Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-07-31 00:21:41 -0700
1753
- Served asset /application.css - 304 Not Modified (0ms)
67
+ Rendered main/index.html.haml within layouts/application (11.0ms)
68
+ Completed 200 OK in 757ms (Views: 754.0ms | ActiveRecord: 0.0ms)
1754
69
 
1755
70
 
1756
- Started GET "/assets/main.css?body=1" for 127.0.0.1 at 2012-07-31 00:21:41 -0700
1757
- Served asset /main.css - 304 Not Modified (0ms)
71
+ Started GET "/assets/jquery.js?body=1" for 0:0:0:0:0:0:0:1%0 at 2013-10-29 19:57:02 -0700
1758
72
 
1759
73
 
1760
- Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2012-07-31 00:21:41 -0700
1761
- Served asset /users.css - 304 Not Modified (0ms)
74
+ Started GET "/assets/application.css?body=1" for 0:0:0:0:0:0:0:1%0 at 2013-10-29 19:57:02 -0700
1762
75
 
1763
76
 
1764
- Started GET "/assets/subscriptions.css?body=1" for 127.0.0.1 at 2012-07-31 00:21:41 -0700
1765
- Served asset /subscriptions.css - 304 Not Modified (0ms)
77
+ Started GET "/assets/jquery_ujs.js?body=1" for 0:0:0:0:0:0:0:1%0 at 2013-10-29 19:57:02 -0700
1766
78
 
1767
79
 
1768
- Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2012-07-31 00:21:41 -0700
1769
- Served asset /scaffold.css - 304 Not Modified (0ms)
80
+ Started GET "/assets/application.js?body=1" for 0:0:0:0:0:0:0:1%0 at 2013-10-29 19:57:02 -0700
1770
81
 
1771
82
 
1772
- Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-07-31 00:21:41 -0700
1773
- Served asset /jquery.js - 304 Not Modified (0ms)
1774
-
1775
-
1776
- Started GET "/assets/main.js?body=1" for 127.0.0.1 at 2012-07-31 00:21:41 -0700
1777
- Served asset /main.js - 304 Not Modified (0ms)
1778
-
1779
-
1780
- Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-07-31 00:21:41 -0700
1781
- Served asset /jquery_ujs.js - 304 Not Modified (0ms)
1782
-
1783
-
1784
- Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-07-31 00:21:41 -0700
1785
- Served asset /application.js - 304 Not Modified (0ms)
1786
-
1787
-
1788
- Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2012-07-31 00:21:41 -0700
1789
- Served asset /users.js - 304 Not Modified (0ms)
1790
-
1791
-
1792
- Started GET "/assets/subscriptions.js?body=1" for 127.0.0.1 at 2012-07-31 00:21:41 -0700
1793
- Served asset /subscriptions.js - 304 Not Modified (0ms)
1794
-
1795
-
1796
- Started GET "/subscriptions" for 127.0.0.1 at 2012-07-31 00:21:43 -0700
1797
- Processing by SubscriptionsController#index as HTML
1798
- Subscription Load (0.1ms) SELECT "subscriptions".* FROM "subscriptions" 
1799
- Rendered subscriptions/index.html.erb within layouts/application (3.0ms)
1800
- Completed 200 OK in 18ms (Views: 8.2ms | ActiveRecord: 0.6ms)
1801
-
1802
-
1803
- Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-07-31 00:21:43 -0700
1804
- Served asset /application.css - 304 Not Modified (0ms)
1805
-
1806
-
1807
- Started GET "/assets/main.css?body=1" for 127.0.0.1 at 2012-07-31 00:21:43 -0700
1808
- Served asset /main.css - 304 Not Modified (0ms)
1809
-
1810
-
1811
- Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-07-31 00:21:43 -0700
1812
- Served asset /jquery.js - 304 Not Modified (0ms)
1813
-
1814
-
1815
- Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2012-07-31 00:21:43 -0700
1816
- Served asset /scaffold.css - 304 Not Modified (0ms)
1817
-
1818
-
1819
- Started GET "/assets/subscriptions.css?body=1" for 127.0.0.1 at 2012-07-31 00:21:43 -0700
1820
- Served asset /subscriptions.css - 304 Not Modified (0ms)
1821
-
1822
-
1823
- Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2012-07-31 00:21:43 -0700
1824
- Served asset /users.css - 304 Not Modified (0ms)
1825
-
1826
-
1827
- Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-07-31 00:21:43 -0700
1828
- Served asset /jquery_ujs.js - 304 Not Modified (0ms)
1829
-
1830
-
1831
- Started GET "/assets/main.js?body=1" for 127.0.0.1 at 2012-07-31 00:21:43 -0700
1832
- Served asset /main.js - 304 Not Modified (0ms)
1833
-
1834
-
1835
- Started GET "/assets/subscriptions.js?body=1" for 127.0.0.1 at 2012-07-31 00:21:43 -0700
1836
- Served asset /subscriptions.js - 304 Not Modified (0ms)
1837
-
1838
-
1839
- Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2012-07-31 00:21:43 -0700
1840
- Served asset /users.js - 304 Not Modified (0ms)
1841
-
1842
-
1843
- Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-07-31 00:21:43 -0700
1844
- Served asset /application.js - 304 Not Modified (0ms)
1845
-
1846
-
1847
- Started GET "/subscriptions/new" for 127.0.0.1 at 2012-07-31 00:21:45 -0700
1848
- Processing by SubscriptionsController#new as HTML
1849
- Rendered subscriptions/_fields.html.erb (0.4ms)
1850
- Rendered users/_fields.html.erb (1.7ms)
1851
- Rendered subscriptions/_form.html.erb (5.2ms)
1852
- Rendered subscriptions/new.html.erb within layouts/application (5.8ms)
1853
- Completed 200 OK in 24ms (Views: 10.7ms | ActiveRecord: 0.4ms)
1854
-
1855
-
1856
- Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2012-07-31 00:21:45 -0700
1857
- Served asset /scaffold.css - 304 Not Modified (0ms)
1858
-
1859
-
1860
- Started GET "/assets/main.css?body=1" for 127.0.0.1 at 2012-07-31 00:21:45 -0700
1861
- Served asset /main.css - 304 Not Modified (0ms)
1862
-
1863
-
1864
- Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-07-31 00:21:45 -0700
1865
- Served asset /application.css - 304 Not Modified (0ms)
1866
-
1867
-
1868
- Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2012-07-31 00:21:45 -0700
1869
- Served asset /users.css - 304 Not Modified (0ms)
1870
-
1871
-
1872
- Started GET "/assets/subscriptions.css?body=1" for 127.0.0.1 at 2012-07-31 00:21:45 -0700
1873
- Served asset /subscriptions.css - 304 Not Modified (0ms)
1874
-
1875
-
1876
- Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-07-31 00:21:45 -0700
1877
- Served asset /jquery.js - 304 Not Modified (0ms)
1878
-
1879
-
1880
- Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-07-31 00:21:45 -0700
1881
- Served asset /jquery_ujs.js - 304 Not Modified (0ms)
1882
-
1883
-
1884
- Started GET "/assets/main.js?body=1" for 127.0.0.1 at 2012-07-31 00:21:45 -0700
1885
- Served asset /main.js - 304 Not Modified (0ms)
1886
-
1887
-
1888
- Started GET "/assets/subscriptions.js?body=1" for 127.0.0.1 at 2012-07-31 00:21:45 -0700
1889
- Served asset /subscriptions.js - 304 Not Modified (0ms)
1890
-
1891
-
1892
- Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2012-07-31 00:21:45 -0700
1893
- Served asset /users.js - 304 Not Modified (0ms)
1894
-
1895
-
1896
- Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-07-31 00:21:45 -0700
1897
- Served asset /application.js - 304 Not Modified (0ms)
1898
-
1899
-
1900
- Started GET "/" for 127.0.0.1 at 2012-07-31 00:29:23 -0700
83
+ Started GET "/" for 0:0:0:0:0:0:0:1%0 at 2013-10-29 19:57:11 -0700
1901
84
  Processing by MainController#index as HTML
1902
- Rendered main/index.html.erb within layouts/application (0.6ms)
1903
- Completed 200 OK in 6ms (Views: 5.9ms | ActiveRecord: 0.0ms)
1904
-
1905
-
1906
- Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-07-31 00:29:23 -0700
1907
- Served asset /application.css - 304 Not Modified (0ms)
1908
-
1909
-
1910
- Started GET "/assets/main.css?body=1" for 127.0.0.1 at 2012-07-31 00:29:23 -0700
1911
- Served asset /main.css - 304 Not Modified (0ms)
85
+ Rendered main/index.html.haml within layouts/application (4.0ms)
86
+ Completed 200 OK in 22ms (Views: 21.0ms | ActiveRecord: 0.0ms)
1912
87
 
1913
88
 
1914
- Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2012-07-31 00:29:23 -0700
1915
- Served asset /scaffold.css - 304 Not Modified (0ms)
89
+ Started GET "/assets/application.js?body=1" for 0:0:0:0:0:0:0:1%0 at 2013-10-29 19:57:11 -0700
1916
90
 
1917
91
 
1918
- Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2012-07-31 00:29:23 -0700
1919
- Served asset /users.css - 304 Not Modified (0ms)
92
+ Started GET "/assets/jquery_ujs.js?body=1" for 0:0:0:0:0:0:0:1%0 at 2013-10-29 19:57:11 -0700
1920
93
 
1921
94
 
1922
- Started GET "/assets/subscriptions.css?body=1" for 127.0.0.1 at 2012-07-31 00:29:23 -0700
1923
- Served asset /subscriptions.css - 304 Not Modified (0ms)
95
+ Started GET "/assets/jquery.js?body=1" for 0:0:0:0:0:0:0:1%0 at 2013-10-29 19:57:11 -0700
1924
96
 
1925
97
 
1926
- Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-07-31 00:29:23 -0700
1927
- Served asset /jquery.js - 304 Not Modified (0ms)
98
+ Started GET "/assets/application.css?body=1" for 0:0:0:0:0:0:0:1%0 at 2013-10-29 19:57:11 -0700
1928
99
 
1929
100
 
1930
- Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-07-31 00:29:23 -0700
1931
- Served asset /jquery_ujs.js - 304 Not Modified (0ms)
1932
-
1933
-
1934
- Started GET "/assets/main.js?body=1" for 127.0.0.1 at 2012-07-31 00:29:23 -0700
1935
- Served asset /main.js - 304 Not Modified (0ms)
1936
-
1937
-
1938
- Started GET "/assets/subscriptions.js?body=1" for 127.0.0.1 at 2012-07-31 00:29:23 -0700
1939
- Served asset /subscriptions.js - 304 Not Modified (0ms)
1940
-
1941
-
1942
- Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-07-31 00:29:23 -0700
1943
- Served asset /application.js - 304 Not Modified (0ms)
1944
-
1945
-
1946
- Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2012-07-31 00:29:23 -0700
1947
- Served asset /users.js - 304 Not Modified (0ms)
1948
-
1949
-
1950
- Started GET "/users" for 127.0.0.1 at 2012-07-31 00:29:25 -0700
101
+ Started GET "/users" for 0:0:0:0:0:0:0:1%0 at 2013-10-29 19:57:15 -0700
1951
102
  Processing by UsersController#index as HTML
1952
- Completed 500 Internal Server Error in 38ms
1953
-
1954
- ArgumentError (No association found for name `subscription'. Has it been defined yet?):
1955
- app/models/user.rb:5:in `<class:User>'
1956
- app/models/user.rb:1:in `<top (required)>'
1957
- app/controllers/users_controller.rb:7:in `index'
1958
-
1959
-
1960
- Rendered /Users/kevin/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.7/lib/action_dispatch/middleware/templates/rescues/_trace.erb (2.5ms)
1961
- Rendered /Users/kevin/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.7/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.0ms)
1962
- Rendered /Users/kevin/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.7/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (8.0ms)
1963
- Connecting to database specified by database.yml
1964
-  (0.1ms) select sqlite_version(*)
1965
-  (1.3ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
1966
-  (0.0ms) PRAGMA index_list("schema_migrations")
1967
-  (1.2ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
1968
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
1969
- Connecting to database specified by database.yml
1970
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
1971
- Migrating to CreateUsers (20110927222742)
1972
-  (0.0ms) select sqlite_version(*)
1973
-  (0.0ms) begin transaction
1974
-  (0.5ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "email" varchar(255), "settings" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
1975
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20110927222742')
1976
-  (1.1ms) commit transaction
1977
- Migrating to CreatePreferences (20120731064307)
1978
-  (0.0ms) begin transaction
1979
-  (0.3ms) CREATE TABLE "preferences" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "settings" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
1980
-  (0.0ms) PRAGMA index_list("preferences")
1981
-  (0.1ms) CREATE INDEX "index_preferences_on_user_id" ON "preferences" ("user_id")
1982
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120731064307')
1983
-  (1.1ms) commit transaction
1984
-  (0.3ms) select sqlite_version(*)
1985
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"
1986
-  (0.0ms) PRAGMA index_list("preferences")
1987
-  (0.0ms) PRAGMA index_info('index_preferences_on_user_id')
1988
-  (0.0ms) PRAGMA index_list("users")
1989
- Connecting to database specified by database.yml
1990
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
1991
-  (0.2ms) select sqlite_version(*)
1992
-  (1.5ms) CREATE TABLE "preferences" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "settings" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
1993
-  (0.0ms) PRAGMA index_list("preferences")
1994
-  (1.0ms) CREATE INDEX "index_preferences_on_user_id" ON "preferences" ("user_id")
1995
-  (1.2ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "email" varchar(255), "settings" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
1996
-  (0.9ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
1997
-  (0.0ms) PRAGMA index_list("schema_migrations")
1998
-  (0.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
1999
-  (0.1ms) SELECT version FROM "schema_migrations"
2000
-  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20120731064307')
2001
-  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20110927222742')
2002
- Connecting to database specified by database.yml
2003
-  (0.4ms) begin transaction
2004
- Fixture Delete (1.1ms) DELETE FROM "preferences"
2005
- Fixture Insert (0.1ms) INSERT INTO "preferences" ("user", "settings") VALUES ('default', '---
2006
- :email: true
2007
- :phone: true
2008
- ')
2009
- SQLite3::SQLException: table preferences has no column named user: INSERT INTO "preferences" ("user", "settings") VALUES ('default', '---
2010
- :email: true
2011
- :phone: true
2012
- ')
2013
-  (0.4ms) rollback transaction
2014
- Connecting to database specified by database.yml
2015
-  (0.4ms) begin transaction
2016
- Fixture Delete (1.1ms) DELETE FROM "preferences"
2017
- Fixture Insert (0.2ms) INSERT INTO "preferences" ("settings") VALUES ('---
2018
- :email: true
2019
- :phone: true
2020
- ')
2021
- SQLite3::ConstraintException: preferences.created_at may not be NULL: INSERT INTO "preferences" ("settings") VALUES ('---
2022
- :email: true
2023
- :phone: true
2024
- ')
2025
-  (0.6ms) rollback transaction
2026
- Connecting to database specified by database.yml
2027
-  (0.5ms) begin transaction
2028
- Fixture Delete (1.2ms) DELETE FROM "preferences"
2029
- Fixture Insert (0.2ms) INSERT INTO "preferences" ("settings") VALUES ('---
2030
- :email: true
2031
- :phone: true
2032
- ')
2033
- SQLite3::ConstraintException: preferences.created_at may not be NULL: INSERT INTO "preferences" ("settings") VALUES ('---
2034
- :email: true
2035
- :phone: true
2036
- ')
2037
-  (0.5ms) rollback transaction
2038
- Connecting to database specified by database.yml
2039
-  (0.4ms) begin transaction
2040
- Fixture Delete (1.1ms) DELETE FROM "preferences"
2041
- Fixture Insert (0.2ms) INSERT INTO "preferences" ("settings") VALUES ('---
2042
- :email: true
2043
- :phone: true
2044
- ')
2045
- SQLite3::ConstraintException: preferences.created_at may not be NULL: INSERT INTO "preferences" ("settings") VALUES ('---
2046
- :email: true
2047
- :phone: true
2048
- ')
2049
-  (0.5ms) rollback transaction
2050
- Connecting to database specified by database.yml
2051
-  (0.6ms) begin transaction
2052
- Fixture Delete (1.8ms) DELETE FROM "preferences"
2053
-  (0.7ms) commit transaction
2054
-  (0.1ms) begin transaction
2055
- Fixture Delete (0.3ms) DELETE FROM "users"
2056
- Fixture Insert (0.2ms) INSERT INTO "users" ("name", "email", "settings", "created_at", "updated_at", "id") VALUES ('Kevin', 'info@example.com', '---
2057
- :fb_share: true
2058
- :tw_share: true
2059
- ', '2012-07-31 07:40:52', '2012-07-31 07:40:52', 593363170)
2060
- Fixture Insert (0.1ms) INSERT INTO "users" ("name", "email", "created_at", "updated_at", "id") VALUES ('Kevin', 'info@example.com', '2012-07-31 07:40:52', '2012-07-31 07:40:52', 815823836)
2061
-  (0.7ms) commit transaction
2062
- Connecting to database specified by database.yml
2063
-  (0.4ms) begin transaction
2064
- Fixture Delete (1.2ms) DELETE FROM "preferences"
2065
- Fixture Insert (0.2ms) INSERT INTO "preferences" ("settings") VALUES ('---
2066
- :email: true
2067
- :phone: true
2068
- ')
2069
- SQLite3::ConstraintException: preferences.created_at may not be NULL: INSERT INTO "preferences" ("settings") VALUES ('---
2070
- :email: true
2071
- :phone: true
2072
- ')
2073
-  (0.5ms) rollback transaction
2074
- Connecting to database specified by database.yml
2075
-  (0.4ms) begin transaction
2076
- Fixture Delete (1.2ms) DELETE FROM "preferences"
2077
- Fixture Insert (0.3ms) INSERT INTO "preferences" ("created_at", "settings") VALUES ('2012-07-31 07:42:04.000000', '---
2078
- :email: true
2079
- :phone: true
2080
- ')
2081
- SQLite3::ConstraintException: preferences.updated_at may not be NULL: INSERT INTO "preferences" ("created_at", "settings") VALUES ('2012-07-31 07:42:04.000000', '---
2082
- :email: true
2083
- :phone: true
2084
- ')
2085
-  (0.5ms) rollback transaction
2086
- Connecting to database specified by database.yml
2087
-  (0.4ms) begin transaction
2088
- Fixture Delete (1.1ms) DELETE FROM "preferences"
2089
- Fixture Insert (0.1ms) INSERT INTO "preferences" ("created_at", "updated_at", "settings") VALUES ('2012-07-31 07:42:18.000000', '2012-07-31 07:42:18.000000', '---
2090
- :email: true
2091
- :phone: true
2092
- ')
2093
-  (0.7ms) commit transaction
2094
-  (0.1ms) begin transaction
2095
- Fixture Delete (0.3ms) DELETE FROM "users"
2096
- Fixture Insert (0.1ms) INSERT INTO "users" ("name", "email", "settings", "created_at", "updated_at", "id") VALUES ('Kevin', 'info@example.com', '---
2097
- :fb_share: true
2098
- :tw_share: true
2099
- ', '2012-07-31 07:42:18', '2012-07-31 07:42:18', 593363170)
2100
- Fixture Insert (0.0ms) INSERT INTO "users" ("name", "email", "created_at", "updated_at", "id") VALUES ('Kevin', 'info@example.com', '2012-07-31 07:42:18', '2012-07-31 07:42:18', 815823836)
2101
-  (0.9ms) commit transaction
2102
- Connecting to database specified by database.yml
2103
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
2104
-  (0.2ms) select sqlite_version(*)
2105
-  (1.5ms) CREATE TABLE "preferences" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "settings" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
2106
-  (0.0ms) PRAGMA index_list("preferences")
2107
-  (0.8ms) CREATE INDEX "index_preferences_on_user_id" ON "preferences" ("user_id")
2108
-  (1.2ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "email" varchar(255), "settings" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
2109
-  (0.7ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
2110
-  (0.0ms) PRAGMA index_list("schema_migrations")
2111
-  (0.7ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
2112
-  (0.1ms) SELECT version FROM "schema_migrations"
2113
-  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20120731064307')
2114
-  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20110927222742')
2115
- Connecting to database specified by database.yml
2116
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
2117
-  (0.2ms) select sqlite_version(*)
2118
-  (1.5ms) CREATE TABLE "preferences" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "settings" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
2119
-  (0.0ms) PRAGMA index_list("preferences")
2120
-  (0.8ms) CREATE INDEX "index_preferences_on_user_id" ON "preferences" ("user_id")
2121
-  (1.1ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "email" varchar(255), "settings" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
2122
-  (0.7ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
2123
-  (0.0ms) PRAGMA index_list("schema_migrations")
2124
-  (0.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
2125
-  (0.1ms) SELECT version FROM "schema_migrations"
2126
-  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20120731064307')
2127
-  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20110927222742')
2128
- Connecting to database specified by database.yml
2129
- Connecting to database specified by database.yml
2130
- Connecting to database specified by database.yml
2131
- Connecting to database specified by database.yml
2132
-  (0.2ms) select sqlite_version(*)
2133
-  (1.2ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
2134
-  (0.0ms) PRAGMA index_list("schema_migrations")
2135
-  (0.7ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
2136
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
2137
- Migrating to CreateUsers (20110927222742)
2138
-  (0.0ms) begin transaction
2139
-  (0.4ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "account_id" integer, "name" varchar(255), "email" varchar(255), "settings" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
2140
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20110927222742')
2141
-  (0.7ms) commit transaction
2142
- Migrating to CreateAccounts (20120731074843)
2143
-  (0.0ms) begin transaction
2144
-  (0.4ms) CREATE TABLE "accounts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
2145
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120731074843')
2146
-  (0.7ms) commit transaction
2147
-  (0.3ms) select sqlite_version(*)
2148
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
2149
-  (0.0ms) PRAGMA index_list("accounts")
2150
-  (0.0ms) PRAGMA index_list("users")
2151
- Connecting to database specified by database.yml
2152
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
2153
-  (0.2ms) select sqlite_version(*)
2154
-  (1.4ms) CREATE TABLE "accounts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
2155
-  (1.1ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "account_id" integer, "name" varchar(255), "email" varchar(255), "settings" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
2156
-  (1.0ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
2157
-  (0.0ms) PRAGMA index_list("schema_migrations")
2158
-  (0.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
2159
-  (0.1ms) SELECT version FROM "schema_migrations"
2160
-  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20120731074843')
2161
-  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20110927222742')
2162
- Connecting to database specified by database.yml
2163
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
2164
-  (0.3ms) select sqlite_version(*)
2165
-  (1.4ms) CREATE TABLE "accounts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
2166
-  (1.1ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "account_id" integer, "name" varchar(255), "email" varchar(255), "settings" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
2167
-  (0.7ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
2168
-  (0.0ms) PRAGMA index_list("schema_migrations")
2169
-  (0.7ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
2170
-  (0.1ms) SELECT version FROM "schema_migrations"
2171
-  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20120731074843')
2172
-  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20110927222742')
2173
- Connecting to database specified by database.yml
2174
-  (3.8ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
2175
- Migrating to CreateUsers (20110927222742)
2176
- Migrating to CreateAccounts (20120731074843)
2177
-  (0.4ms) select sqlite_version(*)
2178
-  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
2179
-
2180
-
2181
- Started GET "/" for 127.0.0.1 at 2013-01-10 23:25:38 -0800
2182
- Connecting to database specified by database.yml
2183
- Processing by MainController#index as HTML
2184
- Rendered main/index.html.haml within layouts/application (4.1ms)
2185
- Compiled main.css (0ms) (pid 20418)
2186
- Compiled scaffold.css (0ms) (pid 20418)
2187
- Compiled users.css (0ms) (pid 20418)
2188
- Compiled application.css (28ms) (pid 20418)
2189
- Compiled jquery.js (6ms) (pid 20418)
2190
- Compiled jquery_ujs.js (1ms) (pid 20418)
2191
- Compiled main.js (72ms) (pid 20418)
2192
- Compiled users.js (0ms) (pid 20418)
2193
- Compiled application.js (184ms) (pid 20418)
2194
- Completed 200 OK in 373ms (Views: 372.3ms | ActiveRecord: 0.0ms)
2195
-
103
+ User Load (0.0ms) SELECT "users".* FROM "users"
104
+  (1.0ms) SELECT name FROM sqlite_master WHERE type = 'table' AND name = "users"
105
+ Rendered users/index.html.haml within layouts/application (63.0ms)
106
+ Completed 200 OK in 116ms (Views: 76.0ms | ActiveRecord: 2.0ms)
2196
107
 
2197
- Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-01-10 23:25:39 -0800
2198
- Served asset /scaffold.css - 200 OK (14ms)
2199
108
 
109
+ Started GET "/assets/application.css?body=1" for 0:0:0:0:0:0:0:1%0 at 2013-10-29 19:57:15 -0700
2200
110
 
2201
- Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-01-10 23:25:40 -0800
2202
- Served asset /users.css - 200 OK (4ms)
2203
111
 
112
+ Started GET "/assets/jquery.js?body=1" for 0:0:0:0:0:0:0:1%0 at 2013-10-29 19:57:15 -0700
2204
113
 
2205
- Started GET "/assets/main.css?body=1" for 127.0.0.1 at 2013-01-10 23:25:40 -0800
2206
- Served asset /main.css - 200 OK (4ms)
2207
114
 
115
+ Started GET "/assets/jquery_ujs.js?body=1" for 0:0:0:0:0:0:0:1%0 at 2013-10-29 19:57:15 -0700
2208
116
 
2209
- Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-01-10 23:25:40 -0800
2210
- Served asset /jquery.js - 200 OK (8ms)
2211
117
 
118
+ Started GET "/assets/application.js?body=1" for 0:0:0:0:0:0:0:1%0 at 2013-10-29 19:57:15 -0700
2212
119
 
2213
- Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-01-10 23:25:40 -0800
2214
- Served asset /application.css - 200 OK (11ms)
2215
120
 
2216
-
2217
- Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-01-10 23:25:40 -0800
2218
- Served asset /users.js - 200 OK (16ms)
2219
-
2220
-
2221
- Started GET "/assets/main.js?body=1" for 127.0.0.1 at 2013-01-10 23:25:40 -0800
2222
- Served asset /main.js - 200 OK (17ms)
2223
-
2224
-
2225
- Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-01-10 23:25:40 -0800
2226
- Served asset /jquery_ujs.js - 200 OK (5ms)
2227
-
2228
-
2229
- Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-01-10 23:25:40 -0800
2230
- Served asset /application.js - 200 OK (50ms)
2231
-
2232
-
2233
- Started GET "/users" for 127.0.0.1 at 2013-01-10 23:25:43 -0800
2234
- Processing by UsersController#index as HTML
2235
- User Load (0.5ms) SELECT "users".* FROM "users" 
2236
- Rendered users/index.html.haml within layouts/application (6.8ms)
2237
- Completed 200 OK in 114ms (Views: 16.5ms | ActiveRecord: 5.0ms)
2238
-
2239
-
2240
- Started GET "/users/new" for 127.0.0.1 at 2013-01-10 23:25:45 -0800
2241
- Processing by UsersController#new as HTML
2242
- Rendered users/_fields.html.haml (8.6ms)
2243
- Rendered users/_form.html.haml (30.0ms)
2244
- Rendered users/new.html.haml within layouts/application (42.6ms)
2245
- Completed 200 OK in 80ms (Views: 53.3ms | ActiveRecord: 0.0ms)
2246
-
2247
-
2248
- Started POST "/users" for 127.0.0.1 at 2013-01-10 23:25:57 -0800
2249
- Processing by UsersController#create as HTML
2250
- Parameters: {"utf8"=>"✓", "authenticity_token"=>"glRezaxsNwSlTN0H31kq4dyLt8M9HEWsLotFNuowgYU=", "user"=>{"name"=>"Kevin", "email"=>"kevin@ksylvest.com", "fb_share"=>"1", "tw_share"=>"1", "tb_share"=>"true"}, "commit"=>"Create User"}
2251
-  (0.1ms) begin transaction
2252
- SQL (12.5ms) INSERT INTO "users" ("account_id", "created_at", "email", "name", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["account_id", nil], ["created_at", Fri, 11 Jan 2013 07:25:57 UTC +00:00], ["email", "kevin@ksylvest.com"], ["name", "Kevin"], ["settings", "---\n:fb_share: true\n:tw_share: true\n:tb_share: true\n"], ["updated_at", Fri, 11 Jan 2013 07:25:57 UTC +00:00]]
2253
-  (0.9ms) commit transaction
2254
- Redirected to http://localhost:3000/users/1
2255
- Completed 302 Found in 33ms (ActiveRecord: 0.0ms)
2256
-
2257
-
2258
- Started GET "/users/1" for 127.0.0.1 at 2013-01-10 23:25:57 -0800
2259
- Processing by UsersController#show as HTML
2260
- Parameters: {"id"=>"1"}
2261
- User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "1"]]
2262
- Rendered users/_user.html.haml (3.5ms)
2263
- Rendered users/show.html.haml within layouts/application (9.2ms)
2264
- Completed 200 OK in 28ms (Views: 23.2ms | ActiveRecord: 0.4ms)
2265
-
2266
-
2267
- Started GET "/users/1/edit" for 127.0.0.1 at 2013-01-10 23:26:01 -0800
121
+ Started GET "/users/1/edit" for 0:0:0:0:0:0:0:1%0 at 2013-10-29 19:57:16 -0700
2268
122
  Processing by UsersController#edit as HTML
2269
123
  Parameters: {"id"=>"1"}
2270
- User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "1"]]
2271
- Rendered users/_fields.html.haml (3.9ms)
2272
- Rendered users/_form.html.haml (11.3ms)
2273
- Rendered users/edit.html.haml within layouts/application (17.5ms)
2274
- Completed 200 OK in 32ms (Views: 29.0ms | ActiveRecord: 0.3ms)
2275
-
2276
-
2277
- Started PUT "/users/1" for 127.0.0.1 at 2013-01-10 23:26:04 -0800
2278
- Processing by UsersController#update as HTML
2279
- Parameters: {"utf8"=>"✓", "authenticity_token"=>"glRezaxsNwSlTN0H31kq4dyLt8M9HEWsLotFNuowgYU=", "user"=>{"name"=>"Kevin", "email"=>"kevin@ksylvest.com", "fb_share"=>"1", "tw_share"=>"1", "tb_share"=>"false"}, "commit"=>"Update User", "id"=>"1"}
2280
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "1"]]
2281
-  (0.1ms) begin transaction
2282
-  (0.6ms) UPDATE "users" SET "updated_at" = '2013-01-11 07:26:04.193768', "settings" = '---
2283
- :fb_share: true
2284
- :tw_share: true
2285
- :tb_share: false
2286
- ' WHERE "users"."id" = 1
2287
-  (1.1ms) commit transaction
2288
- Redirected to http://localhost:3000/users/1
2289
- Completed 302 Found in 10ms (ActiveRecord: 0.0ms)
124
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
125
+ Rendered users/_fields.html.haml (41.0ms)
126
+ Rendered users/_form.html.haml (106.0ms)
127
+ Rendered users/edit.html.haml within layouts/application (122.0ms)
128
+ Completed 200 OK in 141ms (Views: 135.0ms | ActiveRecord: 0.0ms)
2290
129
 
2291
130
 
2292
- Started GET "/users/1" for 127.0.0.1 at 2013-01-10 23:26:04 -0800
2293
- Processing by UsersController#show as HTML
2294
- Parameters: {"id"=>"1"}
2295
- User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "1"]]
2296
- Rendered users/_user.html.haml (0.9ms)
2297
- Rendered users/show.html.haml within layouts/application (4.2ms)
2298
- Completed 200 OK in 16ms (Views: 14.3ms | ActiveRecord: 0.3ms)
131
+ Started GET "/assets/jquery.js?body=1" for 0:0:0:0:0:0:0:1%0 at 2013-10-29 19:57:16 -0700
2299
132
 
2300
133
 
2301
- Started GET "/users/1/edit" for 127.0.0.1 at 2013-01-10 23:26:06 -0800
2302
- Processing by UsersController#edit as HTML
2303
- Parameters: {"id"=>"1"}
2304
- User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "1"]]
2305
- Rendered users/_fields.html.haml (4.3ms)
2306
- Rendered users/_form.html.haml (11.3ms)
2307
- Rendered users/edit.html.haml within layouts/application (15.0ms)
2308
- Completed 200 OK in 30ms (Views: 26.7ms | ActiveRecord: 0.3ms)
134
+ Started GET "/assets/application.css?body=1" for 0:0:0:0:0:0:0:1%0 at 2013-10-29 19:57:16 -0700
2309
135
 
2310
136
 
2311
- Started PUT "/users/1" for 127.0.0.1 at 2013-01-10 23:26:07 -0800
2312
- Processing by UsersController#update as HTML
2313
- Parameters: {"utf8"=>"✓", "authenticity_token"=>"glRezaxsNwSlTN0H31kq4dyLt8M9HEWsLotFNuowgYU=", "user"=>{"name"=>"Kevin", "email"=>"kevin@ksylvest.com", "fb_share"=>"1", "tw_share"=>"1", "tb_share"=>"true"}, "commit"=>"Update User", "id"=>"1"}
2314
- User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "1"]]
2315
-  (0.1ms) begin transaction
2316
-  (0.6ms) UPDATE "users" SET "updated_at" = '2013-01-11 07:26:07.999994', "settings" = '---
2317
- :fb_share: true
2318
- :tw_share: true
2319
- :tb_share: true
2320
- ' WHERE "users"."id" = 1
2321
-  (1.0ms) commit transaction
2322
- Redirected to http://localhost:3000/users/1
2323
- Completed 302 Found in 16ms (ActiveRecord: 0.0ms)
137
+ Started GET "/assets/jquery_ujs.js?body=1" for 0:0:0:0:0:0:0:1%0 at 2013-10-29 19:57:16 -0700
2324
138
 
2325
139
 
2326
- Started GET "/users/1" for 127.0.0.1 at 2013-01-10 23:26:08 -0800
2327
- Processing by UsersController#show as HTML
2328
- Parameters: {"id"=>"1"}
2329
- User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "1"]]
2330
- Rendered users/_user.html.haml (1.3ms)
2331
- Rendered users/show.html.haml within layouts/application (5.0ms)
2332
- Completed 200 OK in 32ms (Views: 29.5ms | ActiveRecord: 0.3ms)
140
+ Started GET "/assets/application.js?body=1" for 0:0:0:0:0:0:0:1%0 at 2013-10-29 19:57:17 -0700
2333
141
 
2334
142
 
2335
- Started GET "/users/1" for 127.0.0.1 at 2013-01-10 23:26:10 -0800
2336
- Processing by UsersController#show as HTML
2337
- Parameters: {"id"=>"1"}
2338
- User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "1"]]
2339
- Rendered users/_user.html.haml (13.0ms)
2340
- Rendered users/show.html.haml within layouts/application (23.7ms)
2341
- Completed 200 OK in 64ms (Views: 59.5ms | ActiveRecord: 0.3ms)
143
+ Started GET "/users" for 0:0:0:0:0:0:0:1%0 at 2013-10-29 19:57:20 -0700
144
+ Processing by UsersController#index as HTML
145
+ User Load (0.0ms) SELECT "users".* FROM "users"
146
+ Rendered users/index.html.haml within layouts/application (11.0ms)
147
+ Completed 200 OK in 22ms (Views: 21.0ms | ActiveRecord: 0.0ms)
2342
148
 
2343
149
 
2344
- Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-01-10 23:26:10 -0800
2345
- Served asset /application.css - 304 Not Modified (0ms)
150
+ Started GET "/assets/jquery_ujs.js?body=1" for 0:0:0:0:0:0:0:1%0 at 2013-10-29 19:57:20 -0700
2346
151
 
2347
152
 
2348
- Started GET "/assets/main.css?body=1" for 127.0.0.1 at 2013-01-10 23:26:10 -0800
2349
- Served asset /main.css - 304 Not Modified (0ms)
153
+ Started GET "/assets/application.js?body=1" for 0:0:0:0:0:0:0:1%0 at 2013-10-29 19:57:20 -0700
2350
154
 
2351
155
 
2352
- Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-01-10 23:26:10 -0800
2353
- Served asset /jquery_ujs.js - 304 Not Modified (0ms)
156
+ Started GET "/assets/application.css?body=1" for 0:0:0:0:0:0:0:1%0 at 2013-10-29 19:57:20 -0700
2354
157
 
2355
158
 
2356
- Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-01-10 23:26:10 -0800
2357
- Served asset /jquery.js - 304 Not Modified (0ms)
159
+ Started GET "/assets/jquery.js?body=1" for 0:0:0:0:0:0:0:1%0 at 2013-10-29 19:57:20 -0700
2358
160
 
2359
161
 
2360
- Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-01-10 23:26:10 -0800
2361
- Served asset /users.css - 304 Not Modified (0ms)
162
+ Started GET "/users/new" for 0:0:0:0:0:0:0:1%0 at 2013-10-29 19:57:22 -0700
163
+ Processing by UsersController#new as HTML
164
+ Rendered users/_fields.html.haml (7.0ms)
165
+ Rendered users/_form.html.haml (20.0ms)
166
+ Rendered users/new.html.haml within layouts/application (27.0ms)
167
+ Completed 200 OK in 40ms (Views: 38.0ms | ActiveRecord: 0.0ms)
2362
168
 
2363
169
 
2364
- Started GET "/assets/main.js?body=1" for 127.0.0.1 at 2013-01-10 23:26:10 -0800
2365
- Served asset /main.js - 304 Not Modified (0ms)
170
+ Started GET "/assets/application.css?body=1" for 0:0:0:0:0:0:0:1%0 at 2013-10-29 19:57:22 -0700
2366
171
 
2367
172
 
2368
- Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-01-10 23:26:10 -0800
2369
- Served asset /scaffold.css - 304 Not Modified (0ms)
173
+ Started GET "/assets/jquery.js?body=1" for 0:0:0:0:0:0:0:1%0 at 2013-10-29 19:57:22 -0700
2370
174
 
2371
175
 
2372
- Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-01-10 23:26:10 -0800
2373
- Served asset /application.js - 304 Not Modified (2ms)
176
+ Started GET "/assets/jquery_ujs.js?body=1" for 0:0:0:0:0:0:0:1%0 at 2013-10-29 19:57:22 -0700
2374
177
 
2375
178
 
2376
- Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-01-10 23:26:10 -0800
2377
- Served asset /users.js - 304 Not Modified (0ms)
179
+ Started GET "/assets/application.js?body=1" for 0:0:0:0:0:0:0:1%0 at 2013-10-29 19:57:22 -0700