analytics-rails 0.0.6 → 0.0.7

Sign up to get free protection for your applications and to get access to all the features.
Files changed (56) hide show
  1. checksums.yaml +4 -4
  2. data/Rakefile +2 -8
  3. data/lib/analytics-rails.rb +0 -3
  4. data/lib/analytics/rails/version.rb +1 -1
  5. data/test/dummy/README.rdoc +15 -248
  6. data/test/dummy/Rakefile +0 -1
  7. data/test/dummy/app/assets/javascripts/application.js +3 -5
  8. data/test/dummy/app/controllers/application_controller.rb +3 -1
  9. data/test/dummy/bin/bundle +3 -0
  10. data/test/dummy/bin/rails +4 -0
  11. data/test/dummy/bin/rake +4 -0
  12. data/test/dummy/config.ru +1 -1
  13. data/test/dummy/config/application.rb +2 -34
  14. data/test/dummy/config/boot.rb +4 -9
  15. data/test/dummy/config/environment.rb +2 -2
  16. data/test/dummy/config/environments/development.rb +10 -15
  17. data/test/dummy/config/environments/production.rb +40 -30
  18. data/test/dummy/config/environments/test.rb +13 -11
  19. data/test/dummy/config/initializers/filter_parameter_logging.rb +4 -0
  20. data/test/dummy/config/initializers/inflections.rb +6 -5
  21. data/test/dummy/config/initializers/secret_token.rb +7 -2
  22. data/test/dummy/config/initializers/session_store.rb +0 -5
  23. data/test/dummy/config/initializers/wrap_parameters.rb +6 -6
  24. data/test/dummy/config/locales/en.yml +20 -2
  25. data/test/dummy/config/routes.rb +22 -24
  26. data/test/dummy/db/development.sqlite3 +0 -0
  27. data/test/dummy/db/schema.rb +16 -0
  28. data/test/dummy/log/development.log +8 -176
  29. data/test/dummy/log/test.log +19 -182
  30. data/test/dummy/public/404.html +43 -11
  31. data/test/dummy/public/422.html +43 -11
  32. data/test/dummy/public/500.html +43 -11
  33. data/test/dummy/tmp/cache/assets/test/sprockets/13fe41fee1fe35b49d145bcc06610705 +0 -0
  34. data/test/dummy/tmp/cache/assets/test/sprockets/2f5173deea6c795b8fdde723bb4b63af +0 -0
  35. data/test/dummy/tmp/cache/assets/test/sprockets/357970feca3ac29060c1e3861e2c0953 +0 -0
  36. data/test/dummy/tmp/cache/assets/test/sprockets/cffd775d018f68ce5dba1ee0d951a994 +0 -0
  37. data/test/dummy/tmp/cache/assets/test/sprockets/d771ace226fc8215a3572e0aa35bb0d6 +0 -0
  38. data/test/dummy/tmp/cache/assets/test/sprockets/f7cbd26ba1d28d48de824f0e94586655 +0 -0
  39. data/test/include_tag_test.rb +3 -3
  40. data/test/test_helper.rb +6 -0
  41. metadata +12 -32
  42. data/test/dummy/script/rails +0 -6
  43. data/test/dummy/tmp/cache/assets/CD8/370/sprockets%2F357970feca3ac29060c1e3861e2c0953 +0 -0
  44. data/test/dummy/tmp/cache/assets/D32/A10/sprockets%2F13fe41fee1fe35b49d145bcc06610705 +0 -0
  45. data/test/dummy/tmp/cache/assets/D4E/1B0/sprockets%2Ff7cbd26ba1d28d48de824f0e94586655 +0 -0
  46. data/test/dummy/tmp/cache/assets/D5A/EA0/sprockets%2Fd771ace226fc8215a3572e0aa35bb0d6 +0 -0
  47. data/test/dummy/tmp/cache/assets/D9B/E00/sprockets%2Fb66a75bd10bef6da5f16f4fa9113926c +0 -0
  48. data/test/dummy/tmp/cache/assets/DAC/650/sprockets%2Ff8ec2e25f819797cb9a491d0af22ae9b +0 -0
  49. data/test/dummy/tmp/cache/assets/DDC/400/sprockets%2Fcffd775d018f68ce5dba1ee0d951a994 +0 -0
  50. data/test/dummy/tmp/cache/assets/DEF/100/sprockets%2F8b9d88bfa8f8eed7910469ef2ab8a8c7 +0 -0
  51. data/test/dummy/tmp/cache/assets/E04/890/sprockets%2F2f5173deea6c795b8fdde723bb4b63af +0 -0
  52. data/test/dummy/tmp/cache/assets/E29/AA0/sprockets%2F6eaab4ab4dbae1b8b5a6f9286aa966d4 +0 -0
  53. data/test/dummy/tmp/cache/assets/test/sprockets/6ee31c758c2207128f3b2fb9f1e7fc1c +0 -0
  54. data/test/dummy/tmp/cache/assets/test/sprockets/78bbdd3d4b68f961ea76c51d172aec6b +0 -0
  55. data/test/dummy/tmp/cache/assets/test/sprockets/c7342e04b6a4ad6af1bb72c5c094c804 +0 -0
  56. data/test/dummy/tmp/cache/assets/test/sprockets/f09692c097713119fa701a4122205808 +0 -0
