handcart 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/MIT-LICENSE +20 -0
- data/README.md +247 -0
- data/Rakefile +37 -0
- data/app/assets/javascripts/handcart/application.js +16 -0
- data/app/assets/stylesheets/handcart/application.css +15 -0
- data/app/assets/stylesheets/handcart/layout.css.scss +21 -0
- data/app/controllers/handcart/application_controller.rb +4 -0
- data/app/controllers/handcart/ip_addresses_controller.rb +56 -0
- data/app/controllers/handcart/subdomains_controller.rb +55 -0
- data/app/helpers/handcart/application_helper.rb +14 -0
- data/app/helpers/handcart/url_helper.rb +16 -0
- data/app/models/handcart/concerns/handcarts.rb +30 -0
- data/app/models/handcart/domain_constraint.rb +20 -0
- data/app/models/handcart/ip_address.rb +18 -0
- data/app/models/handcart/setting_constraint.rb +26 -0
- data/app/models/handcart/subdomain.rb +36 -0
- data/app/views/handcart/ip_addresses/_form.html.haml +12 -0
- data/app/views/handcart/ip_addresses/edit.html.haml +3 -0
- data/app/views/handcart/ip_addresses/index.html.haml +36 -0
- data/app/views/handcart/ip_addresses/new.html.haml +3 -0
- data/app/views/handcart/ip_addresses/show.html.haml +20 -0
- data/app/views/handcart/subdomains/_form.html.haml +9 -0
- data/app/views/handcart/subdomains/edit.html.haml +3 -0
- data/app/views/handcart/subdomains/index.html.haml +31 -0
- data/app/views/handcart/subdomains/new.html.haml +3 -0
- data/app/views/handcart/subdomains/show.html.haml +20 -0
- data/app/views/layouts/handcart/_navbar.html.haml +15 -0
- data/app/views/layouts/handcart/application.html.haml +60 -0
- data/config/handcart.json +6 -0
- data/config/locales/en.yml +61 -0
- data/config/routes.rb +5 -0
- data/db/migrate/20131009165427_create_handcart_subdomains.rb +9 -0
- data/db/migrate/20131203000934_create_handcart_ip_addresses.rb +12 -0
- data/lib/handcart.rb +67 -0
- data/lib/handcart/acts_as_handcart.rb +16 -0
- data/lib/handcart/controller_additions.rb +152 -0
- data/lib/handcart/engine.rb +27 -0
- data/lib/handcart/ip_authorization.rb +27 -0
- data/lib/handcart/simple_form.rb +179 -0
- data/lib/handcart/strategies/base_ip_strategy.rb +21 -0
- data/lib/handcart/strategies/containment_strategy.rb +16 -0
- data/lib/handcart/strategies/inclusion_strategy.rb +17 -0
- data/lib/handcart/templates/rspec/controller/controller_spec.rb +17 -0
- data/lib/handcart/templates/rspec/scaffold/routing_spec.rb +40 -0
- data/lib/handcart/version.rb +3 -0
- data/spec/controllers/handcart/ip_addresses_controller_spec.rb +134 -0
- data/spec/controllers/handcart/subdomains_controller_spec.rb +138 -0
- data/spec/dummy/README.rdoc +28 -0
- data/spec/dummy/Rakefile +6 -0
- data/spec/dummy/app/assets/javascripts/application.js +16 -0
- data/spec/dummy/app/assets/stylesheets/application.css +15 -0
- data/spec/dummy/app/assets/stylesheets/layout.css.scss +4 -0
- data/spec/dummy/app/controllers/application_controller.rb +7 -0
- data/spec/dummy/app/controllers/custom_constraints_controller.rb +2 -0
- data/spec/dummy/app/controllers/ip_addresses_controller.rb +7 -0
- data/spec/dummy/app/controllers/master/companies_controller.rb +51 -0
- data/spec/dummy/app/controllers/master/dashboard_controller.rb +4 -0
- data/spec/dummy/app/controllers/master_controller.rb +2 -0
- data/spec/dummy/app/controllers/public_controller.rb +12 -0
- data/spec/dummy/app/controllers/subdomain_controller.rb +8 -0
- data/spec/dummy/app/helpers/application_helper.rb +2 -0
- data/spec/dummy/app/models/company.rb +7 -0
- data/spec/dummy/app/views/ip_addresses/index.html.haml +12 -0
- data/spec/dummy/app/views/ip_addresses/show.html.haml +1 -0
- data/spec/dummy/app/views/layouts/_navbar.html.haml +11 -0
- data/spec/dummy/app/views/layouts/application.html.haml +53 -0
- data/spec/dummy/app/views/layouts/public.html.haml +41 -0
- data/spec/dummy/app/views/master/companies/_form.html.haml +19 -0
- data/spec/dummy/app/views/master/companies/edit.html.haml +7 -0
- data/spec/dummy/app/views/master/companies/index.html.haml +25 -0
- data/spec/dummy/app/views/master/companies/new.html.haml +5 -0
- data/spec/dummy/app/views/master/companies/show.html.haml +12 -0
- data/spec/dummy/app/views/master/dashboard/index.html.haml +2 -0
- data/spec/dummy/app/views/public/forbidden.html.haml +3 -0
- data/spec/dummy/app/views/public/index.html.haml +2 -0
- data/spec/dummy/app/views/subdomain/index.html.haml +2 -0
- data/spec/dummy/bin/bundle +3 -0
- data/spec/dummy/bin/rails +4 -0
- data/spec/dummy/bin/rake +4 -0
- data/spec/dummy/config.ru +4 -0
- data/spec/dummy/config/application.rb +40 -0
- data/spec/dummy/config/boot.rb +5 -0
- data/spec/dummy/config/database.yml +26 -0
- data/spec/dummy/config/environment.rb +5 -0
- data/spec/dummy/config/environments/development.rb +29 -0
- data/spec/dummy/config/environments/production.rb +80 -0
- data/spec/dummy/config/environments/test.rb +36 -0
- data/spec/dummy/config/handcart.json +6 -0
- data/spec/dummy/config/initializers/backtrace_silencers.rb +7 -0
- data/spec/dummy/config/initializers/filter_parameter_logging.rb +4 -0
- data/spec/dummy/config/initializers/handcart.rb +16 -0
- data/spec/dummy/config/initializers/inflections.rb +16 -0
- data/spec/dummy/config/initializers/mime_types.rb +5 -0
- data/spec/dummy/config/initializers/secret_token.rb +12 -0
- data/spec/dummy/config/initializers/session_store.rb +3 -0
- data/spec/dummy/config/initializers/wrap_parameters.rb +14 -0
- data/spec/dummy/config/locales/en.yml +12 -0
- data/spec/dummy/config/routes.rb +23 -0
- data/spec/dummy/db/migrate/20131010194534_create_companies.rb +10 -0
- data/spec/dummy/db/migrate/20131016183624_add_active_to_companies.rb +5 -0
- data/spec/dummy/db/schema.rb +41 -0
- data/spec/dummy/log/development.log +14 -0
- data/spec/dummy/log/test.log +786 -0
- data/spec/dummy/public/404.html +58 -0
- data/spec/dummy/public/422.html +58 -0
- data/spec/dummy/public/500.html +57 -0
- data/spec/dummy/spec/models/company_spec.rb +36 -0
- data/spec/dummy/spec/routing/custom_constraints_routing_spec.rb +37 -0
- data/spec/dummy/tmp/cache/assets/development/sass/27d34b7cbcb5b92ab03220c4d4b91379cc64c2c0/layout.css.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/development/sass/dc98e44780f42e6521ebbf14c4db22f6a78c41ef/layout.css.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/05974a1f812cf4a61bb242d48722fd19 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/063a74a7c73c9501ee373ef00111f159 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/073d2b13ed9366ce539940749eb3844d +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/0d76367ded60510a66afc3dea891e76a +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/106c3f4e1fc71e9dc70abae55d432886 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/13ae4613233656a42188d4d3ddbb7fc1 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/13fe41fee1fe35b49d145bcc06610705 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/18c826ba1d6dac1633cae2da25c0402a +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/247df6a90ce931f763db1ade5227d4b1 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/2860df473a6cf4c483cd6f251fea3ae0 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/2a99072e783dcef4637b38221531ea61 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/2ab4b3177ab6c9d837c0905b61eedad5 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/2b84c9cc30f71e24310dd1a4381caae8 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/2bebf0981bc585e24939ca8ffe10081c +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/2c45a1517014fd239c930e48a71a93f0 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/2d5147f4ea70131b4e330cab38aeb1a1 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/2f5173deea6c795b8fdde723bb4b63af +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/3124588878c79981009129f32d5fe408 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/33325c558d8db2071bf8a938517e5af2 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/350c8c72b1dbd7a84f85424b5cd4def1 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/357970feca3ac29060c1e3861e2c0953 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/3a3d69c38e3b3d20e94420ebebd05a69 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/3b1656b46a35a6120c3407b930d468ba +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/3c0fc39d9b84afb4937545b620cd2d72 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/3fa878a57cb0b42be266336564609b18 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/40f26b5e75d0f747e691c0b38529fb59 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/42aa8e53e39d8f5247f1b3e89cb00adc +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/42e1f4c72bf58cf112dd11eae8ee768b +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/433be3db83a4d9f93f5d1fa2ae3bde4e +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/4b6f9f46d7a2e230321d7f8df06ea470 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/4c17c77b444339bb3ab293047da0ff0d +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/4ee93c096bb850d38032eb457afebf69 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/4f25edc4354919ba67721f488ba10e12 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/58fb821d4a4a44fdb2a89d4f487a8390 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/5f97a76ac644497413f4c8dc547ddea6 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/6076ab56e9c62fd04155d6f6c43e575e +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/60b75d9635ed84e08a0b9a245d8a3202 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/64ad9f343408809fdfb1df851186853d +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/6e79870e51ea835a6847f8c65e23e14b +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/6e9d2e7aafa45c939731291fa453b8c2 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/78f915513059378e161ceb6f2d14fbd9 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/8102cf6724f489a310fe3a6b764bb2e9 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/81108a1123b15b10c7f7f2e0d1207267 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/81b3dcc0aa61577b08de13ba5633dbc4 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/83e686634b5ac6d4b183677ed2edda8b +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/8581aae276f167a9b7b2158641b0bf87 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/94cb3819408e525700729fbd473432c8 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/99eb5e50b6d0e5d0d6b6c37cbde33864 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/a7c86e9a777f7789dd1c78d26a662a87 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/a9e19eb45005fa24bc8b90b6a374089f +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/ac4492393938e58cede2b6277afb0bc6 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/ad1d96635f4dae7eb22d1984947d7440 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/af718c632887ccb6c1c35c4b65c61293 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/b2f45720a78d375468b99bb25f121c4e +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/b559f2694561fc6c44e3319f507de1e7 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/b6e8c6ba59755a8fe132457f81065f96 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/b796b57f310287a7a619afa9d5b99952 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/b7c36a1c00d7804d9e827d704c0dd811 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/bc28a210f3df576c74059aff8233eae3 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/bc414fbd5123e40c4f5e69f4c294f489 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/c0181c32e0ed10ec8fa3049f9a80f551 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/c17130f66131c854d6f8c2196902b596 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/c4c0e10aa5c21ece42c0bfe998a5d8c0 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/c63bcc000975adbdf423db3ad43eb93f +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/c962f9220062a6407dfc7d9447565273 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/cb8b538b6fce61b500edebe63156bf62 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/cfcef2015b7df990ed90006632877389 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/cff56d2d0a8b8a25d4b0388d242be9c8 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/cffd775d018f68ce5dba1ee0d951a994 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/d32fc7356f764b22ecbcebbcb9b47ee1 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/d771ace226fc8215a3572e0aa35bb0d6 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/d776667bae72eb3d582da5803fc931ca +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/dfc307d14a0cf64cf8c3a4e94fdbcfb9 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/e4b6570b82329477bc7043183b64b105 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/eff1316ad12dd5b8f4cbf0ba9e448229 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/f2348b747b81ca6e3a24d5bd0b7023c4 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/f6f921309fcc78b6850abcf2418279fe +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/f7cbd26ba1d28d48de824f0e94586655 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/f7e1dbf50c19c9d439de52caa4296164 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/ff2adfc3ed446b68ac2d0077e8af34e2 +0 -0
- data/spec/factories/companies.rb +7 -0
- data/spec/factories/handcart_ip_addresses.rb +8 -0
- data/spec/factories/handcart_subdomains.rb +5 -0
- data/spec/models/handcart/base_ip_strategy_spec.rb +23 -0
- data/spec/models/handcart/containment_strategy_spec.rb +23 -0
- data/spec/models/handcart/domain_constraint_spec.rb +38 -0
- data/spec/models/handcart/engine_spec.rb +14 -0
- data/spec/models/handcart/handcart_spec.rb +38 -0
- data/spec/models/handcart/inclusion_strategy_spec.rb +29 -0
- data/spec/models/handcart/ip_address_spec.rb +51 -0
- data/spec/models/handcart/ip_authorization_spec.rb +17 -0
- data/spec/models/handcart/subdomain_spec.rb +153 -0
- data/spec/routing/handcart/ip_addresses_routing_spec.rb +38 -0
- data/spec/routing/handcart/subdomains_routing_spec.rb +38 -0
- data/spec/spec_helper.rb +65 -0
- data/spec/support/subdomains.rb +26 -0
- metadata +565 -0
@@ -0,0 +1,29 @@
|
|
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
|
+
# Do not eager load code on boot.
|
10
|
+
config.eager_load = false
|
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
|
+
# Raise an error on page load if there are pending migrations
|
23
|
+
config.active_record.migration_error = :page_load
|
24
|
+
|
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.
|
28
|
+
config.assets.debug = true
|
29
|
+
end
|
@@ -0,0 +1,80 @@
|
|
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
|
+
# 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.
|
14
|
+
config.consider_all_requests_local = false
|
15
|
+
config.action_controller.perform_caching = true
|
16
|
+
|
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).
|
23
|
+
config.serve_static_assets = false
|
24
|
+
|
25
|
+
# Compress JavaScripts and CSS.
|
26
|
+
config.assets.js_compressor = :uglifier
|
27
|
+
# config.assets.css_compressor = :sass
|
28
|
+
|
29
|
+
# Do not fallback to assets pipeline if a precompiled asset is missed.
|
30
|
+
config.assets.compile = false
|
31
|
+
|
32
|
+
# Generate digests for assets URLs.
|
33
|
+
config.assets.digest = true
|
34
|
+
|
35
|
+
# Version of your assets, change this if you want to expire all your assets.
|
36
|
+
config.assets.version = '1.0'
|
37
|
+
|
38
|
+
# Specifies the header that your server uses for sending files.
|
39
|
+
# config.action_dispatch.x_sendfile_header = "X-Sendfile" # for apache
|
40
|
+
# config.action_dispatch.x_sendfile_header = 'X-Accel-Redirect' # for nginx
|
41
|
+
|
42
|
+
# Force all access to the app over SSL, use Strict-Transport-Security, and use secure cookies.
|
43
|
+
# config.force_ssl = true
|
44
|
+
|
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 ]
|
50
|
+
|
51
|
+
# Use a different logger for distributed setups.
|
52
|
+
# config.logger = ActiveSupport::TaggedLogging.new(SyslogLogger.new)
|
53
|
+
|
54
|
+
# Use a different cache store in production.
|
55
|
+
# config.cache_store = :mem_cache_store
|
56
|
+
|
57
|
+
# Enable serving of images, stylesheets, and JavaScripts from an asset server.
|
58
|
+
# config.action_controller.asset_host = "http://assets.example.com"
|
59
|
+
|
60
|
+
# Precompile additional assets.
|
61
|
+
# application.js, application.css, and all non-JS/CSS in app/assets folder are already added.
|
62
|
+
# config.assets.precompile += %w( search.js )
|
63
|
+
|
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.
|
66
|
+
# config.action_mailer.raise_delivery_errors = false
|
67
|
+
|
68
|
+
# Enable locale fallbacks for I18n (makes lookups for any locale fall back to
|
69
|
+
# the I18n.default_locale when a translation can not be found).
|
70
|
+
config.i18n.fallbacks = true
|
71
|
+
|
72
|
+
# Send deprecation notices to registered listeners.
|
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
|
80
|
+
end
|
@@ -0,0 +1,36 @@
|
|
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
|
+
# 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
|
14
|
+
|
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.
|
20
|
+
config.consider_all_requests_local = true
|
21
|
+
config.action_controller.perform_caching = false
|
22
|
+
|
23
|
+
# Raise exceptions instead of rendering exception templates.
|
24
|
+
config.action_dispatch.show_exceptions = false
|
25
|
+
|
26
|
+
# Disable request forgery protection in test environment.
|
27
|
+
config.action_controller.allow_forgery_protection = false
|
28
|
+
|
29
|
+
# Tell Action Mailer not to deliver emails to the real world.
|
30
|
+
# The :test delivery method accumulates sent emails in the
|
31
|
+
# ActionMailer::Base.deliveries array.
|
32
|
+
config.action_mailer.delivery_method = :test
|
33
|
+
|
34
|
+
# Print deprecation notices to the stderr.
|
35
|
+
config.active_support.deprecation = :stderr
|
36
|
+
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,16 @@
|
|
1
|
+
Handcart.setup do |config|
|
2
|
+
# Set the name of the class which `acts_as_handcart`
|
3
|
+
config.handcart_class = "Company"
|
4
|
+
|
5
|
+
# Set this to change where the handcart show route is
|
6
|
+
# config.handcart_show_path = "companies"
|
7
|
+
|
8
|
+
# Set the strategy to use for IP Authorization
|
9
|
+
config.ip_authorization_strategy = :inclusion
|
10
|
+
|
11
|
+
# What Rails environments enable IP blocking and blacklisting
|
12
|
+
config.global_ip_blocking_enabled_environments = ["development", "production"]
|
13
|
+
|
14
|
+
# What Rails environments enable IP forwarding and forbidden redirects
|
15
|
+
config.global_ip_forwarding_enabled_environments = ["development", "staging", "production"]
|
16
|
+
end
|
@@ -0,0 +1,16 @@
|
|
1
|
+
# Be sure to restart your server when you modify this file.
|
2
|
+
|
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|
|
7
|
+
# inflect.plural /^(ox)$/i, '\1en'
|
8
|
+
# inflect.singular /^(ox)en/i, '\1'
|
9
|
+
# inflect.irregular 'person', 'people'
|
10
|
+
# inflect.uncountable %w( fish sheep )
|
11
|
+
# end
|
12
|
+
|
13
|
+
# These inflection rules are supported but not enabled by default:
|
14
|
+
# ActiveSupport::Inflector.inflections(:en) do |inflect|
|
15
|
+
# inflect.acronym 'RESTful'
|
16
|
+
# end
|
@@ -0,0 +1,12 @@
|
|
1
|
+
# Be sure to restart your server when you modify this file.
|
2
|
+
|
3
|
+
# Your secret key is used for verifying the integrity of signed cookies.
|
4
|
+
# If you change this key, all old signed cookies will become invalid!
|
5
|
+
|
6
|
+
# Make sure the secret is at least 30 characters and all random,
|
7
|
+
# no regular words or you'll be exposed to dictionary attacks.
|
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 = '41bfa9bc1248cb9bbfcde74c97c181156e06293060015150f25c26882fdfbf28012183a4c0731b657330ee1f1e5bc0d70748158eae1d60987b94a3696d1373dd'
|
@@ -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] if respond_to?(:wrap_parameters)
|
9
|
+
end
|
10
|
+
|
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
|
@@ -0,0 +1,23 @@
|
|
1
|
+
Rails.application.routes.draw do
|
2
|
+
|
3
|
+
mount Handcart::Engine => "/handcart"
|
4
|
+
|
5
|
+
constraints(subdomain: /master/) do
|
6
|
+
scope module: 'master' do
|
7
|
+
resources :companies
|
8
|
+
match '/', to: 'dashboard#index', via: [:get], as: :master_root
|
9
|
+
end
|
10
|
+
end
|
11
|
+
|
12
|
+
constraints(Handcart::Subdomain) do
|
13
|
+
resources :custom_constraints, only: [:index], constraints: Handcart::SettingConstraint.new(:enables?, :custom_constraints)
|
14
|
+
resources :ip_addresses, only: [:index]
|
15
|
+
match '/', to: 'subdomain#index', via: [:get], as: :subdomain_root
|
16
|
+
end
|
17
|
+
|
18
|
+
constraints Handcart::DomainConstraint.default_constraint do
|
19
|
+
match '/forbidden', to: 'public#forbidden', as: :public_forbidden, via: [:get]
|
20
|
+
root to: 'public#index'
|
21
|
+
end
|
22
|
+
|
23
|
+
end
|
@@ -0,0 +1,41 @@
|
|
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: 20131203000934) do
|
15
|
+
|
16
|
+
create_table "companies", force: true do |t|
|
17
|
+
t.string "name"
|
18
|
+
t.integer "subdomain_id"
|
19
|
+
t.datetime "created_at"
|
20
|
+
t.datetime "updated_at"
|
21
|
+
t.boolean "active", default: false
|
22
|
+
end
|
23
|
+
|
24
|
+
create_table "handcart_ip_addresses", force: true do |t|
|
25
|
+
t.string "address"
|
26
|
+
t.string "subnet_mask"
|
27
|
+
t.integer "handcart_id"
|
28
|
+
t.boolean "blacklisted", default: false
|
29
|
+
t.datetime "created_at"
|
30
|
+
t.datetime "updated_at"
|
31
|
+
end
|
32
|
+
|
33
|
+
add_index "handcart_ip_addresses", ["handcart_id"], name: "index_handcart_ip_addresses_on_handcart_id", using: :btree
|
34
|
+
|
35
|
+
create_table "handcart_subdomains", force: true do |t|
|
36
|
+
t.string "name"
|
37
|
+
t.datetime "created_at"
|
38
|
+
t.datetime "updated_at"
|
39
|
+
end
|
40
|
+
|
41
|
+
end
|
@@ -0,0 +1,14 @@
|
|
1
|
+
[1m[36m (184.6ms)[0m [1mDROP DATABASE IF EXISTS `handcart_dummy_test`[0m
|
2
|
+
[1m[35m (0.6ms)[0m CREATE DATABASE `handcart_dummy_test` DEFAULT CHARACTER SET `utf8` COLLATE `utf8_unicode_ci`
|
3
|
+
[1m[36m (87.8ms)[0m [1mCREATE TABLE `companies` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `name` varchar(255), `subdomain_id` int(11), `created_at` datetime, `updated_at` datetime, `active` tinyint(1) DEFAULT 0) ENGINE=InnoDB[0m
|
4
|
+
[1m[35m (74.1ms)[0m CREATE TABLE `handcart_ip_addresses` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `address` varchar(255), `subnet_mask` varchar(255), `handcart_id` int(11), `blacklisted` tinyint(1) DEFAULT 0, `created_at` datetime, `updated_at` datetime) ENGINE=InnoDB
|
5
|
+
[1m[36m (142.0ms)[0m [1mCREATE INDEX `index_handcart_ip_addresses_on_handcart_id` USING btree ON `handcart_ip_addresses` (`handcart_id`) [0m
|
6
|
+
[1m[35m (71.5ms)[0m CREATE TABLE `handcart_subdomains` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `name` varchar(255), `created_at` datetime, `updated_at` datetime) ENGINE=InnoDB
|
7
|
+
[1m[36m (70.3ms)[0m [1mCREATE TABLE `schema_migrations` (`version` varchar(255) NOT NULL) ENGINE=InnoDB[0m
|
8
|
+
[1m[35m (174.9ms)[0m CREATE UNIQUE INDEX `unique_schema_migrations` ON `schema_migrations` (`version`)
|
9
|
+
[1m[36m (0.3ms)[0m [1mSELECT version FROM `schema_migrations`[0m
|
10
|
+
[1m[35m (32.0ms)[0m INSERT INTO `schema_migrations` (version) VALUES ('20131203000934')
|
11
|
+
[1m[36m (33.3ms)[0m [1mINSERT INTO `schema_migrations` (version) VALUES ('20131010194534')[0m
|
12
|
+
[1m[35m (33.4ms)[0m INSERT INTO `schema_migrations` (version) VALUES ('20131016183624')
|
13
|
+
[1m[36m (33.4ms)[0m [1mINSERT INTO `schema_migrations` (version) VALUES ('20131009165427')[0m
|
14
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.4ms)[0m SELECT `schema_migrations`.* FROM `schema_migrations`
|
@@ -0,0 +1,786 @@
|
|
1
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.4ms)[0m [1mSELECT `schema_migrations`.* FROM `schema_migrations`[0m
|
2
|
+
[1m[35m (0.4ms)[0m SELECT @@FOREIGN_KEY_CHECKS
|
3
|
+
[1m[36m (0.2ms)[0m [1mSET FOREIGN_KEY_CHECKS = 0[0m
|
4
|
+
[1m[35m (0.2ms)[0m SELECT DATABASE() as db
|
5
|
+
[1m[36m (0.6ms)[0m [1mselect table_name from information_schema.views where table_schema = 'handcart_dummy_test'[0m
|
6
|
+
[1m[35m (88.8ms)[0m TRUNCATE TABLE `companies`;
|
7
|
+
[1m[36m (33.0ms)[0m [1mTRUNCATE TABLE `handcart_ip_addresses`;[0m
|
8
|
+
[1m[35m (33.3ms)[0m TRUNCATE TABLE `handcart_subdomains`;
|
9
|
+
[1m[36m (0.2ms)[0m [1mSET FOREIGN_KEY_CHECKS = 1[0m
|
10
|
+
[1m[35m (0.1ms)[0m BEGIN
|
11
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
12
|
+
[1m[35m (0.1ms)[0m BEGIN
|
13
|
+
[1m[36mHandcart::Subdomain Exists (0.5ms)[0m [1mSELECT 1 AS one FROM `handcart_subdomains` WHERE `handcart_subdomains`.`name` = 'parker-1' LIMIT 1[0m
|
14
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO `handcart_subdomains` (`created_at`, `name`, `updated_at`) VALUES ('2014-02-08 22:18:33', 'parker-1', '2014-02-08 22:18:33')
|
15
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO `companies` (`active`, `created_at`, `name`, `subdomain_id`, `updated_at`) VALUES (1, '2014-02-08 22:18:33', 'MyString-1', 1, '2014-02-08 22:18:33')[0m
|
16
|
+
[1m[35mHandcart::IpAddress Load (0.5ms)[0m SELECT `handcart_ip_addresses`.* FROM `handcart_ip_addresses` WHERE `handcart_ip_addresses`.`handcart_id` = 1
|
17
|
+
[1m[36mSQL (0.4ms)[0m [1mDELETE FROM `handcart_subdomains` WHERE `handcart_subdomains`.`id` = 1[0m
|
18
|
+
[1m[35mSQL (0.4ms)[0m DELETE FROM `companies` WHERE `companies`.`id` = 1
|
19
|
+
[1m[36mHandcart::Subdomain Load (0.5ms)[0m [1mSELECT `handcart_subdomains`.* FROM `handcart_subdomains` WHERE `handcart_subdomains`.`id` = 1 LIMIT 1[0m
|
20
|
+
[1m[35m (30.5ms)[0m ROLLBACK
|
21
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
22
|
+
[1m[35m (0.2ms)[0m COMMIT
|
23
|
+
[1m[36m (0.3ms)[0m [1mBEGIN[0m
|
24
|
+
[1m[35mHandcart::Subdomain Exists (0.7ms)[0m SELECT 1 AS one FROM `handcart_subdomains` WHERE `handcart_subdomains`.`name` = 'kuvalis-2' LIMIT 1
|
25
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO `handcart_subdomains` (`created_at`, `name`, `updated_at`) VALUES ('2014-02-08 22:18:33', 'kuvalis-2', '2014-02-08 22:18:33')[0m
|
26
|
+
[1m[35m (35.5ms)[0m ROLLBACK
|
27
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
28
|
+
[1m[35m (0.2ms)[0m COMMIT
|
29
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
30
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
31
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
32
|
+
[1m[35m (0.3ms)[0m COMMIT
|
33
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
34
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
35
|
+
[1m[36m (0.3ms)[0m [1mBEGIN[0m
|
36
|
+
[1m[35m (0.2ms)[0m COMMIT
|
37
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
38
|
+
[1m[35mHandcart::Subdomain Exists (0.7ms)[0m SELECT 1 AS one FROM `handcart_subdomains` WHERE `handcart_subdomains`.`name` = 'okunevasawayn-3' LIMIT 1
|
39
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO `handcart_subdomains` (`created_at`, `name`, `updated_at`) VALUES ('2014-02-08 22:18:33', 'okunevasawayn-3', '2014-02-08 22:18:33')[0m
|
40
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO `companies` (`active`, `created_at`, `name`, `subdomain_id`, `updated_at`) VALUES (1, '2014-02-08 22:18:33', 'MyString-3', 3, '2014-02-08 22:18:33')
|
41
|
+
[1m[36m (31.7ms)[0m [1mROLLBACK[0m
|
42
|
+
[1m[35m (0.1ms)[0m BEGIN
|
43
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
44
|
+
[1m[35m (0.1ms)[0m BEGIN
|
45
|
+
[1m[36mHandcart::Subdomain Exists (0.4ms)[0m [1mSELECT 1 AS one FROM `handcart_subdomains` WHERE `handcart_subdomains`.`name` = 'johnswuckert-4' LIMIT 1[0m
|
46
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO `handcart_subdomains` (`created_at`, `name`, `updated_at`) VALUES ('2014-02-08 22:18:33', 'johnswuckert-4', '2014-02-08 22:18:33')
|
47
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO `companies` (`active`, `created_at`, `name`, `subdomain_id`, `updated_at`) VALUES (1, '2014-02-08 22:18:33', 'Planet Express', 4, '2014-02-08 22:18:33')[0m
|
48
|
+
[1m[35mHandcart::IpAddress Exists (0.3ms)[0m SELECT 1 AS one FROM `handcart_ip_addresses` WHERE `handcart_ip_addresses`.`address` = '40.183.179.85' LIMIT 1
|
49
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO `handcart_ip_addresses` (`address`, `created_at`, `handcart_id`, `subnet_mask`, `updated_at`) VALUES ('40.183.179.85', '2014-02-08 22:18:33', 3, '255.255.255.0', '2014-02-08 22:18:33')[0m
|
50
|
+
[1m[35m (37.7ms)[0m ROLLBACK
|
51
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
52
|
+
[1m[35m (0.2ms)[0m COMMIT
|
53
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
54
|
+
[1m[35mHandcart::Subdomain Exists (0.5ms)[0m SELECT 1 AS one FROM `handcart_subdomains` WHERE `handcart_subdomains`.`name` = 'bailey-5' LIMIT 1
|
55
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO `handcart_subdomains` (`created_at`, `name`, `updated_at`) VALUES ('2014-02-08 22:18:33', 'bailey-5', '2014-02-08 22:18:33')[0m
|
56
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO `companies` (`active`, `created_at`, `name`, `subdomain_id`, `updated_at`) VALUES (1, '2014-02-08 22:18:33', 'MyString-4', 5, '2014-02-08 22:18:33')
|
57
|
+
[1m[36mHandcart::IpAddress Exists (0.5ms)[0m [1mSELECT 1 AS one FROM `handcart_ip_addresses` WHERE `handcart_ip_addresses`.`address` = '10.10.9.1' LIMIT 1[0m
|
58
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO `handcart_ip_addresses` (`address`, `created_at`, `handcart_id`, `subnet_mask`, `updated_at`) VALUES ('10.10.9.1', '2014-02-08 22:18:33', 4, '255.255.255.0', '2014-02-08 22:18:33')
|
59
|
+
[1m[36mHandcart::IpAddress Exists (0.4ms)[0m [1mSELECT 1 AS one FROM `handcart_ip_addresses` WHERE (`handcart_ip_addresses`.`address` = '10.10.9.1' AND `handcart_ip_addresses`.`id` != 2) LIMIT 1[0m
|
60
|
+
[1m[35mHandcart::Subdomain Exists (0.5ms)[0m SELECT 1 AS one FROM `handcart_subdomains` WHERE `handcart_subdomains`.`name` = 'pouros-6' LIMIT 1
|
61
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO `handcart_subdomains` (`created_at`, `name`, `updated_at`) VALUES ('2014-02-08 22:18:33', 'pouros-6', '2014-02-08 22:18:33')[0m
|
62
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO `companies` (`active`, `created_at`, `name`, `subdomain_id`, `updated_at`) VALUES (1, '2014-02-08 22:18:33', 'MyString-5', 6, '2014-02-08 22:18:33')
|
63
|
+
[1m[36mHandcart::IpAddress Exists (0.5ms)[0m [1mSELECT 1 AS one FROM `handcart_ip_addresses` WHERE `handcart_ip_addresses`.`address` = '10.10.9.1' LIMIT 1[0m
|
64
|
+
[1m[35m (33.8ms)[0m ROLLBACK
|
65
|
+
[1m[36m (0.3ms)[0m [1mBEGIN[0m
|
66
|
+
[1m[35m (0.2ms)[0m COMMIT
|
67
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
68
|
+
[1m[35mHandcart::Subdomain Exists (0.6ms)[0m SELECT 1 AS one FROM `handcart_subdomains` WHERE `handcart_subdomains`.`name` = 'kuvalishomenick-7' LIMIT 1
|
69
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO `handcart_subdomains` (`created_at`, `name`, `updated_at`) VALUES ('2014-02-08 22:18:33', 'kuvalishomenick-7', '2014-02-08 22:18:33')[0m
|
70
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO `companies` (`active`, `created_at`, `name`, `subdomain_id`, `updated_at`) VALUES (1, '2014-02-08 22:18:33', 'MyString-6', 7, '2014-02-08 22:18:33')
|
71
|
+
[1m[36mHandcart::IpAddress Exists (0.6ms)[0m [1mSELECT 1 AS one FROM `handcart_ip_addresses` WHERE `handcart_ip_addresses`.`address` IS NULL LIMIT 1[0m
|
72
|
+
[1m[35m (35.5ms)[0m ROLLBACK
|
73
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
74
|
+
[1m[35m (0.2ms)[0m COMMIT
|
75
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
76
|
+
[1m[35mHandcart::Subdomain Exists (0.4ms)[0m SELECT 1 AS one FROM `handcart_subdomains` WHERE `handcart_subdomains`.`name` = 'planet' LIMIT 1
|
77
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO `handcart_subdomains` (`created_at`, `name`, `updated_at`) VALUES ('2014-02-08 22:18:33', 'planet', '2014-02-08 22:18:33')[0m
|
78
|
+
[1m[35mHandcart::Subdomain Exists (0.3ms)[0m SELECT 1 AS one FROM `handcart_subdomains` WHERE `handcart_subdomains`.`name` = 'moms' LIMIT 1
|
79
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO `handcart_subdomains` (`created_at`, `name`, `updated_at`) VALUES ('2014-02-08 22:18:33', 'moms', '2014-02-08 22:18:33')[0m
|
80
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO `companies` (`active`, `created_at`, `name`, `subdomain_id`, `updated_at`) VALUES (1, '2014-02-08 22:18:33', 'Planet Express', 8, '2014-02-08 22:18:33')
|
81
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO `companies` (`active`, `created_at`, `name`, `subdomain_id`, `updated_at`) VALUES (1, '2014-02-08 22:18:33', 'Moms Friendly Robot Company', 9, '2014-02-08 22:18:33')[0m
|
82
|
+
[1m[35mHandcart::IpAddress Exists (0.4ms)[0m SELECT 1 AS one FROM `handcart_ip_addresses` WHERE `handcart_ip_addresses`.`address` = '10.10.9.1' LIMIT 1
|
83
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO `handcart_ip_addresses` (`address`, `created_at`, `handcart_id`, `subnet_mask`, `updated_at`) VALUES ('10.10.9.1', '2014-02-08 22:18:33', 7, '255.255.255.128', '2014-02-08 22:18:33')[0m
|
84
|
+
[1m[35mHandcart::IpAddress Exists (0.6ms)[0m SELECT 1 AS one FROM `handcart_ip_addresses` WHERE (`handcart_ip_addresses`.`address` = '10.10.9.1' AND `handcart_ip_addresses`.`id` != 3) LIMIT 1
|
85
|
+
[1m[36mHandcart::IpAddress Exists (0.4ms)[0m [1mSELECT 1 AS one FROM `handcart_ip_addresses` WHERE `handcart_ip_addresses`.`address` = '10.10.9.1' LIMIT 1[0m
|
86
|
+
[1m[35m (35.4ms)[0m ROLLBACK
|
87
|
+
[1m[36m (0.3ms)[0m [1mBEGIN[0m
|
88
|
+
[1m[35m (0.2ms)[0m COMMIT
|
89
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
90
|
+
[1m[35mHandcart::Subdomain Exists (0.7ms)[0m SELECT 1 AS one FROM `handcart_subdomains` WHERE `handcart_subdomains`.`name` = 'erdman-8' LIMIT 1
|
91
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO `handcart_subdomains` (`created_at`, `name`, `updated_at`) VALUES ('2014-02-08 22:18:33', 'erdman-8', '2014-02-08 22:18:33')[0m
|
92
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO `companies` (`active`, `created_at`, `name`, `subdomain_id`, `updated_at`) VALUES (1, '2014-02-08 22:18:33', 'MyString-7', 10, '2014-02-08 22:18:33')
|
93
|
+
[1m[36mHandcart::IpAddress Exists (0.5ms)[0m [1mSELECT 1 AS one FROM `handcart_ip_addresses` WHERE `handcart_ip_addresses`.`address` = '256.256.256.256' LIMIT 1[0m
|
94
|
+
[1m[35m (37.4ms)[0m ROLLBACK
|
95
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
96
|
+
[1m[35m (0.1ms)[0m COMMIT
|
97
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
98
|
+
[1m[35mHandcart::Subdomain Exists (0.4ms)[0m SELECT 1 AS one FROM `handcart_subdomains` WHERE `handcart_subdomains`.`name` = 'cremin-9' LIMIT 1
|
99
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO `handcart_subdomains` (`created_at`, `name`, `updated_at`) VALUES ('2014-02-08 22:18:33', 'cremin-9', '2014-02-08 22:18:33')[0m
|
100
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO `companies` (`active`, `created_at`, `name`, `subdomain_id`, `updated_at`) VALUES (1, '2014-02-08 22:18:33', 'MyString-8', 11, '2014-02-08 22:18:33')
|
101
|
+
[1m[36mHandcart::IpAddress Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `handcart_ip_addresses` WHERE `handcart_ip_addresses`.`address` = '57.191.46.173' LIMIT 1[0m
|
102
|
+
[1m[35m (35.6ms)[0m ROLLBACK
|
103
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
104
|
+
[1m[35m (0.1ms)[0m COMMIT
|
105
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
106
|
+
[1m[35mHandcart::Subdomain Exists (0.4ms)[0m SELECT 1 AS one FROM `handcart_subdomains` WHERE `handcart_subdomains`.`name` = 'konopelski-10' LIMIT 1
|
107
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO `handcart_subdomains` (`created_at`, `name`, `updated_at`) VALUES ('2014-02-08 22:18:33', 'konopelski-10', '2014-02-08 22:18:33')[0m
|
108
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO `companies` (`active`, `created_at`, `name`, `subdomain_id`, `updated_at`) VALUES (1, '2014-02-08 22:18:33', 'MyString-9', 12, '2014-02-08 22:18:33')
|
109
|
+
[1m[36mHandcart::IpAddress Exists (0.6ms)[0m [1mSELECT 1 AS one FROM `handcart_ip_addresses` WHERE `handcart_ip_addresses`.`address` = '99.209.20.115' LIMIT 1[0m
|
110
|
+
[1m[35m (32.3ms)[0m ROLLBACK
|
111
|
+
[1m[36m (0.3ms)[0m [1mBEGIN[0m
|
112
|
+
[1m[35m (0.2ms)[0m COMMIT
|
113
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
114
|
+
[1m[35mHandcart::Subdomain Exists (0.4ms)[0m SELECT 1 AS one FROM `handcart_subdomains` WHERE `handcart_subdomains`.`name` = 'lubowitz-11' LIMIT 1
|
115
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO `handcart_subdomains` (`created_at`, `name`, `updated_at`) VALUES ('2014-02-08 22:18:33', 'lubowitz-11', '2014-02-08 22:18:33')[0m
|
116
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO `companies` (`active`, `created_at`, `name`, `subdomain_id`, `updated_at`) VALUES (1, '2014-02-08 22:18:33', 'MyString-10', 13, '2014-02-08 22:18:33')
|
117
|
+
[1m[36mHandcart::IpAddress Exists (0.6ms)[0m [1mSELECT 1 AS one FROM `handcart_ip_addresses` WHERE `handcart_ip_addresses`.`address` = '238.86.78.252' LIMIT 1[0m
|
118
|
+
[1m[35m (37.0ms)[0m ROLLBACK
|
119
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
120
|
+
[1m[35m (0.0ms)[0m COMMIT
|
121
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
122
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
123
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
124
|
+
[1m[35m (0.1ms)[0m COMMIT
|
125
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
126
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
127
|
+
[1m[36m (0.3ms)[0m [1mBEGIN[0m
|
128
|
+
[1m[35m (0.2ms)[0m COMMIT
|
129
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
130
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
131
|
+
[1m[36m (0.3ms)[0m [1mBEGIN[0m
|
132
|
+
[1m[35m (0.2ms)[0m COMMIT
|
133
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
134
|
+
[1m[35mHandcart::Subdomain Exists (0.7ms)[0m SELECT 1 AS one FROM `handcart_subdomains` WHERE `handcart_subdomains`.`name` = 'boyer-12' LIMIT 1
|
135
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO `handcart_subdomains` (`created_at`, `name`, `updated_at`) VALUES ('2014-02-08 22:18:33', 'boyer-12', '2014-02-08 22:18:33')[0m
|
136
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO `companies` (`active`, `created_at`, `name`, `subdomain_id`, `updated_at`) VALUES (1, '2014-02-08 22:18:33', 'Planet Express', 14, '2014-02-08 22:18:33')
|
137
|
+
[1m[36mHandcart::IpAddress Exists (0.4ms)[0m [1mSELECT 1 AS one FROM `handcart_ip_addresses` WHERE `handcart_ip_addresses`.`address` = '10.10.9.1' LIMIT 1[0m
|
138
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO `handcart_ip_addresses` (`address`, `blacklisted`, `created_at`, `handcart_id`, `subnet_mask`, `updated_at`) VALUES ('10.10.9.1', 1, '2014-02-08 22:18:33', 13, '255.255.255.128', '2014-02-08 22:18:33')
|
139
|
+
[1m[36mHandcart::IpAddress Load (0.5ms)[0m [1mSELECT `handcart_ip_addresses`.* FROM `handcart_ip_addresses` WHERE `handcart_ip_addresses`.`handcart_id` = 13 AND (`handcart_ip_addresses`.`blacklisted` != 1)[0m
|
140
|
+
[1m[35m (31.8ms)[0m ROLLBACK
|
141
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
142
|
+
[1m[35m (0.1ms)[0m COMMIT
|
143
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
144
|
+
[1m[35mHandcart::Subdomain Exists (0.5ms)[0m SELECT 1 AS one FROM `handcart_subdomains` WHERE `handcart_subdomains`.`name` = 'cormierpaucek-13' LIMIT 1
|
145
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO `handcart_subdomains` (`created_at`, `name`, `updated_at`) VALUES ('2014-02-08 22:18:33', 'cormierpaucek-13', '2014-02-08 22:18:33')[0m
|
146
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO `companies` (`active`, `created_at`, `name`, `subdomain_id`, `updated_at`) VALUES (1, '2014-02-08 22:18:33', 'Planet Express', 15, '2014-02-08 22:18:33')
|
147
|
+
[1m[36mHandcart::IpAddress Exists (0.6ms)[0m [1mSELECT 1 AS one FROM `handcart_ip_addresses` WHERE `handcart_ip_addresses`.`address` = '10.10.9.1' LIMIT 1[0m
|
148
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO `handcart_ip_addresses` (`address`, `created_at`, `handcart_id`, `subnet_mask`, `updated_at`) VALUES ('10.10.9.1', '2014-02-08 22:18:33', 14, '255.255.255.128', '2014-02-08 22:18:33')
|
149
|
+
[1m[36mHandcart::IpAddress Load (0.7ms)[0m [1mSELECT `handcart_ip_addresses`.* FROM `handcart_ip_addresses` WHERE `handcart_ip_addresses`.`handcart_id` = 14 AND (`handcart_ip_addresses`.`blacklisted` != 1)[0m
|
150
|
+
[1m[35m (39.7ms)[0m ROLLBACK
|
151
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
152
|
+
[1m[35m (0.1ms)[0m COMMIT
|
153
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
154
|
+
[1m[35mHandcart::Subdomain Exists (0.5ms)[0m SELECT 1 AS one FROM `handcart_subdomains` WHERE `handcart_subdomains`.`name` = 'lynchmacejkovic-14' LIMIT 1
|
155
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO `handcart_subdomains` (`created_at`, `name`, `updated_at`) VALUES ('2014-02-08 22:18:33', 'lynchmacejkovic-14', '2014-02-08 22:18:33')[0m
|
156
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO `companies` (`active`, `created_at`, `name`, `subdomain_id`, `updated_at`) VALUES (1, '2014-02-08 22:18:33', 'Planet Express', 16, '2014-02-08 22:18:33')
|
157
|
+
[1m[36mHandcart::IpAddress Exists (0.5ms)[0m [1mSELECT 1 AS one FROM `handcart_ip_addresses` WHERE `handcart_ip_addresses`.`address` = '10.10.9.1' LIMIT 1[0m
|
158
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO `handcart_ip_addresses` (`address`, `created_at`, `handcart_id`, `subnet_mask`, `updated_at`) VALUES ('10.10.9.1', '2014-02-08 22:18:33', 15, '255.255.255.128', '2014-02-08 22:18:33')
|
159
|
+
[1m[36mHandcart::IpAddress Load (0.4ms)[0m [1mSELECT `handcart_ip_addresses`.* FROM `handcart_ip_addresses` WHERE `handcart_ip_addresses`.`handcart_id` = 15 AND (`handcart_ip_addresses`.`blacklisted` != 1)[0m
|
160
|
+
[1m[35m (33.2ms)[0m ROLLBACK
|
161
|
+
[1m[36m (0.3ms)[0m [1mBEGIN[0m
|
162
|
+
[1m[35m (0.2ms)[0m COMMIT
|
163
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
164
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
165
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
166
|
+
[1m[35m (0.1ms)[0m COMMIT
|
167
|
+
[1m[36m (0.3ms)[0m [1mBEGIN[0m
|
168
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
169
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
170
|
+
[1m[35m (0.2ms)[0m COMMIT
|
171
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
172
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
173
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
174
|
+
[1m[35m (0.2ms)[0m COMMIT
|
175
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
176
|
+
[1m[35mHandcart::Subdomain Exists (0.4ms)[0m SELECT 1 AS one FROM `handcart_subdomains` WHERE `handcart_subdomains`.`name` = 'heller-15' LIMIT 1
|
177
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO `handcart_subdomains` (`created_at`, `name`, `updated_at`) VALUES ('2014-02-08 22:18:34', 'heller-15', '2014-02-08 22:18:34')[0m
|
178
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO `companies` (`active`, `created_at`, `name`, `subdomain_id`, `updated_at`) VALUES (1, '2014-02-08 22:18:34', 'Planet Express', 17, '2014-02-08 22:18:34')
|
179
|
+
[1m[36mHandcart::IpAddress Exists (0.4ms)[0m [1mSELECT 1 AS one FROM `handcart_ip_addresses` WHERE `handcart_ip_addresses`.`address` = '11.174.183.49' LIMIT 1[0m
|
180
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO `handcart_ip_addresses` (`address`, `created_at`, `handcart_id`, `subnet_mask`, `updated_at`) VALUES ('11.174.183.49', '2014-02-08 22:18:34', 16, '255.255.255.0', '2014-02-08 22:18:34')
|
181
|
+
[1m[36mHandcart::IpAddress Exists (0.4ms)[0m [1mSELECT 1 AS one FROM `handcart_ip_addresses` WHERE `handcart_ip_addresses`.`address` = '88.127.10.94' LIMIT 1[0m
|
182
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO `handcart_ip_addresses` (`address`, `created_at`, `handcart_id`, `subnet_mask`, `updated_at`) VALUES ('88.127.10.94', '2014-02-08 22:18:34', 16, '255.255.255.0', '2014-02-08 22:18:34')
|
183
|
+
[1m[36mHandcart::IpAddress Load (0.5ms)[0m [1mSELECT `handcart_ip_addresses`.* FROM `handcart_ip_addresses` WHERE `handcart_ip_addresses`.`handcart_id` = 16 AND (`handcart_ip_addresses`.`blacklisted` != 1)[0m
|
184
|
+
[1m[35mHandcart::IpAddress Load (0.5ms)[0m SELECT `handcart_ip_addresses`.* FROM `handcart_ip_addresses` WHERE `handcart_ip_addresses`.`handcart_id` = 16 AND (`handcart_ip_addresses`.`blacklisted` != 1)
|
185
|
+
[1m[36mHandcart::IpAddress Load (0.6ms)[0m [1mSELECT `handcart_ip_addresses`.* FROM `handcart_ip_addresses` WHERE `handcart_ip_addresses`.`handcart_id` = 16 AND (`handcart_ip_addresses`.`blacklisted` != 1)[0m
|
186
|
+
[1m[35mHandcart::IpAddress Load (0.3ms)[0m SELECT `handcart_ip_addresses`.* FROM `handcart_ip_addresses` WHERE `handcart_ip_addresses`.`handcart_id` = 16 AND (`handcart_ip_addresses`.`blacklisted` != 1)
|
187
|
+
[1m[36m (33.1ms)[0m [1mROLLBACK[0m
|
188
|
+
[1m[35m (0.2ms)[0m BEGIN
|
189
|
+
[1m[36m (0.2ms)[0m [1mCOMMIT[0m
|
190
|
+
[1m[35m (0.2ms)[0m BEGIN
|
191
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
192
|
+
[1m[35m (0.2ms)[0m BEGIN
|
193
|
+
[1m[36m (0.3ms)[0m [1mCOMMIT[0m
|
194
|
+
[1m[35m (0.3ms)[0m BEGIN
|
195
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
196
|
+
[1m[35m (0.3ms)[0m BEGIN
|
197
|
+
[1m[36m (0.2ms)[0m [1mCOMMIT[0m
|
198
|
+
[1m[35m (0.2ms)[0m BEGIN
|
199
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
200
|
+
[1m[35m (0.3ms)[0m BEGIN
|
201
|
+
[1m[36m (0.2ms)[0m [1mCOMMIT[0m
|
202
|
+
[1m[35m (0.2ms)[0m BEGIN
|
203
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
204
|
+
[1m[35m (0.3ms)[0m BEGIN
|
205
|
+
[1m[36m (0.3ms)[0m [1mCOMMIT[0m
|
206
|
+
[1m[35m (0.2ms)[0m BEGIN
|
207
|
+
[1m[36m (0.3ms)[0m [1mROLLBACK[0m
|
208
|
+
[1m[35m (0.2ms)[0m BEGIN
|
209
|
+
[1m[36m (0.2ms)[0m [1mCOMMIT[0m
|
210
|
+
[1m[35m (0.1ms)[0m BEGIN
|
211
|
+
[1m[36mHandcart::Subdomain Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `handcart_subdomains` WHERE `handcart_subdomains`.`name` = 'example' LIMIT 1[0m
|
212
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO `handcart_subdomains` (`created_at`, `name`, `updated_at`) VALUES ('2014-02-08 22:18:34', 'example', '2014-02-08 22:18:34')
|
213
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO `companies` (`active`, `created_at`, `name`, `subdomain_id`, `updated_at`) VALUES (1, '2014-02-08 22:18:34', 'MyString-11', 18, '2014-02-08 22:18:34')[0m
|
214
|
+
[1m[35mHandcart::Subdomain Load (0.2ms)[0m SELECT `handcart_subdomains`.* FROM `handcart_subdomains` WHERE `handcart_subdomains`.`name` = 'example' LIMIT 1
|
215
|
+
[1m[36mCompany Load (0.3ms)[0m [1mSELECT `companies`.* FROM `companies` WHERE `companies`.`subdomain_id` = 18 ORDER BY `companies`.`id` ASC LIMIT 1[0m
|
216
|
+
[1m[35m (28.6ms)[0m ROLLBACK
|
217
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
218
|
+
[1m[35m (0.2ms)[0m COMMIT
|
219
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
220
|
+
[1m[35mHandcart::Subdomain Exists (0.4ms)[0m SELECT 1 AS one FROM `handcart_subdomains` WHERE `handcart_subdomains`.`name` = 'example' LIMIT 1
|
221
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO `handcart_subdomains` (`created_at`, `name`, `updated_at`) VALUES ('2014-02-08 22:18:34', 'example', '2014-02-08 22:18:34')[0m
|
222
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO `companies` (`active`, `created_at`, `name`, `subdomain_id`, `updated_at`) VALUES (1, '2014-02-08 22:18:34', 'MyString-12', 19, '2014-02-08 22:18:34')
|
223
|
+
[1m[36mHandcart::Subdomain Load (0.5ms)[0m [1mSELECT `handcart_subdomains`.* FROM `handcart_subdomains` WHERE `handcart_subdomains`.`name` = 'example' LIMIT 1[0m
|
224
|
+
[1m[35mCompany Load (0.4ms)[0m SELECT `companies`.* FROM `companies` WHERE `companies`.`subdomain_id` = 19 ORDER BY `companies`.`id` ASC LIMIT 1
|
225
|
+
[1m[36m (36.8ms)[0m [1mROLLBACK[0m
|
226
|
+
[1m[35m (0.2ms)[0m BEGIN
|
227
|
+
[1m[36m (0.2ms)[0m [1mCOMMIT[0m
|
228
|
+
[1m[35m (0.1ms)[0m BEGIN
|
229
|
+
[1m[36mHandcart::Subdomain Exists (0.8ms)[0m [1mSELECT 1 AS one FROM `handcart_subdomains` WHERE `handcart_subdomains`.`name` = 'example' LIMIT 1[0m
|
230
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO `handcart_subdomains` (`created_at`, `name`, `updated_at`) VALUES ('2014-02-08 22:18:34', 'example', '2014-02-08 22:18:34')
|
231
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO `companies` (`active`, `created_at`, `name`, `subdomain_id`, `updated_at`) VALUES (1, '2014-02-08 22:18:34', 'MyString-13', 20, '2014-02-08 22:18:34')[0m
|
232
|
+
[1m[35mHandcart::Subdomain Load (0.6ms)[0m SELECT `handcart_subdomains`.* FROM `handcart_subdomains` WHERE `handcart_subdomains`.`name` = 'example' LIMIT 1
|
233
|
+
[1m[36mCompany Load (0.6ms)[0m [1mSELECT `companies`.* FROM `companies` WHERE `companies`.`subdomain_id` = 20 ORDER BY `companies`.`id` ASC LIMIT 1[0m
|
234
|
+
[1m[35m (37.7ms)[0m ROLLBACK
|
235
|
+
[1m[36m (0.3ms)[0m [1mBEGIN[0m
|
236
|
+
[1m[35m (0.2ms)[0m COMMIT
|
237
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
238
|
+
[1m[35m (0.3ms)[0m ROLLBACK
|
239
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
240
|
+
[1m[35m (0.2ms)[0m COMMIT
|
241
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
242
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
243
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
244
|
+
[1m[35m (0.2ms)[0m COMMIT
|
245
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
246
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
247
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
248
|
+
[1m[35m (0.2ms)[0m COMMIT
|
249
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
250
|
+
[1m[35m (0.3ms)[0m ROLLBACK
|
251
|
+
[1m[36m (0.3ms)[0m [1mBEGIN[0m
|
252
|
+
[1m[35m (0.2ms)[0m COMMIT
|
253
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
254
|
+
[1m[35m (0.3ms)[0m ROLLBACK
|
255
|
+
[1m[36m (0.3ms)[0m [1mBEGIN[0m
|
256
|
+
[1m[35m (0.4ms)[0m COMMIT
|
257
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
258
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
259
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
260
|
+
[1m[35m (0.1ms)[0m COMMIT
|
261
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
262
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
263
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
264
|
+
[1m[35m (0.1ms)[0m COMMIT
|
265
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
266
|
+
[1m[35mHandcart::Subdomain Exists (0.3ms)[0m SELECT 1 AS one FROM `handcart_subdomains` WHERE `handcart_subdomains`.`name` = 'disabled' LIMIT 1
|
267
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO `handcart_subdomains` (`created_at`, `name`, `updated_at`) VALUES ('2014-02-08 22:18:34', 'disabled', '2014-02-08 22:18:34')[0m
|
268
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO `companies` (`active`, `created_at`, `name`, `subdomain_id`, `updated_at`) VALUES (1, '2014-02-08 22:18:34', 'Disabled Company', 21, '2014-02-08 22:18:34')
|
269
|
+
[1m[36mHandcart::Subdomain Load (0.2ms)[0m [1mSELECT `handcart_subdomains`.* FROM `handcart_subdomains` WHERE `handcart_subdomains`.`name` = 'disabled' LIMIT 1[0m
|
270
|
+
[1m[35mCompany Load (0.2ms)[0m SELECT `companies`.* FROM `companies` WHERE `companies`.`subdomain_id` = 21 ORDER BY `companies`.`id` ASC LIMIT 1
|
271
|
+
[1m[36m (35.3ms)[0m [1mROLLBACK[0m
|
272
|
+
[1m[35m (0.3ms)[0m BEGIN
|
273
|
+
[1m[36m (0.3ms)[0m [1mCOMMIT[0m
|
274
|
+
[1m[35m (0.2ms)[0m BEGIN
|
275
|
+
[1m[36mHandcart::Subdomain Exists (0.7ms)[0m [1mSELECT 1 AS one FROM `handcart_subdomains` WHERE `handcart_subdomains`.`name` = 'enabled' LIMIT 1[0m
|
276
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO `handcart_subdomains` (`created_at`, `name`, `updated_at`) VALUES ('2014-02-08 22:18:34', 'enabled', '2014-02-08 22:18:34')
|
277
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO `companies` (`active`, `created_at`, `name`, `subdomain_id`, `updated_at`) VALUES (1, '2014-02-08 22:18:34', 'Enabled Company', 22, '2014-02-08 22:18:34')[0m
|
278
|
+
[1m[35mHandcart::Subdomain Load (0.3ms)[0m SELECT `handcart_subdomains`.* FROM `handcart_subdomains` WHERE `handcart_subdomains`.`name` = 'enabled' LIMIT 1
|
279
|
+
[1m[36mCompany Load (0.3ms)[0m [1mSELECT `companies`.* FROM `companies` WHERE `companies`.`subdomain_id` = 22 ORDER BY `companies`.`id` ASC LIMIT 1[0m
|
280
|
+
[1m[35m (38.0ms)[0m ROLLBACK
|
281
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
282
|
+
[1m[35m (0.1ms)[0m COMMIT
|
283
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
284
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
285
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
286
|
+
[1m[35m (0.2ms)[0m COMMIT
|
287
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
288
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
289
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
290
|
+
[1m[35m (0.2ms)[0m COMMIT
|
291
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
292
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
293
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
294
|
+
[1m[35m (0.2ms)[0m COMMIT
|
295
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
296
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
297
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
298
|
+
[1m[35m (0.1ms)[0m COMMIT
|
299
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
300
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
301
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
302
|
+
[1m[35m (0.1ms)[0m COMMIT
|
303
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
304
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
305
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
306
|
+
[1m[35m (0.1ms)[0m COMMIT
|
307
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
308
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
309
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
310
|
+
[1m[35m (0.1ms)[0m COMMIT
|
311
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
312
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
313
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
314
|
+
[1m[35m (0.1ms)[0m COMMIT
|
315
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
316
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
317
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
318
|
+
[1m[35m (0.1ms)[0m COMMIT
|
319
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
320
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
321
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
322
|
+
[1m[35m (0.1ms)[0m COMMIT
|
323
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
324
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
325
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
326
|
+
[1m[35m (0.1ms)[0m COMMIT
|
327
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
328
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
329
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
330
|
+
[1m[35m (0.1ms)[0m COMMIT
|
331
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
332
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
333
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
334
|
+
[1m[35m (0.1ms)[0m COMMIT
|
335
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
336
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
337
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
338
|
+
[1m[35m (0.1ms)[0m COMMIT
|
339
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
340
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
341
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
342
|
+
[1m[35m (0.1ms)[0m COMMIT
|
343
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
344
|
+
[1m[35mHandcart::Subdomain Exists (0.3ms)[0m SELECT 1 AS one FROM `handcart_subdomains` WHERE `handcart_subdomains`.`name` = 'mark' LIMIT 1
|
345
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
346
|
+
[1m[35m (0.1ms)[0m BEGIN
|
347
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
348
|
+
[1m[35m (0.1ms)[0m BEGIN
|
349
|
+
[1m[36mHandcart::Subdomain Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `handcart_subdomains` WHERE `handcart_subdomains`.`name` = 'larkin-16' LIMIT 1[0m
|
350
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
351
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
352
|
+
[1m[35m (0.1ms)[0m COMMIT
|
353
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
354
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
355
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
356
|
+
[1m[35m (0.1ms)[0m COMMIT
|
357
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
358
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
359
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
360
|
+
[1m[35m (0.2ms)[0m COMMIT
|
361
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
362
|
+
[1m[35mHandcart::Subdomain Exists (0.1ms)[0m SELECT 1 AS one FROM `handcart_subdomains` WHERE `handcart_subdomains`.`name` = 'mark' LIMIT 1
|
363
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO `handcart_subdomains` (`created_at`, `name`, `updated_at`) VALUES ('2014-02-08 22:18:34', 'mark', '2014-02-08 22:18:34')[0m
|
364
|
+
[1m[35mHandcart::Subdomain Exists (0.5ms)[0m SELECT 1 AS one FROM `handcart_subdomains` WHERE (`handcart_subdomains`.`name` = 'mark' AND `handcart_subdomains`.`id` != 23) LIMIT 1
|
365
|
+
[1m[36mHandcart::Subdomain Exists (0.5ms)[0m [1mSELECT 1 AS one FROM `handcart_subdomains` WHERE `handcart_subdomains`.`name` = 'MARK' LIMIT 1[0m
|
366
|
+
[1m[35m (41.9ms)[0m ROLLBACK
|
367
|
+
[1m[36m (0.4ms)[0m [1mBEGIN[0m
|
368
|
+
[1m[35m (0.2ms)[0m COMMIT
|
369
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
370
|
+
[1m[35mHandcart::Subdomain Exists (0.7ms)[0m SELECT 1 AS one FROM `handcart_subdomains` WHERE `handcart_subdomains`.`name` = 'mark' LIMIT 1
|
371
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO `handcart_subdomains` (`created_at`, `name`, `updated_at`) VALUES ('2014-02-08 22:18:34', 'mark', '2014-02-08 22:18:34')[0m
|
372
|
+
[1m[35mHandcart::Subdomain Exists (0.4ms)[0m SELECT 1 AS one FROM `handcart_subdomains` WHERE (`handcart_subdomains`.`name` = 'mark' AND `handcart_subdomains`.`id` != 24) LIMIT 1
|
373
|
+
[1m[36mHandcart::Subdomain Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `handcart_subdomains` WHERE `handcart_subdomains`.`name` = 'mark' LIMIT 1[0m
|
374
|
+
[1m[35m (24.4ms)[0m ROLLBACK
|
375
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
376
|
+
[1m[35m (0.1ms)[0m COMMIT
|
377
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
378
|
+
[1m[35mHandcart::Subdomain Exists (0.2ms)[0m SELECT 1 AS one FROM `handcart_subdomains` WHERE `handcart_subdomains`.`name` IS NULL LIMIT 1
|
379
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
380
|
+
[1m[35m (0.1ms)[0m BEGIN
|
381
|
+
[1m[36m (0.0ms)[0m [1mCOMMIT[0m
|
382
|
+
[1m[35m (0.0ms)[0m BEGIN
|
383
|
+
[1m[36mHandcart::Subdomain Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `handcart_subdomains` WHERE `handcart_subdomains`.`name` = 'www' LIMIT 1[0m
|
384
|
+
[1m[35mHandcart::Subdomain Exists (0.2ms)[0m SELECT 1 AS one FROM `handcart_subdomains` WHERE `handcart_subdomains`.`name` = 'ftp' LIMIT 1
|
385
|
+
[1m[36mHandcart::Subdomain Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `handcart_subdomains` WHERE `handcart_subdomains`.`name` = 'ssh' LIMIT 1[0m
|
386
|
+
[1m[35mHandcart::Subdomain Exists (0.2ms)[0m SELECT 1 AS one FROM `handcart_subdomains` WHERE `handcart_subdomains`.`name` = 'pop3' LIMIT 1
|
387
|
+
[1m[36mHandcart::Subdomain Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `handcart_subdomains` WHERE `handcart_subdomains`.`name` = 'staging' LIMIT 1[0m
|
388
|
+
[1m[35mHandcart::Subdomain Exists (0.2ms)[0m SELECT 1 AS one FROM `handcart_subdomains` WHERE `handcart_subdomains`.`name` = 'master' LIMIT 1
|
389
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
390
|
+
[1m[35m (0.2ms)[0m BEGIN
|
391
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
392
|
+
[1m[35m (0.1ms)[0m BEGIN
|
393
|
+
[1m[36mHandcart::Subdomain Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `handcart_subdomains` WHERE `handcart_subdomains`.`name` = 'mark' LIMIT 1[0m
|
394
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO `handcart_subdomains` (`created_at`, `name`, `updated_at`) VALUES ('2014-02-08 22:18:34', 'mark', '2014-02-08 22:18:34')
|
395
|
+
[1m[36mHandcart::Subdomain Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `handcart_subdomains` WHERE `handcart_subdomains`.`name` = 'holmberg' LIMIT 1[0m
|
396
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO `handcart_subdomains` (`created_at`, `name`, `updated_at`) VALUES ('2014-02-08 22:18:34', 'holmberg', '2014-02-08 22:18:34')
|
397
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO `companies` (`active`, `created_at`, `name`, `subdomain_id`, `updated_at`) VALUES (1, '2014-02-08 22:18:34', 'MyString-14', 26, '2014-02-08 22:18:34')[0m
|
398
|
+
[1m[35mCompany Load (0.2ms)[0m SELECT `companies`.* FROM `companies` WHERE `companies`.`subdomain_id` = 25 ORDER BY `companies`.`id` ASC LIMIT 1
|
399
|
+
[1m[36mCompany Load (0.2ms)[0m [1mSELECT `companies`.* FROM `companies` WHERE `companies`.`subdomain_id` = 26 ORDER BY `companies`.`id` ASC LIMIT 1[0m
|
400
|
+
[1m[35mSQL (0.3ms)[0m SELECT `handcart_subdomains`.`id` AS t0_r0, `handcart_subdomains`.`name` AS t0_r1, `handcart_subdomains`.`created_at` AS t0_r2, `handcart_subdomains`.`updated_at` AS t0_r3, `companies`.`id` AS t1_r0, `companies`.`name` AS t1_r1, `companies`.`subdomain_id` AS t1_r2, `companies`.`created_at` AS t1_r3, `companies`.`updated_at` AS t1_r4, `companies`.`active` AS t1_r5 FROM `handcart_subdomains` LEFT OUTER JOIN `companies` ON `companies`.`subdomain_id` = `handcart_subdomains`.`id` WHERE (companies.subdomain_id IS NULL OR companies.subdomain_id IN (26))
|
401
|
+
[1m[36m (28.7ms)[0m [1mROLLBACK[0m
|
402
|
+
[1m[35m (0.2ms)[0m BEGIN
|
403
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
404
|
+
[1m[35m (0.1ms)[0m BEGIN
|
405
|
+
[1m[36mHandcart::Subdomain Exists (0.5ms)[0m [1mSELECT 1 AS one FROM `handcart_subdomains` WHERE `handcart_subdomains`.`name` = 'mark' LIMIT 1[0m
|
406
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO `handcart_subdomains` (`created_at`, `name`, `updated_at`) VALUES ('2014-02-08 22:18:34', 'mark', '2014-02-08 22:18:34')
|
407
|
+
[1m[36mCompany Load (0.4ms)[0m [1mSELECT `companies`.* FROM `companies` WHERE `companies`.`subdomain_id` = 27 ORDER BY `companies`.`id` ASC LIMIT 1[0m
|
408
|
+
[1m[35mSQL (0.6ms)[0m SELECT `handcart_subdomains`.`id` AS t0_r0, `handcart_subdomains`.`name` AS t0_r1, `handcart_subdomains`.`created_at` AS t0_r2, `handcart_subdomains`.`updated_at` AS t0_r3, `companies`.`id` AS t1_r0, `companies`.`name` AS t1_r1, `companies`.`subdomain_id` AS t1_r2, `companies`.`created_at` AS t1_r3, `companies`.`updated_at` AS t1_r4, `companies`.`active` AS t1_r5 FROM `handcart_subdomains` LEFT OUTER JOIN `companies` ON `companies`.`subdomain_id` = `handcart_subdomains`.`id` WHERE (companies.subdomain_id IS NULL)
|
409
|
+
[1m[36m (26.9ms)[0m [1mROLLBACK[0m
|
410
|
+
[1m[35m (0.1ms)[0m BEGIN
|
411
|
+
[1m[36m (0.2ms)[0m [1mCOMMIT[0m
|
412
|
+
[1m[35m (0.1ms)[0m BEGIN
|
413
|
+
[1m[36mHandcart::Subdomain Exists (0.5ms)[0m [1mSELECT 1 AS one FROM `handcart_subdomains` WHERE `handcart_subdomains`.`name` = 'mark' LIMIT 1[0m
|
414
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO `handcart_subdomains` (`created_at`, `name`, `updated_at`) VALUES ('2014-02-08 22:18:34', 'mark', '2014-02-08 22:18:34')
|
415
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO `companies` (`active`, `created_at`, `name`, `subdomain_id`, `updated_at`) VALUES (1, '2014-02-08 22:18:34', 'MyString-15', 28, '2014-02-08 22:18:34')[0m
|
416
|
+
[1m[35mSQL (0.6ms)[0m SELECT `handcart_subdomains`.`id` AS t0_r0, `handcart_subdomains`.`name` AS t0_r1, `handcart_subdomains`.`created_at` AS t0_r2, `handcart_subdomains`.`updated_at` AS t0_r3, `companies`.`id` AS t1_r0, `companies`.`name` AS t1_r1, `companies`.`subdomain_id` AS t1_r2, `companies`.`created_at` AS t1_r3, `companies`.`updated_at` AS t1_r4, `companies`.`active` AS t1_r5 FROM `handcart_subdomains` LEFT OUTER JOIN `companies` ON `companies`.`subdomain_id` = `handcart_subdomains`.`id` WHERE (companies.subdomain_id IS NOT NULL)
|
417
|
+
[1m[36m (32.7ms)[0m [1mROLLBACK[0m
|
418
|
+
[1m[35m (0.1ms)[0m BEGIN
|
419
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
420
|
+
[1m[35m (0.0ms)[0m BEGIN
|
421
|
+
[1m[36mHandcart::Subdomain Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `handcart_subdomains` WHERE `handcart_subdomains`.`name` = 'this has a + in it' LIMIT 1[0m
|
422
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO `handcart_subdomains` (`created_at`, `name`, `updated_at`) VALUES ('2014-02-08 22:18:34', 'thishasainit', '2014-02-08 22:18:34')
|
423
|
+
[1m[36m (28.0ms)[0m [1mROLLBACK[0m
|
424
|
+
[1m[35m (0.1ms)[0m BEGIN
|
425
|
+
[1m[36m (0.0ms)[0m [1mCOMMIT[0m
|
426
|
+
[1m[35m (0.0ms)[0m BEGIN
|
427
|
+
[1m[36mHandcart::Subdomain Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `handcart_subdomains` WHERE `handcart_subdomains`.`name` = 'this has spaces' LIMIT 1[0m
|
428
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO `handcart_subdomains` (`created_at`, `name`, `updated_at`) VALUES ('2014-02-08 22:18:34', 'thishasspaces', '2014-02-08 22:18:34')
|
429
|
+
[1m[36mHandcart::Subdomain Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `handcart_subdomains` WHERE `handcart_subdomains`.`name` = 'this has s p aces' LIMIT 1[0m
|
430
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO `handcart_subdomains` (`created_at`, `name`, `updated_at`) VALUES ('2014-02-08 22:18:34', 'thishasspaces', '2014-02-08 22:18:34')
|
431
|
+
[1m[36m (26.7ms)[0m [1mROLLBACK[0m
|
432
|
+
[1m[35m (0.1ms)[0m BEGIN
|
433
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
434
|
+
[1m[35m (0.1ms)[0m BEGIN
|
435
|
+
[1m[36mHandcart::Subdomain Exists (0.5ms)[0m [1mSELECT 1 AS one FROM `handcart_subdomains` WHERE `handcart_subdomains`.`name` = 'this has a = in it' LIMIT 1[0m
|
436
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO `handcart_subdomains` (`created_at`, `name`, `updated_at`) VALUES ('2014-02-08 22:18:34', 'thishasainit', '2014-02-08 22:18:34')
|
437
|
+
[1m[36m (27.7ms)[0m [1mROLLBACK[0m
|
438
|
+
[1m[35m (0.1ms)[0m BEGIN
|
439
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
440
|
+
[1m[35m (0.1ms)[0m BEGIN
|
441
|
+
[1m[36mHandcart::Subdomain Exists (0.5ms)[0m [1mSELECT 1 AS one FROM `handcart_subdomains` WHERE `handcart_subdomains`.`name` = 'this has a ? in it' LIMIT 1[0m
|
442
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO `handcart_subdomains` (`created_at`, `name`, `updated_at`) VALUES ('2014-02-08 22:18:34', 'thishasainit', '2014-02-08 22:18:34')
|
443
|
+
[1m[36m (27.2ms)[0m [1mROLLBACK[0m
|
444
|
+
[1m[35m (0.1ms)[0m BEGIN
|
445
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
446
|
+
[1m[35m (0.2ms)[0m BEGIN
|
447
|
+
[1m[36mHandcart::Subdomain Exists (0.7ms)[0m [1mSELECT 1 AS one FROM `handcart_subdomains` WHERE `handcart_subdomains`.`name` = 'this has a / in it' LIMIT 1[0m
|
448
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO `handcart_subdomains` (`created_at`, `name`, `updated_at`) VALUES ('2014-02-08 22:18:34', 'thishasainit', '2014-02-08 22:18:34')
|
449
|
+
[1m[36m (32.1ms)[0m [1mROLLBACK[0m
|
450
|
+
[1m[35m (0.2ms)[0m BEGIN
|
451
|
+
[1m[36m (0.2ms)[0m [1mCOMMIT[0m
|
452
|
+
[1m[35m (0.2ms)[0m BEGIN
|
453
|
+
[1m[36mHandcart::Subdomain Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `handcart_subdomains` WHERE `handcart_subdomains`.`name` = 'mark' LIMIT 1[0m
|
454
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO `handcart_subdomains` (`created_at`, `name`, `updated_at`) VALUES ('2014-02-08 22:18:34', 'mark', '2014-02-08 22:18:34')
|
455
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO `companies` (`active`, `created_at`, `name`, `subdomain_id`, `updated_at`) VALUES (1, '2014-02-08 22:18:34', 'MyString-16', 35, '2014-02-08 22:18:34')[0m
|
456
|
+
[1m[35mCompany Load (0.3ms)[0m SELECT `companies`.* FROM `companies` WHERE `companies`.`subdomain_id` = 35 ORDER BY `companies`.`id` ASC LIMIT 1
|
457
|
+
[1m[36m (32.5ms)[0m [1mROLLBACK[0m
|
458
|
+
[1m[35m (0.2ms)[0m BEGIN
|
459
|
+
[1m[36m (0.2ms)[0m [1mCOMMIT[0m
|
460
|
+
[1m[35m (0.2ms)[0m BEGIN
|
461
|
+
Processing by Handcart::SubdomainsController#new as HTML
|
462
|
+
Rendered /home/mark/dev/handcart/app/views/handcart/subdomains/new.html.haml within layouts/handcart/application (0.3ms)
|
463
|
+
Completed 200 OK in 7ms (Views: 6.0ms | ActiveRecord: 0.0ms)
|
464
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
465
|
+
[1m[35m (0.1ms)[0m BEGIN
|
466
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
467
|
+
[1m[35m (0.0ms)[0m BEGIN
|
468
|
+
[1m[36mHandcart::Subdomain Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `handcart_subdomains` WHERE `handcart_subdomains`.`name` = 'rutherford-17' LIMIT 1[0m
|
469
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO `handcart_subdomains` (`created_at`, `name`, `updated_at`) VALUES ('2014-02-08 22:18:34', 'rutherford-17', '2014-02-08 22:18:34')
|
470
|
+
Processing by Handcart::SubdomainsController#show as HTML
|
471
|
+
Parameters: {"id"=>"36"}
|
472
|
+
[1m[36mHandcart::Subdomain Load (0.3ms)[0m [1mSELECT `handcart_subdomains`.* FROM `handcart_subdomains` WHERE `handcart_subdomains`.`id` = 36 LIMIT 1[0m
|
473
|
+
Completed 200 OK in 3ms (Views: 1.4ms | ActiveRecord: 0.3ms)
|
474
|
+
[1m[35m (29.9ms)[0m ROLLBACK
|
475
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
476
|
+
[1m[35m (0.1ms)[0m COMMIT
|
477
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
478
|
+
[1m[35mHandcart::Subdomain Exists (0.3ms)[0m SELECT 1 AS one FROM `handcart_subdomains` WHERE `handcart_subdomains`.`name` = 'stiedemannleannon-18' LIMIT 1
|
479
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO `handcart_subdomains` (`created_at`, `name`, `updated_at`) VALUES ('2014-02-08 22:18:35', 'stiedemannleannon-18', '2014-02-08 22:18:35')[0m
|
480
|
+
Processing by Handcart::SubdomainsController#destroy as HTML
|
481
|
+
Parameters: {"id"=>"37"}
|
482
|
+
[1m[35mHandcart::Subdomain Load (0.2ms)[0m SELECT `handcart_subdomains`.* FROM `handcart_subdomains` WHERE `handcart_subdomains`.`id` = 37 LIMIT 1
|
483
|
+
[1m[36mSQL (0.2ms)[0m [1mDELETE FROM `handcart_subdomains` WHERE `handcart_subdomains`.`id` = 37[0m
|
484
|
+
Redirected to http://test.host/handcart/subdomains
|
485
|
+
Completed 302 Found in 3ms (ActiveRecord: 0.4ms)
|
486
|
+
[1m[35m (27.5ms)[0m ROLLBACK
|
487
|
+
[1m[36m (0.3ms)[0m [1mBEGIN[0m
|
488
|
+
[1m[35m (0.2ms)[0m COMMIT
|
489
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
490
|
+
[1m[35mHandcart::Subdomain Exists (0.6ms)[0m SELECT 1 AS one FROM `handcart_subdomains` WHERE `handcart_subdomains`.`name` = 'heathcote-19' LIMIT 1
|
491
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO `handcart_subdomains` (`created_at`, `name`, `updated_at`) VALUES ('2014-02-08 22:18:35', 'heathcote-19', '2014-02-08 22:18:35')[0m
|
492
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM `handcart_subdomains`
|
493
|
+
Processing by Handcart::SubdomainsController#destroy as HTML
|
494
|
+
Parameters: {"id"=>"38"}
|
495
|
+
[1m[36mHandcart::Subdomain Load (0.2ms)[0m [1mSELECT `handcart_subdomains`.* FROM `handcart_subdomains` WHERE `handcart_subdomains`.`id` = 38 LIMIT 1[0m
|
496
|
+
[1m[35mSQL (0.2ms)[0m DELETE FROM `handcart_subdomains` WHERE `handcart_subdomains`.`id` = 38
|
497
|
+
Redirected to http://test.host/handcart/subdomains
|
498
|
+
Completed 302 Found in 3ms (ActiveRecord: 0.4ms)
|
499
|
+
[1m[36m (0.5ms)[0m [1mSELECT COUNT(*) FROM `handcart_subdomains`[0m
|
500
|
+
[1m[35m (29.7ms)[0m ROLLBACK
|
501
|
+
[1m[36m (0.3ms)[0m [1mBEGIN[0m
|
502
|
+
[1m[35m (0.2ms)[0m COMMIT
|
503
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
504
|
+
[1m[35mHandcart::Subdomain Exists (0.6ms)[0m SELECT 1 AS one FROM `handcart_subdomains` WHERE `handcart_subdomains`.`name` = 'ward-20' LIMIT 1
|
505
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO `handcart_subdomains` (`created_at`, `name`, `updated_at`) VALUES ('2014-02-08 22:18:35', 'ward-20', '2014-02-08 22:18:35')[0m
|
506
|
+
Processing by Handcart::SubdomainsController#edit as HTML
|
507
|
+
Parameters: {"id"=>"39"}
|
508
|
+
[1m[35mHandcart::Subdomain Load (0.6ms)[0m SELECT `handcart_subdomains`.* FROM `handcart_subdomains` WHERE `handcart_subdomains`.`id` = 39 LIMIT 1
|
509
|
+
Completed 200 OK in 9ms (Views: 5.3ms | ActiveRecord: 0.6ms)
|
510
|
+
[1m[36m (30.7ms)[0m [1mROLLBACK[0m
|
511
|
+
[1m[35m (0.3ms)[0m BEGIN
|
512
|
+
[1m[36m (0.2ms)[0m [1mCOMMIT[0m
|
513
|
+
[1m[35m (0.2ms)[0m BEGIN
|
514
|
+
Processing by Handcart::SubdomainsController#create as HTML
|
515
|
+
Parameters: {"subdomain"=>{"name"=>"invalid value"}}
|
516
|
+
Completed 200 OK in 5ms (Views: 2.9ms | ActiveRecord: 0.0ms)
|
517
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
518
|
+
[1m[35m (0.1ms)[0m BEGIN
|
519
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
520
|
+
[1m[35m (0.0ms)[0m BEGIN
|
521
|
+
Processing by Handcart::SubdomainsController#create as HTML
|
522
|
+
Parameters: {"subdomain"=>{"name"=>"invalid value"}}
|
523
|
+
Completed 200 OK in 2ms (Views: 1.1ms | ActiveRecord: 0.0ms)
|
524
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
525
|
+
[1m[35m (0.1ms)[0m BEGIN
|
526
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
527
|
+
[1m[35m (0.1ms)[0m BEGIN
|
528
|
+
Processing by Handcart::SubdomainsController#create as HTML
|
529
|
+
Parameters: {"subdomain"=>{"name"=>"rice-21"}}
|
530
|
+
[1m[36mHandcart::Subdomain Exists (0.5ms)[0m [1mSELECT 1 AS one FROM `handcart_subdomains` WHERE `handcart_subdomains`.`name` = 'rice-21' LIMIT 1[0m
|
531
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO `handcart_subdomains` (`created_at`, `name`, `updated_at`) VALUES ('2014-02-08 22:18:35', 'rice-21', '2014-02-08 22:18:35')
|
532
|
+
Redirected to http://test.host/handcart/subdomains
|
533
|
+
Completed 302 Found in 5ms (ActiveRecord: 1.0ms)
|
534
|
+
[1m[36m (27.0ms)[0m [1mROLLBACK[0m
|
535
|
+
[1m[35m (0.3ms)[0m BEGIN
|
536
|
+
[1m[36m (0.2ms)[0m [1mCOMMIT[0m
|
537
|
+
[1m[35m (0.2ms)[0m BEGIN
|
538
|
+
Processing by Handcart::SubdomainsController#create as HTML
|
539
|
+
Parameters: {"subdomain"=>{"name"=>"oconnell-22"}}
|
540
|
+
[1m[36mHandcart::Subdomain Exists (0.4ms)[0m [1mSELECT 1 AS one FROM `handcart_subdomains` WHERE `handcart_subdomains`.`name` = 'oconnell-22' LIMIT 1[0m
|
541
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO `handcart_subdomains` (`created_at`, `name`, `updated_at`) VALUES ('2014-02-08 22:18:35', 'oconnell-22', '2014-02-08 22:18:35')
|
542
|
+
Redirected to http://test.host/handcart/subdomains
|
543
|
+
Completed 302 Found in 7ms (ActiveRecord: 0.6ms)
|
544
|
+
[1m[36m (35.3ms)[0m [1mROLLBACK[0m
|
545
|
+
[1m[35m (0.1ms)[0m BEGIN
|
546
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
547
|
+
[1m[35m (0.1ms)[0m BEGIN
|
548
|
+
[1m[36m (0.5ms)[0m [1mSELECT COUNT(*) FROM `handcart_subdomains`[0m
|
549
|
+
Processing by Handcart::SubdomainsController#create as HTML
|
550
|
+
Parameters: {"subdomain"=>{"name"=>"schowalter-23"}}
|
551
|
+
[1m[35mHandcart::Subdomain Exists (0.5ms)[0m SELECT 1 AS one FROM `handcart_subdomains` WHERE `handcart_subdomains`.`name` = 'schowalter-23' LIMIT 1
|
552
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO `handcart_subdomains` (`created_at`, `name`, `updated_at`) VALUES ('2014-02-08 22:18:35', 'schowalter-23', '2014-02-08 22:18:35')[0m
|
553
|
+
Redirected to http://test.host/handcart/subdomains
|
554
|
+
Completed 302 Found in 5ms (ActiveRecord: 0.9ms)
|
555
|
+
[1m[35m (0.4ms)[0m SELECT COUNT(*) FROM `handcart_subdomains`
|
556
|
+
[1m[36m (28.0ms)[0m [1mROLLBACK[0m
|
557
|
+
[1m[35m (0.3ms)[0m BEGIN
|
558
|
+
[1m[36m (0.3ms)[0m [1mCOMMIT[0m
|
559
|
+
[1m[35m (0.2ms)[0m BEGIN
|
560
|
+
[1m[36mHandcart::Subdomain Exists (0.6ms)[0m [1mSELECT 1 AS one FROM `handcart_subdomains` WHERE `handcart_subdomains`.`name` = 'kundelittel-24' LIMIT 1[0m
|
561
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO `handcart_subdomains` (`created_at`, `name`, `updated_at`) VALUES ('2014-02-08 22:18:35', 'kundelittel-24', '2014-02-08 22:18:35')
|
562
|
+
Processing by Handcart::SubdomainsController#update as HTML
|
563
|
+
Parameters: {"subdomain"=>{"name"=>"invalid value"}, "id"=>"43"}
|
564
|
+
[1m[36mHandcart::Subdomain Load (0.2ms)[0m [1mSELECT `handcart_subdomains`.* FROM `handcart_subdomains` WHERE `handcart_subdomains`.`id` = 43 LIMIT 1[0m
|
565
|
+
Completed 200 OK in 3ms (Views: 0.8ms | ActiveRecord: 0.2ms)
|
566
|
+
[1m[35m (33.8ms)[0m ROLLBACK
|
567
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
568
|
+
[1m[35m (0.2ms)[0m COMMIT
|
569
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
570
|
+
[1m[35mHandcart::Subdomain Exists (0.3ms)[0m SELECT 1 AS one FROM `handcart_subdomains` WHERE `handcart_subdomains`.`name` = 'jacobi-25' LIMIT 1
|
571
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO `handcart_subdomains` (`created_at`, `name`, `updated_at`) VALUES ('2014-02-08 22:18:35', 'jacobi-25', '2014-02-08 22:18:35')[0m
|
572
|
+
Processing by Handcart::SubdomainsController#update as HTML
|
573
|
+
Parameters: {"subdomain"=>{"name"=>"invalid value"}, "id"=>"44"}
|
574
|
+
[1m[35mHandcart::Subdomain Load (0.2ms)[0m SELECT `handcart_subdomains`.* FROM `handcart_subdomains` WHERE `handcart_subdomains`.`id` = 44 LIMIT 1
|
575
|
+
Completed 200 OK in 2ms (Views: 0.8ms | ActiveRecord: 0.2ms)
|
576
|
+
[1m[36m (32.5ms)[0m [1mROLLBACK[0m
|
577
|
+
[1m[35m (0.2ms)[0m BEGIN
|
578
|
+
[1m[36m (0.2ms)[0m [1mCOMMIT[0m
|
579
|
+
[1m[35m (0.2ms)[0m BEGIN
|
580
|
+
[1m[36mHandcart::Subdomain Exists (0.5ms)[0m [1mSELECT 1 AS one FROM `handcart_subdomains` WHERE `handcart_subdomains`.`name` = 'prosaccowelch-26' LIMIT 1[0m
|
581
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO `handcart_subdomains` (`created_at`, `name`, `updated_at`) VALUES ('2014-02-08 22:18:35', 'prosaccowelch-26', '2014-02-08 22:18:35')
|
582
|
+
Processing by Handcart::SubdomainsController#update as HTML
|
583
|
+
Parameters: {"subdomain"=>{"name"=>"prosaccowelch-26"}, "id"=>"45"}
|
584
|
+
[1m[36mHandcart::Subdomain Load (0.2ms)[0m [1mSELECT `handcart_subdomains`.* FROM `handcart_subdomains` WHERE `handcart_subdomains`.`id` = 45 LIMIT 1[0m
|
585
|
+
[1m[35mHandcart::Subdomain Exists (0.2ms)[0m SELECT 1 AS one FROM `handcart_subdomains` WHERE (`handcart_subdomains`.`name` = 'prosaccowelch-26' AND `handcart_subdomains`.`id` != 45) LIMIT 1
|
586
|
+
Redirected to http://test.host/handcart/subdomains
|
587
|
+
Completed 302 Found in 3ms (ActiveRecord: 0.5ms)
|
588
|
+
[1m[36m (33.5ms)[0m [1mROLLBACK[0m
|
589
|
+
[1m[35m (0.2ms)[0m BEGIN
|
590
|
+
[1m[36m (0.2ms)[0m [1mCOMMIT[0m
|
591
|
+
[1m[35m (0.2ms)[0m BEGIN
|
592
|
+
[1m[36mHandcart::Subdomain Exists (0.6ms)[0m [1mSELECT 1 AS one FROM `handcart_subdomains` WHERE `handcart_subdomains`.`name` = 'kemmermiller-27' LIMIT 1[0m
|
593
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO `handcart_subdomains` (`created_at`, `name`, `updated_at`) VALUES ('2014-02-08 22:18:35', 'kemmermiller-27', '2014-02-08 22:18:35')
|
594
|
+
Processing by Handcart::SubdomainsController#update as HTML
|
595
|
+
Parameters: {"subdomain"=>{"name"=>"kemmermiller-27"}, "id"=>"46"}
|
596
|
+
[1m[36mHandcart::Subdomain Load (0.6ms)[0m [1mSELECT `handcart_subdomains`.* FROM `handcart_subdomains` WHERE `handcart_subdomains`.`id` = 46 LIMIT 1[0m
|
597
|
+
[1m[35mHandcart::Subdomain Exists (0.6ms)[0m SELECT 1 AS one FROM `handcart_subdomains` WHERE (`handcart_subdomains`.`name` = 'kemmermiller-27' AND `handcart_subdomains`.`id` != 46) LIMIT 1
|
598
|
+
Redirected to http://test.host/handcart/subdomains
|
599
|
+
Completed 302 Found in 7ms (ActiveRecord: 1.2ms)
|
600
|
+
[1m[36m (34.6ms)[0m [1mROLLBACK[0m
|
601
|
+
[1m[35m (0.2ms)[0m BEGIN
|
602
|
+
[1m[36m (0.2ms)[0m [1mCOMMIT[0m
|
603
|
+
[1m[35m (0.2ms)[0m BEGIN
|
604
|
+
[1m[36mHandcart::Subdomain Exists (0.5ms)[0m [1mSELECT 1 AS one FROM `handcart_subdomains` WHERE `handcart_subdomains`.`name` = 'mayertheidenreich-28' LIMIT 1[0m
|
605
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO `handcart_subdomains` (`created_at`, `name`, `updated_at`) VALUES ('2014-02-08 22:18:35', 'mayertheidenreich-28', '2014-02-08 22:18:35')
|
606
|
+
Processing by Handcart::SubdomainsController#update as HTML
|
607
|
+
Parameters: {"subdomain"=>{"name"=>"MyString"}, "id"=>"47"}
|
608
|
+
[1m[36mHandcart::Subdomain Load (0.5ms)[0m [1mSELECT `handcart_subdomains`.* FROM `handcart_subdomains` WHERE `handcart_subdomains`.`id` = 47 LIMIT 1[0m
|
609
|
+
Completed 200 OK in 4ms (Views: 1.5ms | ActiveRecord: 0.5ms)
|
610
|
+
[1m[35m (36.0ms)[0m ROLLBACK
|
611
|
+
[1m[36m (0.3ms)[0m [1mBEGIN[0m
|
612
|
+
[1m[35m (0.2ms)[0m COMMIT
|
613
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
614
|
+
[1m[35mHandcart::Subdomain Exists (0.5ms)[0m SELECT 1 AS one FROM `handcart_subdomains` WHERE `handcart_subdomains`.`name` = 'kertzmann-29' LIMIT 1
|
615
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO `handcart_subdomains` (`created_at`, `name`, `updated_at`) VALUES ('2014-02-08 22:18:35', 'kertzmann-29', '2014-02-08 22:18:35')[0m
|
616
|
+
Processing by Handcart::SubdomainsController#index as HTML
|
617
|
+
Completed 200 OK in 2ms (Views: 1.6ms | ActiveRecord: 0.0ms)
|
618
|
+
[1m[35mHandcart::Subdomain Load (0.4ms)[0m SELECT `handcart_subdomains`.* FROM `handcart_subdomains`
|
619
|
+
[1m[36m (36.1ms)[0m [1mROLLBACK[0m
|
620
|
+
[1m[35m (0.1ms)[0m BEGIN
|
621
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
622
|
+
[1m[35m (0.1ms)[0m BEGIN
|
623
|
+
Processing by Handcart::IpAddressesController#new as HTML
|
624
|
+
Completed 200 OK in 3ms (Views: 2.0ms | ActiveRecord: 0.0ms)
|
625
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
626
|
+
[1m[35m (0.2ms)[0m BEGIN
|
627
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
628
|
+
[1m[35m (0.1ms)[0m BEGIN
|
629
|
+
[1m[36mHandcart::IpAddress Exists (0.6ms)[0m [1mSELECT 1 AS one FROM `handcart_ip_addresses` WHERE `handcart_ip_addresses`.`address` = '139.253.86.22' LIMIT 1[0m
|
630
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO `handcart_ip_addresses` (`address`, `created_at`, `subnet_mask`, `updated_at`) VALUES ('139.253.86.22', '2014-02-08 22:18:35', '255.255.255.0', '2014-02-08 22:18:35')
|
631
|
+
Processing by Handcart::IpAddressesController#show as HTML
|
632
|
+
Parameters: {"id"=>"9"}
|
633
|
+
[1m[36mHandcart::IpAddress Load (0.5ms)[0m [1mSELECT `handcart_ip_addresses`.* FROM `handcart_ip_addresses` WHERE `handcart_ip_addresses`.`id` = 9 LIMIT 1[0m
|
634
|
+
Completed 200 OK in 3ms (Views: 1.5ms | ActiveRecord: 0.5ms)
|
635
|
+
[1m[35m (34.0ms)[0m ROLLBACK
|
636
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
637
|
+
[1m[35m (0.1ms)[0m COMMIT
|
638
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
639
|
+
[1m[35mHandcart::IpAddress Exists (0.3ms)[0m SELECT 1 AS one FROM `handcart_ip_addresses` WHERE `handcart_ip_addresses`.`address` = '106.184.164.121' LIMIT 1
|
640
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO `handcart_ip_addresses` (`address`, `created_at`, `subnet_mask`, `updated_at`) VALUES ('106.184.164.121', '2014-02-08 22:18:35', '255.255.255.0', '2014-02-08 22:18:35')[0m
|
641
|
+
Processing by Handcart::IpAddressesController#destroy as HTML
|
642
|
+
Parameters: {"id"=>"10"}
|
643
|
+
[1m[35mHandcart::IpAddress Load (0.5ms)[0m SELECT `handcart_ip_addresses`.* FROM `handcart_ip_addresses` WHERE `handcart_ip_addresses`.`id` = 10 LIMIT 1
|
644
|
+
[1m[36mSQL (0.4ms)[0m [1mDELETE FROM `handcart_ip_addresses` WHERE `handcart_ip_addresses`.`id` = 10[0m
|
645
|
+
Redirected to http://test.host/handcart/ip_addresses
|
646
|
+
Completed 302 Found in 3ms (ActiveRecord: 0.9ms)
|
647
|
+
[1m[35m (30.1ms)[0m ROLLBACK
|
648
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
649
|
+
[1m[35m (0.1ms)[0m COMMIT
|
650
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
651
|
+
[1m[35mHandcart::IpAddress Exists (0.3ms)[0m SELECT 1 AS one FROM `handcart_ip_addresses` WHERE `handcart_ip_addresses`.`address` = '130.33.33.112' LIMIT 1
|
652
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO `handcart_ip_addresses` (`address`, `created_at`, `subnet_mask`, `updated_at`) VALUES ('130.33.33.112', '2014-02-08 22:18:35', '255.255.255.0', '2014-02-08 22:18:35')[0m
|
653
|
+
[1m[35m (0.3ms)[0m SELECT COUNT(*) FROM `handcart_ip_addresses`
|
654
|
+
Processing by Handcart::IpAddressesController#destroy as HTML
|
655
|
+
Parameters: {"id"=>"11"}
|
656
|
+
[1m[36mHandcart::IpAddress Load (0.4ms)[0m [1mSELECT `handcart_ip_addresses`.* FROM `handcart_ip_addresses` WHERE `handcart_ip_addresses`.`id` = 11 LIMIT 1[0m
|
657
|
+
[1m[35mSQL (0.4ms)[0m DELETE FROM `handcart_ip_addresses` WHERE `handcart_ip_addresses`.`id` = 11
|
658
|
+
Redirected to http://test.host/handcart/ip_addresses
|
659
|
+
Completed 302 Found in 2ms (ActiveRecord: 0.8ms)
|
660
|
+
[1m[36m (0.5ms)[0m [1mSELECT COUNT(*) FROM `handcart_ip_addresses`[0m
|
661
|
+
[1m[35m (36.7ms)[0m ROLLBACK
|
662
|
+
[1m[36m (0.4ms)[0m [1mBEGIN[0m
|
663
|
+
[1m[35m (0.2ms)[0m COMMIT
|
664
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
665
|
+
[1m[35mHandcart::IpAddress Exists (0.5ms)[0m SELECT 1 AS one FROM `handcart_ip_addresses` WHERE `handcart_ip_addresses`.`address` = '74.239.215.64' LIMIT 1
|
666
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO `handcart_ip_addresses` (`address`, `created_at`, `subnet_mask`, `updated_at`) VALUES ('74.239.215.64', '2014-02-08 22:18:35', '255.255.255.0', '2014-02-08 22:18:35')[0m
|
667
|
+
Processing by Handcart::IpAddressesController#edit as HTML
|
668
|
+
Parameters: {"id"=>"12"}
|
669
|
+
[1m[35mHandcart::IpAddress Load (0.2ms)[0m SELECT `handcart_ip_addresses`.* FROM `handcart_ip_addresses` WHERE `handcart_ip_addresses`.`id` = 12 LIMIT 1
|
670
|
+
Completed 200 OK in 2ms (Views: 1.4ms | ActiveRecord: 0.2ms)
|
671
|
+
[1m[36m (34.6ms)[0m [1mROLLBACK[0m
|
672
|
+
[1m[35m (0.2ms)[0m BEGIN
|
673
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
674
|
+
[1m[35m (0.2ms)[0m BEGIN
|
675
|
+
Processing by Handcart::IpAddressesController#create as HTML
|
676
|
+
Parameters: {"ip_address"=>{"address"=>"invalid value"}}
|
677
|
+
Completed 200 OK in 6ms (Views: 2.9ms | ActiveRecord: 0.0ms)
|
678
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
679
|
+
[1m[35m (0.1ms)[0m BEGIN
|
680
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
681
|
+
[1m[35m (0.0ms)[0m BEGIN
|
682
|
+
Processing by Handcart::IpAddressesController#create as HTML
|
683
|
+
Parameters: {"ip_address"=>{"address"=>"invalid value"}}
|
684
|
+
Completed 200 OK in 2ms (Views: 0.8ms | ActiveRecord: 0.0ms)
|
685
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
686
|
+
[1m[35m (0.1ms)[0m BEGIN
|
687
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
688
|
+
[1m[35m (0.1ms)[0m BEGIN
|
689
|
+
Processing by Handcart::IpAddressesController#create as HTML
|
690
|
+
Parameters: {"ip_address"=>{"address"=>"187.181.235.143", "subnet_mask"=>"255.255.255.0", "handcart"=>nil, "blacklisted"=>false}}
|
691
|
+
Unpermitted parameters: handcart
|
692
|
+
[1m[36mHandcart::IpAddress Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `handcart_ip_addresses` WHERE `handcart_ip_addresses`.`address` = '187.181.235.143' LIMIT 1[0m
|
693
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO `handcart_ip_addresses` (`address`, `created_at`, `subnet_mask`, `updated_at`) VALUES ('187.181.235.143', '2014-02-08 22:18:35', '255.255.255.0', '2014-02-08 22:18:35')
|
694
|
+
Redirected to http://test.host/handcart/ip_addresses/13
|
695
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
|
696
|
+
[1m[36mHandcart::IpAddress Load (0.2ms)[0m [1mSELECT `handcart_ip_addresses`.* FROM `handcart_ip_addresses` ORDER BY `handcart_ip_addresses`.`id` DESC LIMIT 1[0m
|
697
|
+
[1m[35m (35.0ms)[0m ROLLBACK
|
698
|
+
[1m[36m (0.3ms)[0m [1mBEGIN[0m
|
699
|
+
[1m[35m (0.2ms)[0m COMMIT
|
700
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
701
|
+
Processing by Handcart::IpAddressesController#create as HTML
|
702
|
+
Parameters: {"ip_address"=>{"address"=>"219.42.121.141", "subnet_mask"=>"255.255.255.0", "handcart"=>nil, "blacklisted"=>false}}
|
703
|
+
Unpermitted parameters: handcart
|
704
|
+
[1m[35mHandcart::IpAddress Exists (0.5ms)[0m SELECT 1 AS one FROM `handcart_ip_addresses` WHERE `handcart_ip_addresses`.`address` = '219.42.121.141' LIMIT 1
|
705
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO `handcart_ip_addresses` (`address`, `created_at`, `subnet_mask`, `updated_at`) VALUES ('219.42.121.141', '2014-02-08 22:18:35', '255.255.255.0', '2014-02-08 22:18:35')[0m
|
706
|
+
Redirected to http://test.host/handcart/ip_addresses/14
|
707
|
+
Completed 302 Found in 7ms (ActiveRecord: 0.9ms)
|
708
|
+
[1m[35m (31.3ms)[0m ROLLBACK
|
709
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
710
|
+
[1m[35m (0.2ms)[0m COMMIT
|
711
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
712
|
+
[1m[35m (0.5ms)[0m SELECT COUNT(*) FROM `handcart_ip_addresses`
|
713
|
+
Processing by Handcart::IpAddressesController#create as HTML
|
714
|
+
Parameters: {"ip_address"=>{"address"=>"240.209.92.187", "subnet_mask"=>"255.255.255.0", "handcart"=>nil, "blacklisted"=>false}}
|
715
|
+
Unpermitted parameters: handcart
|
716
|
+
[1m[36mHandcart::IpAddress Exists (0.5ms)[0m [1mSELECT 1 AS one FROM `handcart_ip_addresses` WHERE `handcart_ip_addresses`.`address` = '240.209.92.187' LIMIT 1[0m
|
717
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO `handcart_ip_addresses` (`address`, `created_at`, `subnet_mask`, `updated_at`) VALUES ('240.209.92.187', '2014-02-08 22:18:36', '255.255.255.0', '2014-02-08 22:18:36')
|
718
|
+
Redirected to http://test.host/handcart/ip_addresses/15
|
719
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.9ms)
|
720
|
+
[1m[36m (0.4ms)[0m [1mSELECT COUNT(*) FROM `handcart_ip_addresses`[0m
|
721
|
+
[1m[35m (31.5ms)[0m ROLLBACK
|
722
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
723
|
+
[1m[35m (0.1ms)[0m COMMIT
|
724
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
725
|
+
[1m[35mHandcart::IpAddress Exists (0.5ms)[0m SELECT 1 AS one FROM `handcart_ip_addresses` WHERE `handcart_ip_addresses`.`address` = '220.161.96.60' LIMIT 1
|
726
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO `handcart_ip_addresses` (`address`, `created_at`, `subnet_mask`, `updated_at`) VALUES ('220.161.96.60', '2014-02-08 22:18:36', '255.255.255.0', '2014-02-08 22:18:36')[0m
|
727
|
+
Processing by Handcart::IpAddressesController#update as HTML
|
728
|
+
Parameters: {"ip_address"=>{"address"=>"invalid value"}, "id"=>"16"}
|
729
|
+
[1m[35mHandcart::IpAddress Load (1.0ms)[0m SELECT `handcart_ip_addresses`.* FROM `handcart_ip_addresses` WHERE `handcart_ip_addresses`.`id` = 16 LIMIT 1
|
730
|
+
Completed 200 OK in 59ms (Views: 55.9ms | ActiveRecord: 1.0ms)
|
731
|
+
[1m[36m (38.5ms)[0m [1mROLLBACK[0m
|
732
|
+
[1m[35m (0.3ms)[0m BEGIN
|
733
|
+
[1m[36m (0.2ms)[0m [1mCOMMIT[0m
|
734
|
+
[1m[35m (0.2ms)[0m BEGIN
|
735
|
+
[1m[36mHandcart::IpAddress Exists (0.5ms)[0m [1mSELECT 1 AS one FROM `handcart_ip_addresses` WHERE `handcart_ip_addresses`.`address` = '253.250.202.78' LIMIT 1[0m
|
736
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO `handcart_ip_addresses` (`address`, `created_at`, `subnet_mask`, `updated_at`) VALUES ('253.250.202.78', '2014-02-08 22:18:36', '255.255.255.0', '2014-02-08 22:18:36')
|
737
|
+
Processing by Handcart::IpAddressesController#update as HTML
|
738
|
+
Parameters: {"ip_address"=>{"address"=>"invalid value"}, "id"=>"17"}
|
739
|
+
[1m[36mHandcart::IpAddress Load (0.2ms)[0m [1mSELECT `handcart_ip_addresses`.* FROM `handcart_ip_addresses` WHERE `handcart_ip_addresses`.`id` = 17 LIMIT 1[0m
|
740
|
+
Completed 200 OK in 2ms (Views: 0.9ms | ActiveRecord: 0.2ms)
|
741
|
+
[1m[35m (30.8ms)[0m ROLLBACK
|
742
|
+
[1m[36m (0.3ms)[0m [1mBEGIN[0m
|
743
|
+
[1m[35m (0.2ms)[0m COMMIT
|
744
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
745
|
+
[1m[35mHandcart::IpAddress Exists (0.3ms)[0m SELECT 1 AS one FROM `handcart_ip_addresses` WHERE `handcart_ip_addresses`.`address` = '169.253.141.219' LIMIT 1
|
746
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO `handcart_ip_addresses` (`address`, `created_at`, `subnet_mask`, `updated_at`) VALUES ('169.253.141.219', '2014-02-08 22:18:36', '255.255.255.0', '2014-02-08 22:18:36')[0m
|
747
|
+
Processing by Handcart::IpAddressesController#update as HTML
|
748
|
+
Parameters: {"ip_address"=>{"address"=>"169.253.141.219", "subnet_mask"=>"255.255.255.0", "handcart"=>nil, "blacklisted"=>false}, "id"=>"18"}
|
749
|
+
[1m[35mHandcart::IpAddress Load (0.6ms)[0m SELECT `handcart_ip_addresses`.* FROM `handcart_ip_addresses` WHERE `handcart_ip_addresses`.`id` = 18 LIMIT 1
|
750
|
+
Unpermitted parameters: handcart
|
751
|
+
[1m[36mHandcart::IpAddress Exists (0.7ms)[0m [1mSELECT 1 AS one FROM `handcart_ip_addresses` WHERE (`handcart_ip_addresses`.`address` = '169.253.141.219' AND `handcart_ip_addresses`.`id` != 18) LIMIT 1[0m
|
752
|
+
Redirected to http://test.host/handcart/ip_addresses/18
|
753
|
+
Completed 302 Found in 13ms (ActiveRecord: 1.3ms)
|
754
|
+
[1m[35m (35.7ms)[0m ROLLBACK
|
755
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
756
|
+
[1m[35m (0.1ms)[0m COMMIT
|
757
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
758
|
+
[1m[35mHandcart::IpAddress Exists (0.4ms)[0m SELECT 1 AS one FROM `handcart_ip_addresses` WHERE `handcart_ip_addresses`.`address` = '92.237.90.155' LIMIT 1
|
759
|
+
[1m[36mSQL (0.6ms)[0m [1mINSERT INTO `handcart_ip_addresses` (`address`, `created_at`, `subnet_mask`, `updated_at`) VALUES ('92.237.90.155', '2014-02-08 22:18:36', '255.255.255.0', '2014-02-08 22:18:36')[0m
|
760
|
+
Processing by Handcart::IpAddressesController#update as HTML
|
761
|
+
Parameters: {"ip_address"=>{"address"=>"92.237.90.155", "subnet_mask"=>"255.255.255.0", "handcart"=>nil, "blacklisted"=>false}, "id"=>"19"}
|
762
|
+
[1m[35mHandcart::IpAddress Load (0.5ms)[0m SELECT `handcart_ip_addresses`.* FROM `handcart_ip_addresses` WHERE `handcart_ip_addresses`.`id` = 19 LIMIT 1
|
763
|
+
Unpermitted parameters: handcart
|
764
|
+
[1m[36mHandcart::IpAddress Exists (0.6ms)[0m [1mSELECT 1 AS one FROM `handcart_ip_addresses` WHERE (`handcart_ip_addresses`.`address` = '92.237.90.155' AND `handcart_ip_addresses`.`id` != 19) LIMIT 1[0m
|
765
|
+
Redirected to http://test.host/handcart/ip_addresses/19
|
766
|
+
Completed 302 Found in 8ms (ActiveRecord: 1.1ms)
|
767
|
+
[1m[35m (38.3ms)[0m ROLLBACK
|
768
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
769
|
+
[1m[35m (0.1ms)[0m COMMIT
|
770
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
771
|
+
[1m[35mHandcart::IpAddress Exists (0.2ms)[0m SELECT 1 AS one FROM `handcart_ip_addresses` WHERE `handcart_ip_addresses`.`address` = '6.95.176.27' LIMIT 1
|
772
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO `handcart_ip_addresses` (`address`, `created_at`, `subnet_mask`, `updated_at`) VALUES ('6.95.176.27', '2014-02-08 22:18:36', '255.255.255.0', '2014-02-08 22:18:36')[0m
|
773
|
+
Processing by Handcart::IpAddressesController#update as HTML
|
774
|
+
Parameters: {"ip_address"=>{"address"=>"MyString"}, "id"=>"20"}
|
775
|
+
[1m[35mHandcart::IpAddress Load (0.2ms)[0m SELECT `handcart_ip_addresses`.* FROM `handcart_ip_addresses` WHERE `handcart_ip_addresses`.`id` = 20 LIMIT 1
|
776
|
+
Completed 200 OK in 3ms (Views: 0.9ms | ActiveRecord: 0.2ms)
|
777
|
+
[1m[36m (36.7ms)[0m [1mROLLBACK[0m
|
778
|
+
[1m[35m (0.1ms)[0m BEGIN
|
779
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
780
|
+
[1m[35m (0.1ms)[0m BEGIN
|
781
|
+
[1m[36mHandcart::IpAddress Exists (0.4ms)[0m [1mSELECT 1 AS one FROM `handcart_ip_addresses` WHERE `handcart_ip_addresses`.`address` = '136.167.82.228' LIMIT 1[0m
|
782
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO `handcart_ip_addresses` (`address`, `created_at`, `subnet_mask`, `updated_at`) VALUES ('136.167.82.228', '2014-02-08 22:18:36', '255.255.255.0', '2014-02-08 22:18:36')
|
783
|
+
Processing by Handcart::IpAddressesController#index as HTML
|
784
|
+
Completed 200 OK in 2ms (Views: 1.4ms | ActiveRecord: 0.0ms)
|
785
|
+
[1m[36mHandcart::IpAddress Load (0.4ms)[0m [1mSELECT `handcart_ip_addresses`.* FROM `handcart_ip_addresses`[0m
|
786
|
+
[1m[35m (32.4ms)[0m ROLLBACK
|