landing_page 0.0.2 → 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/app/controllers/landing_page/users_controller.rb +3 -1
- data/app/models/landing_page/user.rb +6 -0
- data/app/views/landing_page/users/create.html.slim +1 -1
- data/lib/landing_page/version.rb +1 -1
- data/spec/controllers/landing_page/users_controller_spec.rb +39 -0
- data/spec/dummy/README.rdoc +261 -0
- data/spec/dummy/Rakefile +7 -0
- data/spec/dummy/app/assets/javascripts/application.js +15 -0
- data/spec/dummy/app/assets/stylesheets/application.css +13 -0
- data/spec/dummy/app/controllers/application_controller.rb +3 -0
- data/spec/dummy/app/helpers/application_helper.rb +2 -0
- data/spec/dummy/app/views/layouts/application.html.erb +14 -0
- data/spec/dummy/config.ru +4 -0
- data/spec/dummy/config/application.rb +65 -0
- data/spec/dummy/config/boot.rb +10 -0
- data/spec/dummy/config/database.yml +25 -0
- data/spec/dummy/config/environment.rb +5 -0
- data/spec/dummy/config/environments/development.rb +37 -0
- data/spec/dummy/config/environments/production.rb +67 -0
- data/spec/dummy/config/environments/test.rb +37 -0
- data/spec/dummy/config/initializers/backtrace_silencers.rb +7 -0
- data/spec/dummy/config/initializers/inflections.rb +15 -0
- data/spec/dummy/config/initializers/mime_types.rb +5 -0
- data/spec/dummy/config/initializers/secret_token.rb +7 -0
- data/spec/dummy/config/initializers/session_store.rb +8 -0
- data/spec/dummy/config/initializers/wrap_parameters.rb +14 -0
- data/spec/dummy/config/locales/en.yml +5 -0
- data/spec/dummy/config/routes.rb +4 -0
- data/spec/dummy/db/schema.rb +26 -0
- data/spec/dummy/db/test.sqlite3 +0 -0
- data/spec/dummy/log/test.log +438 -0
- data/spec/dummy/public/404.html +26 -0
- data/spec/dummy/public/422.html +26 -0
- data/spec/dummy/public/500.html +25 -0
- data/spec/dummy/public/favicon.ico +0 -0
- data/spec/dummy/script/rails +6 -0
- data/spec/features/user_leave_email_spec.rb +27 -0
- data/spec/features/user_share_page_spec.rb +14 -0
- data/spec/models/landing_page/user_spec.rb +45 -0
- data/spec/spec_helper.rb +49 -0
- data/spec/support/factories.rb +5 -0
- data/spec/support/helper.rb +8 -0
- metadata +95 -37
- data/README.rdoc +0 -5
@@ -0,0 +1,25 @@
|
|
1
|
+
# SQLite version 3.x
|
2
|
+
# gem install sqlite3
|
3
|
+
#
|
4
|
+
# Ensure the SQLite 3 gem is defined in your Gemfile
|
5
|
+
# gem 'sqlite3'
|
6
|
+
development:
|
7
|
+
adapter: sqlite3
|
8
|
+
database: db/development.sqlite3
|
9
|
+
pool: 5
|
10
|
+
timeout: 5000
|
11
|
+
|
12
|
+
# Warning: The database defined as "test" will be erased and
|
13
|
+
# re-generated from your development database when you run "rake".
|
14
|
+
# Do not set this db to the same as development or production.
|
15
|
+
test:
|
16
|
+
adapter: sqlite3
|
17
|
+
database: db/test.sqlite3
|
18
|
+
pool: 5
|
19
|
+
timeout: 5000
|
20
|
+
|
21
|
+
production:
|
22
|
+
adapter: sqlite3
|
23
|
+
database: db/production.sqlite3
|
24
|
+
pool: 5
|
25
|
+
timeout: 5000
|
@@ -0,0 +1,37 @@
|
|
1
|
+
Dummy::Application.configure do
|
2
|
+
# Settings specified here will take precedence over those in config/application.rb
|
3
|
+
|
4
|
+
# In the development environment your application's code is reloaded on
|
5
|
+
# every request. This slows down response time but is perfect for development
|
6
|
+
# since you don't have to restart the web server when you make code changes.
|
7
|
+
config.cache_classes = false
|
8
|
+
|
9
|
+
# Log error messages when you accidentally call methods on nil.
|
10
|
+
config.whiny_nils = true
|
11
|
+
|
12
|
+
# Show full error reports and disable caching
|
13
|
+
config.consider_all_requests_local = true
|
14
|
+
config.action_controller.perform_caching = false
|
15
|
+
|
16
|
+
# Don't care if the mailer can't send
|
17
|
+
config.action_mailer.raise_delivery_errors = false
|
18
|
+
|
19
|
+
# Print deprecation notices to the Rails logger
|
20
|
+
config.active_support.deprecation = :log
|
21
|
+
|
22
|
+
# Only use best-standards-support built into browsers
|
23
|
+
config.action_dispatch.best_standards_support = :builtin
|
24
|
+
|
25
|
+
# Raise exception on mass assignment protection for Active Record models
|
26
|
+
config.active_record.mass_assignment_sanitizer = :strict
|
27
|
+
|
28
|
+
# Log the query plan for queries taking more than this (works
|
29
|
+
# with SQLite, MySQL, and PostgreSQL)
|
30
|
+
config.active_record.auto_explain_threshold_in_seconds = 0.5
|
31
|
+
|
32
|
+
# Do not compress assets
|
33
|
+
config.assets.compress = false
|
34
|
+
|
35
|
+
# Expands the lines which load the assets
|
36
|
+
config.assets.debug = true
|
37
|
+
end
|
@@ -0,0 +1,67 @@
|
|
1
|
+
Dummy::Application.configure do
|
2
|
+
# Settings specified here will take precedence over those in config/application.rb
|
3
|
+
|
4
|
+
# Code is not reloaded between requests
|
5
|
+
config.cache_classes = true
|
6
|
+
|
7
|
+
# Full error reports are disabled and caching is turned on
|
8
|
+
config.consider_all_requests_local = false
|
9
|
+
config.action_controller.perform_caching = true
|
10
|
+
|
11
|
+
# Disable Rails's static asset server (Apache or nginx will already do this)
|
12
|
+
config.serve_static_assets = false
|
13
|
+
|
14
|
+
# Compress JavaScripts and CSS
|
15
|
+
config.assets.compress = true
|
16
|
+
|
17
|
+
# Don't fallback to assets pipeline if a precompiled asset is missed
|
18
|
+
config.assets.compile = false
|
19
|
+
|
20
|
+
# Generate digests for assets URLs
|
21
|
+
config.assets.digest = true
|
22
|
+
|
23
|
+
# Defaults to nil and saved in location specified by config.assets.prefix
|
24
|
+
# config.assets.manifest = YOUR_PATH
|
25
|
+
|
26
|
+
# Specifies the header that your server uses for sending files
|
27
|
+
# config.action_dispatch.x_sendfile_header = "X-Sendfile" # for apache
|
28
|
+
# config.action_dispatch.x_sendfile_header = 'X-Accel-Redirect' # for nginx
|
29
|
+
|
30
|
+
# Force all access to the app over SSL, use Strict-Transport-Security, and use secure cookies.
|
31
|
+
# config.force_ssl = true
|
32
|
+
|
33
|
+
# See everything in the log (default is :info)
|
34
|
+
# config.log_level = :debug
|
35
|
+
|
36
|
+
# Prepend all log lines with the following tags
|
37
|
+
# config.log_tags = [ :subdomain, :uuid ]
|
38
|
+
|
39
|
+
# Use a different logger for distributed setups
|
40
|
+
# config.logger = ActiveSupport::TaggedLogging.new(SyslogLogger.new)
|
41
|
+
|
42
|
+
# Use a different cache store in production
|
43
|
+
# config.cache_store = :mem_cache_store
|
44
|
+
|
45
|
+
# Enable serving of images, stylesheets, and JavaScripts from an asset server
|
46
|
+
# config.action_controller.asset_host = "http://assets.example.com"
|
47
|
+
|
48
|
+
# Precompile additional assets (application.js, application.css, and all non-JS/CSS are already added)
|
49
|
+
# config.assets.precompile += %w( search.js )
|
50
|
+
|
51
|
+
# Disable delivery errors, bad email addresses will be ignored
|
52
|
+
# config.action_mailer.raise_delivery_errors = false
|
53
|
+
|
54
|
+
# Enable threaded mode
|
55
|
+
# config.threadsafe!
|
56
|
+
|
57
|
+
# Enable locale fallbacks for I18n (makes lookups for any locale fall back to
|
58
|
+
# the I18n.default_locale when a translation can not be found)
|
59
|
+
config.i18n.fallbacks = true
|
60
|
+
|
61
|
+
# Send deprecation notices to registered listeners
|
62
|
+
config.active_support.deprecation = :notify
|
63
|
+
|
64
|
+
# Log the query plan for queries taking more than this (works
|
65
|
+
# with SQLite, MySQL, and PostgreSQL)
|
66
|
+
# config.active_record.auto_explain_threshold_in_seconds = 0.5
|
67
|
+
end
|
@@ -0,0 +1,37 @@
|
|
1
|
+
Dummy::Application.configure do
|
2
|
+
# Settings specified here will take precedence over those in config/application.rb
|
3
|
+
|
4
|
+
# The test environment is used exclusively to run your application's
|
5
|
+
# test suite. You never need to work with it otherwise. Remember that
|
6
|
+
# your test database is "scratch space" for the test suite and is wiped
|
7
|
+
# and recreated between test runs. Don't rely on the data there!
|
8
|
+
config.cache_classes = true
|
9
|
+
|
10
|
+
# Configure static asset server for tests with Cache-Control for performance
|
11
|
+
config.serve_static_assets = true
|
12
|
+
config.static_cache_control = "public, max-age=3600"
|
13
|
+
|
14
|
+
# Log error messages when you accidentally call methods on nil
|
15
|
+
config.whiny_nils = true
|
16
|
+
|
17
|
+
# Show full error reports and disable caching
|
18
|
+
config.consider_all_requests_local = true
|
19
|
+
config.action_controller.perform_caching = false
|
20
|
+
|
21
|
+
# Raise exceptions instead of rendering exception templates
|
22
|
+
config.action_dispatch.show_exceptions = false
|
23
|
+
|
24
|
+
# Disable request forgery protection in test environment
|
25
|
+
config.action_controller.allow_forgery_protection = false
|
26
|
+
|
27
|
+
# Tell Action Mailer not to deliver emails to the real world.
|
28
|
+
# The :test delivery method accumulates sent emails in the
|
29
|
+
# ActionMailer::Base.deliveries array.
|
30
|
+
config.action_mailer.delivery_method = :test
|
31
|
+
|
32
|
+
# Raise exception on mass assignment protection for Active Record models
|
33
|
+
config.active_record.mass_assignment_sanitizer = :strict
|
34
|
+
|
35
|
+
# Print deprecation notices to the stderr
|
36
|
+
config.active_support.deprecation = :stderr
|
37
|
+
end
|
@@ -0,0 +1,7 @@
|
|
1
|
+
# Be sure to restart your server when you modify this file.
|
2
|
+
|
3
|
+
# You can add backtrace silencers for libraries that you're using but don't wish to see in your backtraces.
|
4
|
+
# Rails.backtrace_cleaner.add_silencer { |line| line =~ /my_noisy_library/ }
|
5
|
+
|
6
|
+
# You can also remove all the silencers if you're trying to debug a problem that might stem from framework code.
|
7
|
+
# Rails.backtrace_cleaner.remove_silencers!
|
@@ -0,0 +1,15 @@
|
|
1
|
+
# Be sure to restart your server when you modify this file.
|
2
|
+
|
3
|
+
# Add new inflection rules using the following format
|
4
|
+
# (all these examples are active by default):
|
5
|
+
# ActiveSupport::Inflector.inflections do |inflect|
|
6
|
+
# inflect.plural /^(ox)$/i, '\1en'
|
7
|
+
# inflect.singular /^(ox)en/i, '\1'
|
8
|
+
# inflect.irregular 'person', 'people'
|
9
|
+
# inflect.uncountable %w( fish sheep )
|
10
|
+
# end
|
11
|
+
#
|
12
|
+
# These inflection rules are supported but not enabled by default:
|
13
|
+
# ActiveSupport::Inflector.inflections do |inflect|
|
14
|
+
# inflect.acronym 'RESTful'
|
15
|
+
# end
|
@@ -0,0 +1,7 @@
|
|
1
|
+
# Be sure to restart your server when you modify this file.
|
2
|
+
|
3
|
+
# Your secret key for verifying the integrity of signed cookies.
|
4
|
+
# If you change this key, all old signed cookies will become invalid!
|
5
|
+
# Make sure the secret is at least 30 characters and all random,
|
6
|
+
# no regular words or you'll be exposed to dictionary attacks.
|
7
|
+
Dummy::Application.config.secret_token = '132d6a6e0b66f44c80ff8ff1e4abb46b1b42ce0f70eb20beb1fac63c6c39d21ce43d91bd3e6edda36a49e3341e51f93f7d9996ee261332df8a995b97de2f135f'
|
@@ -0,0 +1,8 @@
|
|
1
|
+
# Be sure to restart your server when you modify this file.
|
2
|
+
|
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
|
@@ -0,0 +1,14 @@
|
|
1
|
+
# Be sure to restart your server when you modify this file.
|
2
|
+
#
|
3
|
+
# This file contains settings for ActionController::ParamsWrapper which
|
4
|
+
# is enabled by default.
|
5
|
+
|
6
|
+
# Enable parameter wrapping for JSON. You can disable this by setting :format to an empty array.
|
7
|
+
ActiveSupport.on_load(:action_controller) do
|
8
|
+
wrap_parameters format: [:json]
|
9
|
+
end
|
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
|
@@ -0,0 +1,26 @@
|
|
1
|
+
# encoding: UTF-8
|
2
|
+
# This file is auto-generated from the current state of the database. Instead
|
3
|
+
# of editing this file, please use the migrations feature of Active Record to
|
4
|
+
# incrementally modify your database, and then regenerate this schema definition.
|
5
|
+
#
|
6
|
+
# Note that this schema.rb definition is the authoritative source for your
|
7
|
+
# database schema. If you need to create the application database on another
|
8
|
+
# system, you should be using db:schema:load, not running all the migrations
|
9
|
+
# from scratch. The latter is a flawed and unsustainable approach (the more migrations
|
10
|
+
# you'll amass, the slower it'll run and the greater likelihood for issues).
|
11
|
+
#
|
12
|
+
# It's strongly recommended to check this file into your version control system.
|
13
|
+
|
14
|
+
ActiveRecord::Schema.define(:version => 20130730071415) do
|
15
|
+
|
16
|
+
create_table "landing_page_users", :force => true do |t|
|
17
|
+
t.string "email"
|
18
|
+
t.datetime "created_at", :null => false
|
19
|
+
t.datetime "updated_at", :null => false
|
20
|
+
t.string "name"
|
21
|
+
t.string "locale"
|
22
|
+
end
|
23
|
+
|
24
|
+
add_index "landing_page_users", ["email"], :name => "index_landing_page_users_on_email", :unique => true
|
25
|
+
|
26
|
+
end
|
Binary file
|
@@ -0,0 +1,438 @@
|
|
1
|
+
Connecting to database specified by database.yml
|
2
|
+
Connecting to database specified by database.yml
|
3
|
+
[1m[36m (0.7ms)[0m [1mbegin transaction[0m
|
4
|
+
Started GET "/landing_page/" for 127.0.0.1 at 2013-09-15 13:45:47 +0200
|
5
|
+
Processing by LandingPage::UsersController#new as HTML
|
6
|
+
Completed 500 Internal Server Error in 70ms
|
7
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
8
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
9
|
+
Processing by LandingPage::UsersController#new as HTML
|
10
|
+
Completed 500 Internal Server Error in 1ms
|
11
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
12
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
13
|
+
Processing by LandingPage::UsersController#create as HTML
|
14
|
+
Parameters: {"user"=>{"email"=>"valid@email.com"}}
|
15
|
+
Completed 500 Internal Server Error in 1ms
|
16
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
17
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
18
|
+
Processing by LandingPage::UsersController#create as HTML
|
19
|
+
Parameters: {"user"=>{"email"=>"valid@email.com"}}
|
20
|
+
Completed 500 Internal Server Error in 1ms
|
21
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
22
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
23
|
+
Processing by LandingPage::UsersController#create as HTML
|
24
|
+
Parameters: {"user"=>{"email"=>"valid@email.com"}}
|
25
|
+
Completed 500 Internal Server Error in 1ms
|
26
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
27
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
28
|
+
Processing by LandingPage::UsersController#create as HTML
|
29
|
+
Parameters: {"user"=>{"email"=>"invalid_email"}}
|
30
|
+
Completed 500 Internal Server Error in 1ms
|
31
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
32
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
33
|
+
Processing by LandingPage::UsersController#create as HTML
|
34
|
+
Parameters: {"user"=>{"email"=>"invalid_email"}}
|
35
|
+
Completed 500 Internal Server Error in 1ms
|
36
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
37
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
38
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
39
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
40
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
41
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
42
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
43
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
44
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
45
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
46
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
47
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
48
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
49
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
50
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
51
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
52
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
53
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
54
|
+
Started GET "/landing_page/" for 127.0.0.1 at 2013-09-15 13:45:47 +0200
|
55
|
+
Processing by LandingPage::UsersController#new as HTML
|
56
|
+
Completed 500 Internal Server Error in 1ms
|
57
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
58
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
59
|
+
Started GET "/landing_page/" for 127.0.0.1 at 2013-09-15 13:45:47 +0200
|
60
|
+
Processing by LandingPage::UsersController#new as HTML
|
61
|
+
Completed 500 Internal Server Error in 1ms
|
62
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
63
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
64
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
65
|
+
Connecting to database specified by database.yml
|
66
|
+
[1m[36m (0.2ms)[0m [1mselect sqlite_version(*)[0m
|
67
|
+
[1m[35m (423.4ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
|
68
|
+
[1m[36m (189.0ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
69
|
+
[1m[35m (0.4ms)[0m SELECT "schema_migrations"."version" FROM "schema_migrations"
|
70
|
+
Migrating to CreateLandingPageUsers (20130727104115)
|
71
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
72
|
+
[1m[35m (1.5ms)[0m CREATE TABLE "landing_page_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
73
|
+
[1m[36m (1.0ms)[0m [1mCREATE UNIQUE INDEX "index_landing_page_users_on_email" ON "landing_page_users" ("email")[0m
|
74
|
+
[1m[35m (0.5ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20130727104115')
|
75
|
+
[1m[36m (167.1ms)[0m [1mcommit transaction[0m
|
76
|
+
Migrating to AddNameToLandingPageUsers (20130727152153)
|
77
|
+
[1m[35m (0.2ms)[0m begin transaction
|
78
|
+
[1m[36m (1.3ms)[0m [1mALTER TABLE "landing_page_users" ADD "name" varchar(255)[0m
|
79
|
+
[1m[35m (0.5ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20130727152153')
|
80
|
+
[1m[36m (147.4ms)[0m [1mcommit transaction[0m
|
81
|
+
Migrating to AddLocaleToLandingPageUsers (20130730071415)
|
82
|
+
[1m[35m (0.1ms)[0m begin transaction
|
83
|
+
[1m[36m (0.7ms)[0m [1mALTER TABLE "landing_page_users" ADD "locale" varchar(255)[0m
|
84
|
+
[1m[35m (0.2ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20130730071415')
|
85
|
+
[1m[36m (218.8ms)[0m [1mcommit transaction[0m
|
86
|
+
[1m[35m (0.6ms)[0m SELECT "schema_migrations"."version" FROM "schema_migrations"
|
87
|
+
Connecting to database specified by database.yml
|
88
|
+
[1m[36m (0.8ms)[0m [1mbegin transaction[0m
|
89
|
+
Processing by LandingPage::UsersController#new as HTML
|
90
|
+
Rendered /home/marc/webs/projects/landing_page/app/views/landing_page/users/new.html.slim within layouts/application (0.6ms)
|
91
|
+
Completed 200 OK in 108ms (Views: 13.9ms | ActiveRecord: 2.0ms)
|
92
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
93
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
94
|
+
Processing by LandingPage::UsersController#create as HTML
|
95
|
+
Parameters: {"user"=>{"email"=>"valid@email.com"}}
|
96
|
+
Completed 500 Internal Server Error in 1ms
|
97
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
98
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
99
|
+
Processing by LandingPage::UsersController#create as HTML
|
100
|
+
Parameters: {"user"=>{"email"=>"valid@email.com"}}
|
101
|
+
Completed 500 Internal Server Error in 1ms
|
102
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
103
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
104
|
+
Processing by LandingPage::UsersController#create as HTML
|
105
|
+
Parameters: {"user"=>{"email"=>"valid@email.com"}}
|
106
|
+
Completed 500 Internal Server Error in 1ms
|
107
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
108
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
109
|
+
Processing by LandingPage::UsersController#create as HTML
|
110
|
+
Parameters: {"user"=>{"email"=>"invalid_email"}}
|
111
|
+
Completed 500 Internal Server Error in 1ms
|
112
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
113
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
114
|
+
Processing by LandingPage::UsersController#create as HTML
|
115
|
+
Parameters: {"user"=>{"email"=>"invalid_email"}}
|
116
|
+
Completed 500 Internal Server Error in 1ms
|
117
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
118
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
119
|
+
Started GET "/landing_page/" for 127.0.0.1 at 2013-09-15 13:46:56 +0200
|
120
|
+
Processing by LandingPage::UsersController#new as HTML
|
121
|
+
Completed 200 OK in 95ms (Views: 94.0ms | ActiveRecord: 0.0ms)
|
122
|
+
Started POST "/landing_page/users" for 127.0.0.1 at 2013-09-15 13:46:56 +0200
|
123
|
+
Processing by LandingPage::UsersController#create as HTML
|
124
|
+
Parameters: {"utf8"=>"✓", "user"=>{"name"=>"Name", "email"=>"dummy@email.com"}, "commit"=>"Subscribe"}
|
125
|
+
Completed 500 Internal Server Error in 1ms
|
126
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
127
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
128
|
+
Started GET "/landing_page/" for 127.0.0.1 at 2013-09-15 13:46:56 +0200
|
129
|
+
Processing by LandingPage::UsersController#new as HTML
|
130
|
+
Completed 200 OK in 8ms (Views: 7.7ms | ActiveRecord: 0.0ms)
|
131
|
+
Started POST "/landing_page/users" for 127.0.0.1 at 2013-09-15 13:46:56 +0200
|
132
|
+
Processing by LandingPage::UsersController#create as HTML
|
133
|
+
Parameters: {"utf8"=>"✓", "user"=>{"name"=>"Name", "email"=>"not_valid_email"}, "commit"=>"Subscribe"}
|
134
|
+
Completed 500 Internal Server Error in 1ms
|
135
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
136
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
137
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
138
|
+
[1m[36mLandingPage::User Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "landing_page_users" WHERE "landing_page_users"."email" = 'dummy@email.com' LIMIT 1[0m
|
139
|
+
[1m[35mSQL (2.4ms)[0m INSERT INTO "landing_page_users" ("created_at", "email", "locale", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 15 Sep 2013 11:46:56 UTC +00:00], ["email", "dummy@email.com"], ["locale", "en"], ["name", nil], ["updated_at", Sun, 15 Sep 2013 11:46:56 UTC +00:00]]
|
140
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
141
|
+
Started GET "/landing_page/" for 127.0.0.1 at 2013-09-15 13:46:56 +0200
|
142
|
+
Processing by LandingPage::UsersController#new as HTML
|
143
|
+
Completed 200 OK in 8ms (Views: 6.8ms | ActiveRecord: 0.0ms)
|
144
|
+
Started POST "/landing_page/users" for 127.0.0.1 at 2013-09-15 13:46:56 +0200
|
145
|
+
Processing by LandingPage::UsersController#create as HTML
|
146
|
+
Parameters: {"utf8"=>"✓", "user"=>{"name"=>"Name", "email"=>"dummy@email.com"}, "commit"=>"Subscribe"}
|
147
|
+
Completed 500 Internal Server Error in 1ms
|
148
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
149
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
150
|
+
Started GET "/landing_page/" for 127.0.0.1 at 2013-09-15 13:46:56 +0200
|
151
|
+
Processing by LandingPage::UsersController#new as HTML
|
152
|
+
Completed 200 OK in 9ms (Views: 8.0ms | ActiveRecord: 0.0ms)
|
153
|
+
Started POST "/landing_page/users" for 127.0.0.1 at 2013-09-15 13:46:56 +0200
|
154
|
+
Processing by LandingPage::UsersController#create as HTML
|
155
|
+
Parameters: {"utf8"=>"✓", "user"=>{"name"=>"Name", "email"=>"dummy@email.com"}, "commit"=>"Subscribe"}
|
156
|
+
Completed 500 Internal Server Error in 2ms
|
157
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
158
|
+
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
159
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
160
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
161
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
162
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
163
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
164
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
165
|
+
[1m[35mLandingPage::User Exists (0.3ms)[0m SELECT 1 AS one FROM "landing_page_users" WHERE "landing_page_users"."email" IS NULL LIMIT 1
|
166
|
+
[1m[36mLandingPage::User Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "landing_page_users" WHERE "landing_page_users"."email" IS NULL LIMIT 1[0m
|
167
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
168
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
169
|
+
[1m[35mLandingPage::User Exists (0.3ms)[0m SELECT 1 AS one FROM "landing_page_users" WHERE "landing_page_users"."email" = 'dummy@mail.com' LIMIT 1
|
170
|
+
[1m[36mLandingPage::User Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "landing_page_users" WHERE "landing_page_users"."email" = 'invalid_email' LIMIT 1[0m
|
171
|
+
[1m[35mLandingPage::User Exists (0.2ms)[0m SELECT 1 AS one FROM "landing_page_users" WHERE "landing_page_users"."email" = 'invalid_email' LIMIT 1
|
172
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
173
|
+
[1m[35m (0.2ms)[0m begin transaction
|
174
|
+
[1m[36mLandingPage::User Load (0.4ms)[0m [1mSELECT "landing_page_users".* FROM "landing_page_users" LIMIT 1[0m
|
175
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
176
|
+
[1m[36mSQL (0.7ms)[0m [1mINSERT INTO "landing_page_users" ("created_at", "email", "locale", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Sun, 15 Sep 2013 11:46:56 UTC +00:00], ["email", "arbitrary_string"], ["locale", "en"], ["name", nil], ["updated_at", Sun, 15 Sep 2013 11:46:56 UTC +00:00]]
|
177
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
178
|
+
[1m[36mLandingPage::User Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "landing_page_users" WHERE "landing_page_users"."email" = 'arbitrary_string' LIMIT 1[0m
|
179
|
+
[1m[35mLandingPage::User Exists (0.4ms)[0m SELECT 1 AS one FROM "landing_page_users" WHERE "landing_page_users"."email" = 'arbitrary_string' LIMIT 1
|
180
|
+
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
181
|
+
[1m[35m (0.2ms)[0m begin transaction
|
182
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
183
|
+
[1m[35mLandingPage::User Exists (0.3ms)[0m SELECT 1 AS one FROM "landing_page_users" WHERE "landing_page_users"."email" = 'dummy@email.com' LIMIT 1
|
184
|
+
[1m[36mSQL (0.7ms)[0m [1mINSERT INTO "landing_page_users" ("created_at", "email", "locale", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Sun, 15 Sep 2013 11:46:56 UTC +00:00], ["email", "dummy@email.com"], ["locale", "en"], ["name", nil], ["updated_at", Sun, 15 Sep 2013 11:46:56 UTC +00:00]]
|
185
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
186
|
+
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
187
|
+
[1m[35m (0.1ms)[0m begin transaction
|
188
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
189
|
+
[1m[35mLandingPage::User Exists (0.3ms)[0m SELECT 1 AS one FROM "landing_page_users" WHERE "landing_page_users"."email" = 'dummy@email.com' LIMIT 1
|
190
|
+
[1m[36mSQL (0.7ms)[0m [1mINSERT INTO "landing_page_users" ("created_at", "email", "locale", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Sun, 15 Sep 2013 11:46:56 UTC +00:00], ["email", "dummy@email.com"], ["locale", "en"], ["name", "dummy name"], ["updated_at", Sun, 15 Sep 2013 11:46:56 UTC +00:00]]
|
191
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
192
|
+
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
193
|
+
Connecting to database specified by database.yml
|
194
|
+
[1m[36m (0.7ms)[0m [1mbegin transaction[0m
|
195
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
196
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
197
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
198
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
199
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
200
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
201
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
202
|
+
[1m[36mLandingPage::User Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "landing_page_users" WHERE "landing_page_users"."email" = 'dummy@email.com' LIMIT 1[0m
|
203
|
+
[1m[35mSQL (2.3ms)[0m INSERT INTO "landing_page_users" ("created_at", "email", "locale", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 15 Sep 2013 11:47:38 UTC +00:00], ["email", "dummy@email.com"], ["locale", "en"], ["name", "dummy name"], ["updated_at", Sun, 15 Sep 2013 11:47:38 UTC +00:00]]
|
204
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
205
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
206
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
207
|
+
[1m[35mLandingPage::User Load (0.3ms)[0m SELECT "landing_page_users".* FROM "landing_page_users" LIMIT 1
|
208
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
209
|
+
[1m[35mSQL (0.7ms)[0m INSERT INTO "landing_page_users" ("created_at", "email", "locale", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 15 Sep 2013 11:47:38 UTC +00:00], ["email", "arbitrary_string"], ["locale", "en"], ["name", nil], ["updated_at", Sun, 15 Sep 2013 11:47:38 UTC +00:00]]
|
210
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
211
|
+
[1m[35mLandingPage::User Exists (0.2ms)[0m SELECT 1 AS one FROM "landing_page_users" WHERE "landing_page_users"."email" = 'arbitrary_string' LIMIT 1
|
212
|
+
[1m[36mLandingPage::User Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "landing_page_users" WHERE "landing_page_users"."email" = 'arbitrary_string' LIMIT 1[0m
|
213
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
214
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
215
|
+
[1m[35mLandingPage::User Exists (0.3ms)[0m SELECT 1 AS one FROM "landing_page_users" WHERE "landing_page_users"."email" IS NULL LIMIT 1
|
216
|
+
[1m[36mLandingPage::User Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "landing_page_users" WHERE "landing_page_users"."email" IS NULL LIMIT 1[0m
|
217
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
218
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
219
|
+
[1m[35mLandingPage::User Exists (0.3ms)[0m SELECT 1 AS one FROM "landing_page_users" WHERE "landing_page_users"."email" = 'dummy@mail.com' LIMIT 1
|
220
|
+
[1m[36mLandingPage::User Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "landing_page_users" WHERE "landing_page_users"."email" = 'invalid_email' LIMIT 1[0m
|
221
|
+
[1m[35mLandingPage::User Exists (0.2ms)[0m SELECT 1 AS one FROM "landing_page_users" WHERE "landing_page_users"."email" = 'invalid_email' LIMIT 1
|
222
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
223
|
+
[1m[35m (0.1ms)[0m begin transaction
|
224
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
225
|
+
[1m[35mLandingPage::User Exists (0.3ms)[0m SELECT 1 AS one FROM "landing_page_users" WHERE "landing_page_users"."email" = 'dummy@email.com' LIMIT 1
|
226
|
+
[1m[36mSQL (0.7ms)[0m [1mINSERT INTO "landing_page_users" ("created_at", "email", "locale", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Sun, 15 Sep 2013 11:47:38 UTC +00:00], ["email", "dummy@email.com"], ["locale", "en"], ["name", nil], ["updated_at", Sun, 15 Sep 2013 11:47:38 UTC +00:00]]
|
227
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
228
|
+
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
229
|
+
[1m[35m (0.1ms)[0m begin transaction
|
230
|
+
Started GET "/landing_page/" for 127.0.0.1 at 2013-09-15 13:47:38 +0200
|
231
|
+
Processing by LandingPage::UsersController#new as HTML
|
232
|
+
Rendered /home/marc/webs/projects/landing_page/app/views/landing_page/users/new.html.slim within layouts/application (37.5ms)
|
233
|
+
Completed 200 OK in 55ms (Views: 54.2ms | ActiveRecord: 0.0ms)
|
234
|
+
Started POST "/landing_page/users" for 127.0.0.1 at 2013-09-15 13:47:38 +0200
|
235
|
+
Processing by LandingPage::UsersController#create as HTML
|
236
|
+
Parameters: {"utf8"=>"✓", "user"=>{"name"=>"Name", "email"=>"dummy@email.com"}, "commit"=>"Subscribe"}
|
237
|
+
Completed 500 Internal Server Error in 2ms
|
238
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
239
|
+
[1m[35m (0.1ms)[0m begin transaction
|
240
|
+
Processing by LandingPage::UsersController#create as HTML
|
241
|
+
Parameters: {"user"=>{"email"=>"invalid_email"}}
|
242
|
+
Completed 500 Internal Server Error in 1ms
|
243
|
+
[1m[36m (0.2ms)[0m [1mrollback transaction[0m
|
244
|
+
[1m[35m (0.2ms)[0m begin transaction
|
245
|
+
Processing by LandingPage::UsersController#create as HTML
|
246
|
+
Parameters: {"user"=>{"email"=>"invalid_email"}}
|
247
|
+
Completed 500 Internal Server Error in 1ms
|
248
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
249
|
+
[1m[35m (0.1ms)[0m begin transaction
|
250
|
+
Processing by LandingPage::UsersController#create as HTML
|
251
|
+
Parameters: {"user"=>{"email"=>"valid@email.com"}}
|
252
|
+
Completed 500 Internal Server Error in 1ms
|
253
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
254
|
+
[1m[35m (0.1ms)[0m begin transaction
|
255
|
+
Processing by LandingPage::UsersController#create as HTML
|
256
|
+
Parameters: {"user"=>{"email"=>"valid@email.com"}}
|
257
|
+
Completed 500 Internal Server Error in 1ms
|
258
|
+
[1m[36m (0.2ms)[0m [1mrollback transaction[0m
|
259
|
+
[1m[35m (0.1ms)[0m begin transaction
|
260
|
+
Processing by LandingPage::UsersController#create as HTML
|
261
|
+
Parameters: {"user"=>{"email"=>"valid@email.com"}}
|
262
|
+
Completed 500 Internal Server Error in 1ms
|
263
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
264
|
+
[1m[35m (0.1ms)[0m begin transaction
|
265
|
+
Processing by LandingPage::UsersController#new as HTML
|
266
|
+
Completed 200 OK in 3ms (Views: 2.1ms | ActiveRecord: 0.0ms)
|
267
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
268
|
+
[1m[35m (0.1ms)[0m begin transaction
|
269
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
270
|
+
[1m[35mLandingPage::User Exists (0.3ms)[0m SELECT 1 AS one FROM "landing_page_users" WHERE "landing_page_users"."email" = 'dummy@email.com' LIMIT 1
|
271
|
+
[1m[36mSQL (0.7ms)[0m [1mINSERT INTO "landing_page_users" ("created_at", "email", "locale", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Sun, 15 Sep 2013 11:47:38 UTC +00:00], ["email", "dummy@email.com"], ["locale", "en"], ["name", nil], ["updated_at", Sun, 15 Sep 2013 11:47:38 UTC +00:00]]
|
272
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
273
|
+
Started GET "/landing_page/" for 127.0.0.1 at 2013-09-15 13:47:38 +0200
|
274
|
+
Processing by LandingPage::UsersController#new as HTML
|
275
|
+
Completed 200 OK in 7ms (Views: 6.0ms | ActiveRecord: 0.0ms)
|
276
|
+
Started POST "/landing_page/users" for 127.0.0.1 at 2013-09-15 13:47:38 +0200
|
277
|
+
Processing by LandingPage::UsersController#create as HTML
|
278
|
+
Parameters: {"utf8"=>"✓", "user"=>{"name"=>"Name", "email"=>"dummy@email.com"}, "commit"=>"Subscribe"}
|
279
|
+
Completed 500 Internal Server Error in 1ms
|
280
|
+
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
281
|
+
[1m[35m (0.1ms)[0m begin transaction
|
282
|
+
Started GET "/landing_page/" for 127.0.0.1 at 2013-09-15 13:47:38 +0200
|
283
|
+
Processing by LandingPage::UsersController#new as HTML
|
284
|
+
Completed 200 OK in 7ms (Views: 6.0ms | ActiveRecord: 0.0ms)
|
285
|
+
Started POST "/landing_page/users" for 127.0.0.1 at 2013-09-15 13:47:38 +0200
|
286
|
+
Processing by LandingPage::UsersController#create as HTML
|
287
|
+
Parameters: {"utf8"=>"✓", "user"=>{"name"=>"Name", "email"=>"dummy@email.com"}, "commit"=>"Subscribe"}
|
288
|
+
Completed 500 Internal Server Error in 1ms
|
289
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
290
|
+
[1m[35m (0.1ms)[0m begin transaction
|
291
|
+
Started GET "/landing_page/" for 127.0.0.1 at 2013-09-15 13:47:38 +0200
|
292
|
+
Processing by LandingPage::UsersController#new as HTML
|
293
|
+
Completed 200 OK in 7ms (Views: 6.0ms | ActiveRecord: 0.0ms)
|
294
|
+
Started POST "/landing_page/users" for 127.0.0.1 at 2013-09-15 13:47:38 +0200
|
295
|
+
Processing by LandingPage::UsersController#create as HTML
|
296
|
+
Parameters: {"utf8"=>"✓", "user"=>{"name"=>"Name", "email"=>"not_valid_email"}, "commit"=>"Subscribe"}
|
297
|
+
Completed 500 Internal Server Error in 1ms
|
298
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
299
|
+
Connecting to database specified by database.yml
|
300
|
+
[1m[36m (0.8ms)[0m [1mbegin transaction[0m
|
301
|
+
Started GET "/landing_page/" for 127.0.0.1 at 2013-09-15 13:48:10 +0200
|
302
|
+
Processing by LandingPage::UsersController#new as HTML
|
303
|
+
Rendered /home/marc/webs/projects/landing_page/app/views/landing_page/users/new.html.slim within layouts/application (44.8ms)
|
304
|
+
Completed 200 OK in 146ms (Views: 61.2ms | ActiveRecord: 4.7ms)
|
305
|
+
Started POST "/landing_page/users" for 127.0.0.1 at 2013-09-15 13:48:10 +0200
|
306
|
+
Processing by LandingPage::UsersController#create as HTML
|
307
|
+
Parameters: {"utf8"=>"✓", "user"=>{"name"=>"Name", "email"=>"dummy@email.com"}, "commit"=>"Subscribe"}
|
308
|
+
[1m[35mLandingPage::User Exists (0.2ms)[0m SELECT 1 AS one FROM "landing_page_users" WHERE "landing_page_users"."email" = 'dummy@email.com' LIMIT 1
|
309
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
310
|
+
[1m[35mCACHE (0.0ms)[0m SELECT 1 AS one FROM "landing_page_users" WHERE "landing_page_users"."email" = 'dummy@email.com' LIMIT 1
|
311
|
+
[1m[36mSQL (2.2ms)[0m [1mINSERT INTO "landing_page_users" ("created_at", "email", "locale", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Sun, 15 Sep 2013 11:48:10 UTC +00:00], ["email", "dummy@email.com"], ["locale", "en"], ["name", "Name"], ["updated_at", Sun, 15 Sep 2013 11:48:10 UTC +00:00]]
|
312
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
313
|
+
Rendered /home/marc/webs/projects/landing_page/app/views/landing_page/users/_share_items.html.slim (74.2ms)
|
314
|
+
Rendered /home/marc/webs/projects/landing_page/app/views/landing_page/users/create.html.slim within layouts/application (100.7ms)
|
315
|
+
Completed 200 OK in 143ms (Views: 105.4ms | ActiveRecord: 2.8ms)
|
316
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
317
|
+
[1m[35m (0.1ms)[0m begin transaction
|
318
|
+
Processing by LandingPage::UsersController#new as HTML
|
319
|
+
Rendered /home/marc/webs/projects/landing_page/app/views/landing_page/users/new.html.slim within layouts/application (0.7ms)
|
320
|
+
Completed 200 OK in 4ms (Views: 3.1ms | ActiveRecord: 0.0ms)
|
321
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
322
|
+
[1m[35m (0.1ms)[0m begin transaction
|
323
|
+
Processing by LandingPage::UsersController#create as HTML
|
324
|
+
Parameters: {"user"=>{"email"=>"valid@email.com"}}
|
325
|
+
[1m[36mLandingPage::User Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "landing_page_users" WHERE "landing_page_users"."email" = 'valid@email.com' LIMIT 1[0m
|
326
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
327
|
+
[1m[36mLandingPage::User Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "landing_page_users" WHERE "landing_page_users"."email" = 'valid@email.com' LIMIT 1[0m
|
328
|
+
[1m[35mSQL (0.7ms)[0m INSERT INTO "landing_page_users" ("created_at", "email", "locale", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 15 Sep 2013 11:48:10 UTC +00:00], ["email", "valid@email.com"], ["locale", "en"], ["name", nil], ["updated_at", Sun, 15 Sep 2013 11:48:10 UTC +00:00]]
|
329
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
330
|
+
Completed 200 OK in 12ms (Views: 2.4ms | ActiveRecord: 1.5ms)
|
331
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "landing_page_users"
|
332
|
+
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
333
|
+
[1m[35m (0.1ms)[0m begin transaction
|
334
|
+
Processing by LandingPage::UsersController#create as HTML
|
335
|
+
Parameters: {"user"=>{"email"=>"valid@email.com"}}
|
336
|
+
[1m[36mLandingPage::User Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "landing_page_users" WHERE "landing_page_users"."email" = 'valid@email.com' LIMIT 1[0m
|
337
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
338
|
+
[1m[36mLandingPage::User Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "landing_page_users" WHERE "landing_page_users"."email" = 'valid@email.com' LIMIT 1[0m
|
339
|
+
[1m[35mSQL (0.7ms)[0m INSERT INTO "landing_page_users" ("created_at", "email", "locale", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 15 Sep 2013 11:48:10 UTC +00:00], ["email", "valid@email.com"], ["locale", "en"], ["name", nil], ["updated_at", Sun, 15 Sep 2013 11:48:10 UTC +00:00]]
|
340
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
341
|
+
Completed 200 OK in 12ms (Views: 2.2ms | ActiveRecord: 1.4ms)
|
342
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
343
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
344
|
+
Processing by LandingPage::UsersController#create as HTML
|
345
|
+
Parameters: {"user"=>{"email"=>"valid@email.com"}}
|
346
|
+
[1m[35mLandingPage::User Exists (0.3ms)[0m SELECT 1 AS one FROM "landing_page_users" WHERE "landing_page_users"."email" = 'valid@email.com' LIMIT 1
|
347
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
348
|
+
[1m[35mLandingPage::User Exists (0.2ms)[0m SELECT 1 AS one FROM "landing_page_users" WHERE "landing_page_users"."email" = 'valid@email.com' LIMIT 1
|
349
|
+
[1m[36mSQL (0.7ms)[0m [1mINSERT INTO "landing_page_users" ("created_at", "email", "locale", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Sun, 15 Sep 2013 11:48:10 UTC +00:00], ["email", "valid@email.com"], ["locale", "en"], ["name", nil], ["updated_at", Sun, 15 Sep 2013 11:48:10 UTC +00:00]]
|
350
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
351
|
+
Completed 200 OK in 12ms (Views: 2.2ms | ActiveRecord: 1.4ms)
|
352
|
+
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
353
|
+
[1m[35m (0.1ms)[0m begin transaction
|
354
|
+
Processing by LandingPage::UsersController#create as HTML
|
355
|
+
Parameters: {"user"=>{"email"=>"invalid_email"}}
|
356
|
+
[1m[36mLandingPage::User Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "landing_page_users" WHERE "landing_page_users"."email" = 'invalid_email' LIMIT 1[0m
|
357
|
+
Completed 200 OK in 9ms (Views: 2.2ms | ActiveRecord: 0.3ms)
|
358
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
359
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
360
|
+
Processing by LandingPage::UsersController#create as HTML
|
361
|
+
Parameters: {"user"=>{"email"=>"invalid_email"}}
|
362
|
+
[1m[35mLandingPage::User Exists (0.3ms)[0m SELECT 1 AS one FROM "landing_page_users" WHERE "landing_page_users"."email" = 'invalid_email' LIMIT 1
|
363
|
+
Completed 200 OK in 7ms (Views: 2.2ms | ActiveRecord: 0.3ms)
|
364
|
+
[1m[36m (0.2ms)[0m [1mrollback transaction[0m
|
365
|
+
[1m[35m (0.1ms)[0m begin transaction
|
366
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
367
|
+
[1m[35mLandingPage::User Exists (0.3ms)[0m SELECT 1 AS one FROM "landing_page_users" WHERE "landing_page_users"."email" = 'dummy@email.com' LIMIT 1
|
368
|
+
[1m[36mSQL (0.7ms)[0m [1mINSERT INTO "landing_page_users" ("created_at", "email", "locale", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Sun, 15 Sep 2013 11:48:10 UTC +00:00], ["email", "dummy@email.com"], ["locale", "en"], ["name", nil], ["updated_at", Sun, 15 Sep 2013 11:48:10 UTC +00:00]]
|
369
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
370
|
+
Started GET "/landing_page/" for 127.0.0.1 at 2013-09-15 13:48:10 +0200
|
371
|
+
Processing by LandingPage::UsersController#new as HTML
|
372
|
+
Completed 200 OK in 8ms (Views: 7.1ms | ActiveRecord: 0.0ms)
|
373
|
+
Started POST "/landing_page/users" for 127.0.0.1 at 2013-09-15 13:48:10 +0200
|
374
|
+
Processing by LandingPage::UsersController#create as HTML
|
375
|
+
Parameters: {"utf8"=>"✓", "user"=>{"name"=>"Name", "email"=>"dummy@email.com"}, "commit"=>"Subscribe"}
|
376
|
+
[1m[36mLandingPage::User Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "landing_page_users" WHERE "landing_page_users"."email" = 'dummy@email.com' LIMIT 1[0m
|
377
|
+
Completed 200 OK in 9ms (Views: 5.0ms | ActiveRecord: 0.2ms)
|
378
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
379
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
380
|
+
Started GET "/landing_page/" for 127.0.0.1 at 2013-09-15 13:48:10 +0200
|
381
|
+
Processing by LandingPage::UsersController#new as HTML
|
382
|
+
Completed 200 OK in 7ms (Views: 6.3ms | ActiveRecord: 0.0ms)
|
383
|
+
Started POST "/landing_page/users" for 127.0.0.1 at 2013-09-15 13:48:10 +0200
|
384
|
+
Processing by LandingPage::UsersController#create as HTML
|
385
|
+
Parameters: {"utf8"=>"✓", "user"=>{"name"=>"Name", "email"=>"not_valid_email"}, "commit"=>"Subscribe"}
|
386
|
+
[1m[35mLandingPage::User Exists (0.3ms)[0m SELECT 1 AS one FROM "landing_page_users" WHERE "landing_page_users"."email" = 'not_valid_email' LIMIT 1
|
387
|
+
Completed 200 OK in 10ms (Views: 5.1ms | ActiveRecord: 0.3ms)
|
388
|
+
[1m[36m (0.2ms)[0m [1mrollback transaction[0m
|
389
|
+
[1m[35m (0.2ms)[0m begin transaction
|
390
|
+
Started GET "/landing_page/" for 127.0.0.1 at 2013-09-15 13:48:10 +0200
|
391
|
+
Processing by LandingPage::UsersController#new as HTML
|
392
|
+
Completed 200 OK in 7ms (Views: 6.7ms | ActiveRecord: 0.0ms)
|
393
|
+
Started POST "/landing_page/users" for 127.0.0.1 at 2013-09-15 13:48:10 +0200
|
394
|
+
Processing by LandingPage::UsersController#create as HTML
|
395
|
+
Parameters: {"utf8"=>"✓", "user"=>{"name"=>"Name", "email"=>"dummy@email.com"}, "commit"=>"Subscribe"}
|
396
|
+
[1m[36mLandingPage::User Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "landing_page_users" WHERE "landing_page_users"."email" = 'dummy@email.com' LIMIT 1[0m
|
397
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
398
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT 1 AS one FROM "landing_page_users" WHERE "landing_page_users"."email" = 'dummy@email.com' LIMIT 1[0m
|
399
|
+
[1m[35mSQL (0.7ms)[0m INSERT INTO "landing_page_users" ("created_at", "email", "locale", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 15 Sep 2013 11:48:10 UTC +00:00], ["email", "dummy@email.com"], ["locale", "en"], ["name", "Name"], ["updated_at", Sun, 15 Sep 2013 11:48:10 UTC +00:00]]
|
400
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
401
|
+
Rendered /home/marc/webs/projects/landing_page/app/views/landing_page/users/_share_items.html.slim (0.7ms)
|
402
|
+
Completed 200 OK in 13ms (Views: 4.1ms | ActiveRecord: 1.2ms)
|
403
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
404
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
405
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
406
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
407
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
408
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
409
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
410
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
411
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
412
|
+
[1m[36mLandingPage::User Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "landing_page_users" WHERE "landing_page_users"."email" = 'dummy@email.com' LIMIT 1[0m
|
413
|
+
[1m[35mSQL (0.7ms)[0m INSERT INTO "landing_page_users" ("created_at", "email", "locale", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 15 Sep 2013 11:48:10 UTC +00:00], ["email", "dummy@email.com"], ["locale", "en"], ["name", "dummy name"], ["updated_at", Sun, 15 Sep 2013 11:48:10 UTC +00:00]]
|
414
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
415
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
416
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
417
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
418
|
+
[1m[36mLandingPage::User Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "landing_page_users" WHERE "landing_page_users"."email" = 'dummy@email.com' LIMIT 1[0m
|
419
|
+
[1m[35mSQL (0.7ms)[0m INSERT INTO "landing_page_users" ("created_at", "email", "locale", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 15 Sep 2013 11:48:10 UTC +00:00], ["email", "dummy@email.com"], ["locale", "en"], ["name", nil], ["updated_at", Sun, 15 Sep 2013 11:48:10 UTC +00:00]]
|
420
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
421
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
422
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
423
|
+
[1m[35mLandingPage::User Load (0.3ms)[0m SELECT "landing_page_users".* FROM "landing_page_users" LIMIT 1
|
424
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
425
|
+
[1m[35mSQL (0.7ms)[0m INSERT INTO "landing_page_users" ("created_at", "email", "locale", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 15 Sep 2013 11:48:10 UTC +00:00], ["email", "arbitrary_string"], ["locale", "en"], ["name", nil], ["updated_at", Sun, 15 Sep 2013 11:48:10 UTC +00:00]]
|
426
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
427
|
+
[1m[35mLandingPage::User Exists (0.2ms)[0m SELECT 1 AS one FROM "landing_page_users" WHERE "landing_page_users"."email" = 'arbitrary_string' LIMIT 1
|
428
|
+
[1m[36mLandingPage::User Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "landing_page_users" WHERE "landing_page_users"."email" = 'arbitrary_string' LIMIT 1[0m
|
429
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
430
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
431
|
+
[1m[35mLandingPage::User Exists (0.3ms)[0m SELECT 1 AS one FROM "landing_page_users" WHERE "landing_page_users"."email" = 'dummy@mail.com' LIMIT 1
|
432
|
+
[1m[36mLandingPage::User Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "landing_page_users" WHERE "landing_page_users"."email" = 'invalid_email' LIMIT 1[0m
|
433
|
+
[1m[35mLandingPage::User Exists (0.2ms)[0m SELECT 1 AS one FROM "landing_page_users" WHERE "landing_page_users"."email" = 'invalid_email' LIMIT 1
|
434
|
+
[1m[36m (0.2ms)[0m [1mrollback transaction[0m
|
435
|
+
[1m[35m (0.2ms)[0m begin transaction
|
436
|
+
[1m[36mLandingPage::User Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "landing_page_users" WHERE "landing_page_users"."email" IS NULL LIMIT 1[0m
|
437
|
+
[1m[35mLandingPage::User Exists (0.2ms)[0m SELECT 1 AS one FROM "landing_page_users" WHERE "landing_page_users"."email" IS NULL LIMIT 1
|
438
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|