@@ -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,34 +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
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.
9
+ # Do not eager load code on boot.
10
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
- # Log the query plan for queries taking more than this (works
26
- # with SQLite, MySQL, and PostgreSQL)
27
- config.active_record.auto_explain_threshold_in_seconds = 0.5
28
-
29
- # Do not compress assets
30
- config.assets.compress = false
31
-
32
- # 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.
33
28
  config.assets.debug = true
34
29
  end
@@ -1,70 +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
-
14
- # Log error messages when you accidentally call methods on nil
15
- config.config.eager_load = false
16
24
 
17
- # Compress JavaScripts and CSS
18
- config.assets.compress = true
25
+ # Compress JavaScripts and CSS.
26
+ config.assets.js_compressor = :uglifier
27
+ # config.assets.css_compressor = :sass
19
28
 
20
- # 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.
21
30
  config.assets.compile = false
22
31
 
23
- # Generate digests for assets URLs
32
+ # Generate digests for assets URLs.
24
33
  config.assets.digest = true
25
34
 
26
- # Defaults to nil and saved in location specified by config.assets.prefix
27
- # 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'
28
37
 
29
- # Specifies the header that your server uses for sending files
38
+ # Specifies the header that your server uses for sending files.
30
39
  # config.action_dispatch.x_sendfile_header = "X-Sendfile" # for apache
31
40
  # config.action_dispatch.x_sendfile_header = 'X-Accel-Redirect' # for nginx
32
41
 
33
42
  # Force all access to the app over SSL, use Strict-Transport-Security, and use secure cookies.
34
43
  # config.force_ssl = true
35
44
 
36
- # See everything in the log (default is :info)
37
- # config.log_level = :debug
45
+ # Set to :debug to see everything in the log.
46
+ config.log_level = :info
38
47
 
39
- # Prepend all log lines with the following tags
48
+ # Prepend all log lines with the following tags.
40
49
  # config.log_tags = [ :subdomain, :uuid ]
41
50
 
42
- # Use a different logger for distributed setups
51
+ # Use a different logger for distributed setups.
43
52
  # config.logger = ActiveSupport::TaggedLogging.new(SyslogLogger.new)
44
53
 
45
- # Use a different cache store in production
54
+ # Use a different cache store in production.
46
55
  # config.cache_store = :mem_cache_store
47
56
 
48
- # Enable serving of images, stylesheets, and JavaScripts from an asset server
57
+ # Enable serving of images, stylesheets, and JavaScripts from an asset server.
49
58
  # config.action_controller.asset_host = "http://assets.example.com"
50
59
 
51
- # 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.
52
62
  # config.assets.precompile += %w( search.js )
53
63
 
54
- # 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.
55
66
  # config.action_mailer.raise_delivery_errors = false
56
67
 
57
- # Enable threaded mode
58
- # config.threadsafe!
59
-
60
68
  # Enable locale fallbacks for I18n (makes lookups for any locale fall back to
61
- # the I18n.default_locale when a translation can not be found)
69
+ # the I18n.default_locale when a translation can not be found).
62
70
  config.i18n.fallbacks = true
63
71
 
64
- # Send deprecation notices to registered listeners
72
+ # Send deprecation notices to registered listeners.
65
73
  config.active_support.deprecation = :notify
66
74
 
67
- # Log the query plan for queries taking more than this (works
68
- # with SQLite, MySQL, and PostgreSQL)
69
- # config.active_record.auto_explain_threshold_in_seconds = 0.5
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
70
80
  end
@@ -1,5 +1,5 @@
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
5
  # test suite. You never need to work with it otherwise. Remember that
@@ -7,28 +7,30 @@ Dummy::Application.configure do
7
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'
13
-
14
- # Log error messages when you accidentally call methods on nil
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.
15
13
  config.eager_load = false
16
14
 
17
- # Show full error reports and disable caching
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"
18
+
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
- # Print deprecation notices to the stderr
34
+ # Print deprecation notices to the stderr.
33
35
  config.active_support.deprecation = :stderr
34
36
  end
@@ -0,0 +1,4 @@
1
+ # Be sure to restart your server when you modify this file.
2
+
3
+ # Configure sensitive parameters which will be filtered from the log file.
4
+ Rails.application.config.filter_parameters += [:password]
@@ -1,15 +1,16 @@
1
1
  # Be sure to restart your server when you modify this file.
2
2
 
3
- # Add new inflection rules using the following format
4
- # (all these examples are active by default):
5
- # ActiveSupport::Inflector.inflections do |inflect|
3
+ # Add new inflection rules using the following format. Inflections
4
+ # are locale specific, and you may define rules for as many different
5
+ # locales as you wish. All of these examples are active by default:
6
+ # ActiveSupport::Inflector.inflections(:en) do |inflect|
6
7
  # inflect.plural /^(ox)$/i, '\1en'
7
8
  # inflect.singular /^(ox)en/i, '\1'
8
9
  # inflect.irregular 'person', 'people'
9
10
  # inflect.uncountable %w( fish sheep )
10
11
  # end
11
- #
12
+
12
13
  # These inflection rules are supported but not enabled by default:
13
- # ActiveSupport::Inflector.inflections do |inflect|
14
+ # ActiveSupport::Inflector.inflections(:en) do |inflect|
14
15
  # inflect.acronym 'RESTful'
15
16
  # end
@@ -1,7 +1,12 @@
1
1
  # Be sure to restart your server when you modify this file.
2
2
 
3
- # Your secret key for verifying the integrity of signed cookies.
3
+ # Your secret key is used for verifying the integrity of signed cookies.
4
4
  # If you change this key, all old signed cookies will become invalid!
5
+
5
6
  # Make sure the secret is at least 30 characters and all random,
6
7
  # no regular words or you'll be exposed to dictionary attacks.
7
- Dummy::Application.config.secret_token = '3e8750d9713d1705c0df942520c3e79f7451ea286b5fd403bfa064c5a43425c3cec13cda52f7b58da2b11d41c351bed7daa582795b96ad6fa1a9dabcd7151b02'
8
+ # You can use `rake secret` to generate a secure secret key.
9
+
10
+ # Make sure your secret_key_base is kept private
11
+ # if you're sharing your code publicly.
12
+ Dummy::Application.config.secret_key_base = 'cc799f48bef8d600576f83d4fbee274f1d876f156f6b3a18116abe76c81b0153e82bc9bdcf898aca59e1532e5d1a29c7bbcf592d0d9ad15ccecec650fa5ff5e7'
@@ -1,8 +1,3 @@
1
1
  # Be sure to restart your server when you modify this file.
2
2
 
3
3
  Dummy::Application.config.session_store :cookie_store, key: '_dummy_session'
4
-
5
- # Use the database for sessions instead of the cookie-based default,
6
- # which shouldn't be used to store highly confidential information
7
- # (create the session table with "rails generate session_migration")
8
- # Dummy::Application.config.session_store :active_record_store
@@ -1,14 +1,14 @@
1
1
  # Be sure to restart your server when you modify this file.
2
- #
2
+
3
3
  # This file contains settings for ActionController::ParamsWrapper which
4
4
  # is enabled by default.
5
5
 
6
6
  # Enable parameter wrapping for JSON. You can disable this by setting :format to an empty array.
7
7
  ActiveSupport.on_load(:action_controller) do
8
- wrap_parameters format: [:json]
8
+ wrap_parameters format: [:json] if respond_to?(:wrap_parameters)
9
9
  end
10
10
 
11
- # Disable root element in JSON by default.
12
- ActiveSupport.on_load(:active_record) do
13
- self.include_root_in_json = false
14
- end
11
+ # To enable root element in JSON for ActiveRecord objects.
12
+ # ActiveSupport.on_load(:active_record) do
13
+ # self.include_root_in_json = true
14
+ # end
@@ -1,5 +1,23 @@
1
- # Sample localization file for English. Add more files in this directory for other locales.
2
- # See https://github.com/svenfuchs/rails-i18n/tree/master/rails%2Flocale for starting points.
1
+ # Files in the config/locales directory are used for internationalization
2
+ # and are automatically loaded by Rails. If you want to use locales other
3
+ # than English, add the necessary files in this directory.
4
+ #
5
+ # To use the locales, use `I18n.t`:
6
+ #
7
+ # I18n.t 'hello'
8
+ #
9
+ # In views, this is aliased to just `t`:
10
+ #
11
+ # <%= t('hello') %>
12
+ #
13
+ # To use a different locale, set it with `I18n.locale`:
14
+ #
15
+ # I18n.locale = :es
16
+ #
17
+ # This would use the information in config/locales/es.yml.
18
+ #
19
+ # To learn more, please read the Rails Internationalization guide
20
+ # available at http://guides.rubyonrails.org/i18n.html.
3
21
 
4
22
  en:
5
23
  hello: "Hello world"
@@ -2,21 +2,22 @@ Dummy::Application.routes.draw do
2
2
 
3
3
  root to: 'pages#index'
4
4
 
5
- # The priority is based upon order of creation:
6
- # first created -> highest priority.
5
+ # The priority is based upon order of creation: first created -> highest priority.
6
+ # See how all your routes lay out with "rake routes".
7
7
 
8
- # Sample of regular route:
9
- # match 'products/:id' => 'catalog#view'
10
- # Keep in mind you can assign values other than :controller and :action
8
+ # You can have the root of your site routed with "root"
9
+ # root 'welcome#index'
10
+
11
+ # Example of regular route:
12
+ # get 'products/:id' => 'catalog#view'
11
13
 
12
- # Sample of named route:
13
- # match 'products/:id/purchase' => 'catalog#purchase', :as => :purchase
14
- # This route can be invoked with purchase_url(:id => product.id)
14
+ # Example of named route that can be invoked with purchase_url(id: product.id)
15
+ # get 'products/:id/purchase' => 'catalog#purchase', as: :purchase
15
16
 
16
- # Sample resource route (maps HTTP verbs to controller actions automatically):
17
+ # Example resource route (maps HTTP verbs to controller actions automatically):
17
18
  # resources :products
18
19
 
19
- # Sample resource route with options:
20
+ # Example resource route with options:
20
21
  # resources :products do
21
22
  # member do
22
23
  # get 'short'
@@ -28,34 +29,31 @@ Dummy::Application.routes.draw do
28
29
  # end
29
30
  # end
30
31
 
31
- # Sample resource route with sub-resources:
32
+ # Example resource route with sub-resources:
32
33
  # resources :products do
33
34
  # resources :comments, :sales
34
35
  # resource :seller
35
36
  # end
36
37
 
37
- # Sample resource route with more complex sub-resources
38
+ # Example resource route with more complex sub-resources:
38
39
  # resources :products do
39
40
  # resources :comments
40
41
  # resources :sales do
41
- # get 'recent', :on => :collection
42
+ # get 'recent', on: :collection
42
43
  # end
43
44
  # end
45
+
46
+ # Example resource route with concerns:
47
+ # concern :toggleable do
48
+ # post 'toggle'
49
+ # end
50
+ # resources :posts, concerns: :toggleable
51
+ # resources :photos, concerns: :toggleable
44
52
 
45
- # Sample resource route within a namespace:
53
+ # Example resource route within a namespace:
46
54
  # namespace :admin do
47
55
  # # Directs /admin/products/* to Admin::ProductsController
48
56
  # # (app/controllers/admin/products_controller.rb)
49
57
  # resources :products
50
58
  # end
51
-
52
- # You can have the root of your site routed with "root"
53
- # just remember to delete public/index.html.
54
- # root :to => 'welcome#index'
55
-
56
- # See how all your routes lay out with "rake routes"
57
-
58
- # This is a legacy wild controller route that's not recommended for RESTful applications.
59
- # Note: This route will make all actions in every controller accessible via GET requests.
60
- # match ':controller(/:action(/:id))(.:format)'
61
59
  end
Binary file
@@ -0,0 +1,16 @@
1
+ # encoding: UTF-8
2
+ # This file is auto-generated from the current state of the database. Instead
3
+ # of editing this file, please use the migrations feature of Active Record to
4
+ # incrementally modify your database, and then regenerate this schema definition.
5
+ #
6
+ # Note that this schema.rb definition is the authoritative source for your
7
+ # database schema. If you need to create the application database on another
8
+ # system, you should be using db:schema:load, not running all the migrations
9
+ # from scratch. The latter is a flawed and unsustainable approach (the more migrations
10
+ # you'll amass, the slower it'll run and the greater likelihood for issues).
11
+ #
12
+ # It's strongly recommended that you check this file into your version control system.
13
+
14
+ ActiveRecord::Schema.define(version: 0) do
15
+
16
+ end
@@ -1,176 +1,8 @@
1
- Connecting to database specified by database.yml
2
-
3
-
4
- Started GET "/" for 127.0.0.1 at 2013-04-03 16:02:00 -0300
5
- Processing by StaticsController#home as HTML
6
- Rendered statics/home.html.erb within layouts/application (6.3ms)
7
- Compiled application.css (1ms) (pid 52155)
8
- Compiled jquery.js (3ms) (pid 52155)
9
- Compiled jquery_ujs.js (1ms) (pid 52155)
10
- Compiled application.js (84ms) (pid 52155)
11
- Completed 200 OK in 209ms (Views: 208.4ms | ActiveRecord: 0.0ms)
12
-
13
-
14
- Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-04-03 16:02:01 -0300
15
- Served asset /application.css - 304 Not Modified (4ms)
16
-
17
-
18
- Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-04-03 16:02:01 -0300
19
- Served asset /jquery.js - 304 Not Modified (3ms)
20
-
21
-
22
- Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-04-03 16:02:01 -0300
23
- Served asset /application.js - 304 Not Modified (5ms)
24
-
25
-
26
- Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-04-03 16:02:01 -0300
27
- Served asset /jquery_ujs.js - 304 Not Modified (2ms)
28
- Connecting to database specified by database.yml
29
-
30
-
31
- Started GET "/" for 127.0.0.1 at 2013-04-03 16:05:37 -0300
32
- Processing by StaticsController#home as HTML
33
- Rendered statics/home.html.erb within layouts/application (3.6ms)
34
- Completed 200 OK in 38ms (Views: 37.8ms | ActiveRecord: 0.0ms)
35
-
36
-
37
- Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-04-03 16:05:37 -0300
38
- Served asset /application.css - 304 Not Modified (2ms)
39
-
40
-
41
- Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-04-03 16:05:37 -0300
42
- Served asset /jquery.js - 304 Not Modified (6ms)
43
-
44
-
45
- Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-04-03 16:05:37 -0300
46
- Served asset /jquery_ujs.js - 304 Not Modified (4ms)
47
-
48
-
49
- Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-04-03 16:05:37 -0300
50
- Served asset /application.js - 304 Not Modified (9ms)
51
- Connecting to database specified by database.yml
52
-
53
-
54
- Started GET "/" for 127.0.0.1 at 2013-04-03 16:07:55 -0300
55
- Processing by StaticsController#home as HTML
56
- Rendered statics/home.html.erb within layouts/application (3.1ms)
57
- Completed 200 OK in 32ms (Views: 31.4ms | ActiveRecord: 0.0ms)
58
- Connecting to database specified by database.yml
59
-
60
-
61
- Started GET "/" for 127.0.0.1 at 2013-04-03 16:08:11 -0300
62
- Processing by StaticsController#home as HTML
63
- Rendered statics/home.html.erb within layouts/application (2.7ms)
64
- Completed 200 OK in 53ms (Views: 52.6ms | ActiveRecord: 0.0ms)
65
-
66
-
67
- Started GET "/" for 127.0.0.1 at 2013-04-03 16:08:20 -0300
68
- Processing by StaticsController#home as HTML
69
- Rendered statics/home.html.erb within layouts/application (0.0ms)
70
- Completed 200 OK in 5ms (Views: 5.0ms | ActiveRecord: 0.0ms)
71
-
72
-
73
- Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-04-03 16:08:20 -0300
74
- Served asset /jquery_ujs.js - 304 Not Modified (2ms)
75
-
76
-
77
- Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-04-03 16:08:20 -0300
78
- Served asset /application.css - 304 Not Modified (2ms)
79
-
80
-
81
- Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-04-03 16:08:20 -0300
82
- Served asset /application.js - 304 Not Modified (6ms)
83
-
84
-
85
- Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-04-03 16:08:20 -0300
86
- Served asset /jquery.js - 304 Not Modified (3ms)
87
- Connecting to database specified by database.yml
88
-
89
-
90
- Started GET "/" for 127.0.0.1 at 2013-04-03 16:17:42 -0300
91
- Processing by StaticsController#home as HTML
92
- Rendered statics/home.html.erb within layouts/application (3.1ms)
93
- Completed 200 OK in 33ms (Views: 32.8ms | ActiveRecord: 0.0ms)
94
- Connecting to database specified by database.yml
95
-
96
-
97
- Started GET "/" for 127.0.0.1 at 2013-04-17 18:08:27 -0300
98
- Processing by StaticsController#home as HTML
99
- Rendered statics/home.html.erb within layouts/application (5.8ms)
100
- Completed 200 OK in 135ms (Views: 134.8ms | ActiveRecord: 0.0ms)
101
-
102
-
103
- Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-04-17 18:08:27 -0300
104
- Served asset /jquery_ujs.js - 304 Not Modified (5ms)
105
-
106
-
107
- Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-04-17 18:08:27 -0300
108
- Served asset /application.js - 200 OK (5ms)
109
-
110
-
111
- Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-04-17 18:08:27 -0300
112
- Served asset /application.css - 200 OK (2ms)
113
-
114
-
115
- Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-04-17 18:08:27 -0300
116
- Served asset /jquery.js - 304 Not Modified (3ms)
117
-
118
-
119
- Started GET "/" for 127.0.0.1 at 2013-04-17 18:09:19 -0300
120
- Processing by StaticsController#home as HTML
121
- Rendered statics/home.html.erb within layouts/application (0.1ms)
122
- Completed 200 OK in 5ms (Views: 4.6ms | ActiveRecord: 0.0ms)
123
-
124
-
125
- Started GET "/" for 127.0.0.1 at 2013-04-17 18:09:22 -0300
126
- Processing by StaticsController#home as HTML
127
- Rendered statics/home.html.erb within layouts/application (0.0ms)
128
- Completed 200 OK in 5ms (Views: 4.6ms | ActiveRecord: 0.0ms)
129
- Connecting to database specified by database.yml
130
-
131
-
132
- Started GET "/" for 127.0.0.1 at 2013-04-17 18:09:33 -0300
133
- Processing by StaticsController#home as HTML
134
- Rendered statics/home.html.erb within layouts/application (24.5ms)
135
- Completed 500 Internal Server Error in 83ms
136
-
137
- ActionView::Template::Error (undefined method `scan' for #<#<Class:0x007f9d71bdc520>:0x007f9d71cbae38>):
138
- 4: <title>Dummy</title>
139
- 5: <%= stylesheet_link_tag "application", :media => "all" %>
140
- 6: <%= javascript_include_tag "application" %>
141
- 7: <%= google_analytics_include_tag 'your-id' %>
142
- 8: <%= csrf_meta_tags %>
143
- 9: </head>
144
- 10: <body>
145
- app/views/layouts/application.html.erb:7:in `_app_views_layouts_application_html_erb___298453737105053640_70157099377240'
146
-
147
-
148
- Rendered /Users/Matt/.rbenv/versions/1.9.3-p392/lib/ruby/gems/1.9.1/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_trace.erb (2.4ms)
149
- Rendered /Users/Matt/.rbenv/versions/1.9.3-p392/lib/ruby/gems/1.9.1/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.6ms)
150
- Rendered /Users/Matt/.rbenv/versions/1.9.3-p392/lib/ruby/gems/1.9.1/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (15.1ms)
151
- Connecting to database specified by database.yml
152
-
153
-
154
- Started GET "/" for 127.0.0.1 at 2013-04-17 18:13:38 -0300
155
- Processing by StaticsController#home as HTML
156
- Rendered statics/home.html.erb within layouts/application (3.5ms)
157
- Completed 200 OK in 56ms (Views: 55.1ms | ActiveRecord: 0.0ms)
158
-
159
-
160
- Started GET "/" for 127.0.0.1 at 2013-04-17 18:14:25 -0300
161
- Processing by StaticsController#home as HTML
162
- Rendered statics/home.html.erb within layouts/application (0.0ms)
163
- Completed 200 OK in 5ms (Views: 4.8ms | ActiveRecord: 0.0ms)
164
-
165
-
166
- Started GET "/" for 127.0.0.1 at 2013-04-17 18:14:28 -0300
167
- Processing by StaticsController#home as HTML
168
- Rendered statics/home.html.erb within layouts/application (0.0ms)
169
- Completed 200 OK in 5ms (Views: 4.7ms | ActiveRecord: 0.0ms)
170
- Connecting to database specified by database.yml
171
-
172
-
173
- Started GET "/" for 127.0.0.1 at 2013-04-17 18:14:41 -0300
174
- Processing by StaticsController#home as HTML
175
- Rendered statics/home.html.erb within layouts/application (3.0ms)
176
- Completed 200 OK in 32ms (Views: 31.4ms | ActiveRecord: 0.0ms)
1
+  (3.0ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
2
+  (3.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
3
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
4
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
5
+  (0.2ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
6
+  (0.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
7
+  (0.1ms) SELECT version FROM "schema_migrations"
8
+  (0.1ms) INSERT INTO "schema_migrations" (version) VALUES ('0')