spud_banners 0.9.1.1 → 0.9.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -10,6 +10,7 @@ class SpudBanner < ActiveRecord::Base
10
10
  },
11
11
  :storage => Spud::Banners.paperclip_storage,
12
12
  :s3_credentials => Spud::Banners.s3_credentials,
13
+ :s3_host_name => Spud::Banners.s3_host_name,
13
14
  :url => Spud::Banners.storage_url,
14
15
  :path => Spud::Banners.storage_path
15
16
 
@@ -1,10 +1,11 @@
1
1
  module Spud
2
2
  module Banners
3
3
  include ActiveSupport::Configurable
4
- config_accessor :paperclip_storage, :s3_credentials, :storage_path, :storage_url
4
+ config_accessor :paperclip_storage, :s3_credentials, :storage_path, :storage_url, :s3_host_name
5
5
  self.paperclip_storage = :filesystem
6
6
  self.s3_credentials = "#{Rails.root}/config/s3.yml"
7
7
  self.storage_path = ":rails_root/public/system/spud_banners/:id/:style/:basename.:extension"
8
8
  self.storage_url = "/system/spud_banners/:id/:style/:basename.:extension"
9
+ self.s3_host_name = 's3.amazonaws.com'
9
10
  end
10
11
  end
@@ -1,5 +1,5 @@
1
1
  module Spud
2
2
  module Banners
3
- VERSION = "0.9.1.1"
3
+ VERSION = "0.9.2"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: spud_banners
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.1.1
4
+ version: 0.9.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-01-24 00:00:00.000000000 Z
12
+ date: 2013-07-14 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rails
@@ -281,8 +281,6 @@ files:
281
281
  - spec/dummy/db/migrate/20121127192249_add_scope_to_spud_admin_permissions.spud_core.rb
282
282
  - spec/dummy/db/migrate/20121127192250_create_spud_user_settings.spud_core.rb
283
283
  - spec/dummy/db/schema.rb
284
- - spec/dummy/log/development.log
285
- - spec/dummy/log/test.log
286
284
  - spec/dummy/public/404.html
287
285
  - spec/dummy/public/422.html
288
286
  - spec/dummy/public/500.html
@@ -306,7 +304,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
306
304
  version: '0'
307
305
  segments:
308
306
  - 0
309
- hash: -2157711001818051526
307
+ hash: -668027237374259753
310
308
  required_rubygems_version: !ruby/object:Gem::Requirement
311
309
  none: false
312
310
  requirements:
@@ -315,10 +313,10 @@ required_rubygems_version: !ruby/object:Gem::Requirement
315
313
  version: '0'
316
314
  segments:
317
315
  - 0
318
- hash: -2157711001818051526
316
+ hash: -668027237374259753
319
317
  requirements: []
320
318
  rubyforge_project:
321
- rubygems_version: 1.8.24
319
+ rubygems_version: 1.8.25
322
320
  signing_key:
323
321
  specification_version: 3
324
322
  summary: Banner Management tool for Spud applications.
@@ -351,8 +349,6 @@ test_files:
351
349
  - spec/dummy/db/migrate/20121127192249_add_scope_to_spud_admin_permissions.spud_core.rb
352
350
  - spec/dummy/db/migrate/20121127192250_create_spud_user_settings.spud_core.rb
353
351
  - spec/dummy/db/schema.rb
354
- - spec/dummy/log/development.log
355
- - spec/dummy/log/test.log
356
352
  - spec/dummy/public/404.html
357
353
  - spec/dummy/public/422.html
358
354
  - spec/dummy/public/500.html
@@ -1,53 +0,0 @@
1
- Connecting to database specified by database.yml
2
-  (20.6ms) CREATE TABLE `schema_migrations` (`version` varchar(255) NOT NULL) ENGINE=InnoDB
3
-  (19.3ms) CREATE UNIQUE INDEX `unique_schema_migrations` ON `schema_migrations` (`version`)
4
-  (1.5ms) SELECT `schema_migrations`.`version` FROM `schema_migrations` 
5
- Migrating to CreateSpudBanners (20121116195139)
6
-  (9.8ms) CREATE TABLE `spud_banners` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `spud_banner_set_id` int(11) NOT NULL, `link_to` varchar(255), `link_target` varchar(255) DEFAULT '_self', `title` varchar(255), `alt` varchar(255), `sort_order` int(11) DEFAULT 0, `banner_file_name` varchar(255), `banner_content_type` varchar(255), `banner_file_size` int(11), `banner_updated_at` datetime, `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL) ENGINE=InnoDB
7
-  (14.6ms) CREATE INDEX `index_spud_banners_on_spud_banner_set_id` ON `spud_banners` (`spud_banner_set_id`)
8
-  (0.3ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20121116195139')
9
- Migrating to CreateSpudBannerSets (20121116195312)
10
-  (11.0ms) CREATE TABLE `spud_banner_sets` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `name` varchar(255) NOT NULL, `width` int(11) NOT NULL, `height` int(11) NOT NULL, `cropped` tinyint(1) DEFAULT 1, `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL) ENGINE=InnoDB
11
-  (15.5ms) CREATE UNIQUE INDEX `index_spud_banner_sets_on_name` ON `spud_banner_sets` (`name`)
12
-  (0.3ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20121116195312')
13
- Migrating to CreateSpudAdminPermissions (20121127192246)
14
-  (8.5ms) CREATE TABLE `spud_admin_permissions` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `user_id` int(11), `name` varchar(255), `access` tinyint(1), `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL) ENGINE=InnoDB
15
-  (0.2ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20121127192246')
16
- Migrating to CreateSpudUsers (20121127192247)
17
-  (9.8ms) CREATE TABLE `spud_users` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `first_name` varchar(255), `last_name` varchar(255), `super_admin` tinyint(1), `login` varchar(255) NOT NULL, `email` varchar(255) NOT NULL, `crypted_password` varchar(255) NOT NULL, `password_salt` varchar(255) NOT NULL, `persistence_token` varchar(255) NOT NULL, `single_access_token` varchar(255) NOT NULL, `perishable_token` varchar(255) NOT NULL, `login_count` int(11) DEFAULT 0 NOT NULL, `failed_login_count` int(11) DEFAULT 0 NOT NULL, `last_request_at` datetime, `current_login_at` datetime, `last_login_at` datetime, `current_login_ip` varchar(255), `last_login_ip` varchar(255), `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL) ENGINE=InnoDB
18
-  (11.7ms) CREATE INDEX `index_spud_users_on_login` ON `spud_users` (`login`)
19
-  (11.7ms) CREATE INDEX `index_spud_users_on_email` ON `spud_users` (`email`)
20
-  (0.4ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20121127192247')
21
- Migrating to AddTimeZoneToSpudUser (20121127192248)
22
-  (14.0ms) ALTER TABLE `spud_users` ADD `time_zone` varchar(255)
23
-  (0.3ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20121127192248')
24
- Migrating to AddScopeToSpudAdminPermissions (20121127192249)
25
-  (18.3ms) ALTER TABLE `spud_admin_permissions` ADD `scope` varchar(255)
26
-  (0.3ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20121127192249')
27
- Migrating to CreateSpudUserSettings (20121127192250)
28
-  (8.4ms) CREATE TABLE `spud_user_settings` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `spud_user_id` int(11), `key` varchar(255), `value` varchar(255), `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL) ENGINE=InnoDB
29
-  (0.3ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20121127192250')
30
-  (0.3ms) SELECT `schema_migrations`.`version` FROM `schema_migrations`
31
- Connecting to database specified by database.yml
32
-  (1.5ms) SELECT `schema_migrations`.`version` FROM `schema_migrations` 
33
-  (0.3ms) DROP DATABASE IF EXISTS `spud_banners_test`
34
-  (0.2ms) CREATE DATABASE `spud_banners_test` DEFAULT CHARACTER SET `utf8` COLLATE `utf8_unicode_ci`
35
-  (13.0ms) CREATE TABLE `spud_admin_permissions` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `user_id` int(11), `name` varchar(255), `access` tinyint(1), `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL, `scope` varchar(255)) ENGINE=InnoDB
36
-  (10.7ms) CREATE TABLE `spud_banner_sets` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `name` varchar(255) NOT NULL, `width` int(11) NOT NULL, `height` int(11) NOT NULL, `cropped` tinyint(1) DEFAULT 1, `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL) ENGINE=InnoDB
37
-  (13.7ms) CREATE UNIQUE INDEX `index_spud_banner_sets_on_name` ON `spud_banner_sets` (`name`)
38
-  (9.6ms) CREATE TABLE `spud_banners` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `spud_banner_set_id` int(11) NOT NULL, `link_to` varchar(255), `link_target` varchar(255) DEFAULT '_self', `title` varchar(255), `alt` varchar(255), `sort_order` int(11) DEFAULT 0, `banner_file_name` varchar(255), `banner_content_type` varchar(255), `banner_file_size` int(11), `banner_updated_at` datetime, `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL) ENGINE=InnoDB
39
-  (14.9ms) CREATE INDEX `index_spud_banners_on_spud_banner_set_id` ON `spud_banners` (`spud_banner_set_id`)
40
-  (9.7ms) CREATE TABLE `spud_user_settings` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `spud_user_id` int(11), `key` varchar(255), `value` varchar(255), `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL) ENGINE=InnoDB
41
-  (12.5ms) CREATE TABLE `spud_users` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `first_name` varchar(255), `last_name` varchar(255), `super_admin` tinyint(1), `login` varchar(255) NOT NULL, `email` varchar(255) NOT NULL, `crypted_password` varchar(255) NOT NULL, `password_salt` varchar(255) NOT NULL, `persistence_token` varchar(255) NOT NULL, `single_access_token` varchar(255) NOT NULL, `perishable_token` varchar(255) NOT NULL, `login_count` int(11) DEFAULT 0 NOT NULL, `failed_login_count` int(11) DEFAULT 0 NOT NULL, `last_request_at` datetime, `current_login_at` datetime, `last_login_at` datetime, `current_login_ip` varchar(255), `last_login_ip` varchar(255), `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL, `time_zone` varchar(255)) ENGINE=InnoDB
42
-  (12.4ms) CREATE INDEX `index_spud_users_on_email` ON `spud_users` (`email`)
43
-  (12.2ms) CREATE INDEX `index_spud_users_on_login` ON `spud_users` (`login`)
44
-  (16.0ms) CREATE TABLE `schema_migrations` (`version` varchar(255) NOT NULL) ENGINE=InnoDB
45
-  (15.5ms) CREATE UNIQUE INDEX `unique_schema_migrations` ON `schema_migrations` (`version`)
46
-  (0.1ms) SELECT version FROM `schema_migrations`
47
-  (0.3ms) INSERT INTO `schema_migrations` (version) VALUES ('20121127192250')
48
-  (0.2ms) INSERT INTO `schema_migrations` (version) VALUES ('20121127192246')
49
-  (0.2ms) INSERT INTO `schema_migrations` (version) VALUES ('20121127192247')
50
-  (0.2ms) INSERT INTO `schema_migrations` (version) VALUES ('20121127192248')
51
-  (0.2ms) INSERT INTO `schema_migrations` (version) VALUES ('20121127192249')
52
-  (0.2ms) INSERT INTO `schema_migrations` (version) VALUES ('20121116195139')
53
-  (0.2ms) INSERT INTO `schema_migrations` (version) VALUES ('20121116195312')
@@ -1,959 +0,0 @@
1
- Connecting to database specified by database.yml
2
- Connecting to database specified by database.yml
3
- Mysql2::Error: Table 'spud_banners_test.spud_users' doesn't exist: SHOW FULL FIELDS FROM `spud_users`
4
-  (0.4ms) SELECT @@FOREIGN_KEY_CHECKS
5
-  (0.2ms) SET FOREIGN_KEY_CHECKS = 0
6
-  (0.1ms) SELECT DATABASE() as db
7
-  (1.1ms) select table_name from information_schema.views where table_schema = 'spud_banners_test'
8
-  (0.2ms) SET FOREIGN_KEY_CHECKS = 1
9
-  (0.0ms) BEGIN
10
-  (0.0ms) BEGIN
11
- Mysql2::Error: Table 'spud_banners_test.spud_users' doesn't exist: SHOW FULL FIELDS FROM `spud_users`
12
-  (0.1ms) ROLLBACK
13
-  (0.1ms) ROLLBACK
14
-  (0.0ms) BEGIN
15
-  (0.0ms) BEGIN
16
- Mysql2::Error: Table 'spud_banners_test.spud_users' doesn't exist: SHOW FULL FIELDS FROM `spud_users`
17
-  (0.0ms) ROLLBACK
18
-  (0.0ms) ROLLBACK
19
-  (0.0ms) BEGIN
20
-  (0.0ms) BEGIN
21
- Mysql2::Error: Table 'spud_banners_test.spud_users' doesn't exist: SHOW FULL FIELDS FROM `spud_users`
22
-  (0.1ms) ROLLBACK
23
-  (0.0ms) ROLLBACK
24
-  (0.0ms) BEGIN
25
-  (0.0ms) BEGIN
26
- Mysql2::Error: Table 'spud_banners_test.spud_users' doesn't exist: SHOW FULL FIELDS FROM `spud_users`
27
-  (0.0ms) ROLLBACK
28
-  (0.0ms) ROLLBACK
29
-  (0.0ms) BEGIN
30
-  (0.0ms) BEGIN
31
- Mysql2::Error: Table 'spud_banners_test.spud_users' doesn't exist: SHOW FULL FIELDS FROM `spud_users`
32
-  (0.0ms) ROLLBACK
33
-  (0.0ms) ROLLBACK
34
-  (0.0ms) BEGIN
35
-  (0.0ms) BEGIN
36
- Mysql2::Error: Table 'spud_banners_test.spud_users' doesn't exist: SHOW FULL FIELDS FROM `spud_users`
37
-  (0.0ms) ROLLBACK
38
-  (0.0ms) ROLLBACK
39
-  (0.0ms) BEGIN
40
-  (0.0ms) BEGIN
41
- Mysql2::Error: Table 'spud_banners_test.spud_users' doesn't exist: SHOW FULL FIELDS FROM `spud_users`
42
-  (0.1ms) ROLLBACK
43
-  (0.0ms) ROLLBACK
44
-  (0.0ms) BEGIN
45
-  (0.0ms) BEGIN
46
- Mysql2::Error: Table 'spud_banners_test.spud_users' doesn't exist: SHOW FULL FIELDS FROM `spud_users`
47
-  (0.1ms) ROLLBACK
48
-  (0.0ms) ROLLBACK
49
-  (0.0ms) BEGIN
50
-  (0.1ms) BEGIN
51
- Mysql2::Error: Table 'spud_banners_test.spud_users' doesn't exist: SHOW FULL FIELDS FROM `spud_users`
52
-  (0.0ms) ROLLBACK
53
-  (0.0ms) ROLLBACK
54
-  (0.0ms) BEGIN
55
-  (0.0ms) BEGIN
56
- Mysql2::Error: Table 'spud_banners_test.spud_users' doesn't exist: SHOW FULL FIELDS FROM `spud_users`
57
-  (0.0ms) ROLLBACK
58
-  (0.0ms) ROLLBACK
59
- Connecting to database specified by database.yml
60
-  (0.3ms) SELECT @@FOREIGN_KEY_CHECKS
61
-  (0.2ms) SET FOREIGN_KEY_CHECKS = 0
62
-  (0.1ms) SELECT DATABASE() as db
63
-  (2.4ms) select table_name from information_schema.views where table_schema = 'spud_banners_test'
64
-  (1.2ms) TRUNCATE TABLE `spud_admin_permissions`;
65
-  (1.1ms) TRUNCATE TABLE `spud_banner_sets`;
66
-  (0.9ms) TRUNCATE TABLE `spud_banners`;
67
-  (0.8ms) TRUNCATE TABLE `spud_user_settings`;
68
-  (0.8ms) TRUNCATE TABLE `spud_users`;
69
-  (0.0ms) SET FOREIGN_KEY_CHECKS = 1
70
-  (0.0ms) BEGIN
71
-  (0.0ms) BEGIN
72
-  (0.2ms) SAVEPOINT active_record_2
73
- SpudUser Exists (1.4ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
74
- SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
75
- SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'fd90c37a9762f232afdaa4fabd5c595c1830175d71153c12b2b2363d7d9940be1f91e233b86bf0043d05e42894ca8e7925c746fedd4280ec4460606d467e829a' LIMIT 1
76
- SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'qxlsaCXjbh58NrKAJNB' LIMIT 1
77
- SQL (0.3ms) INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-20 22:58:07', '37f09138c1c1dee54806a0dbb2678e3d87a60a83fcc75d6ef744cf6b613c57b1e59f347a926ffa7b9f21d5edcde04d5baf54c33d7f4f262efc4eace9cffb413a', '2012-12-20 22:58:07', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-20 22:58:07', 'testuser', 1, 'tzCsJB9cQ33eFvUNIf', 'TFyUKalMIJv11VNmYz1', 'fd90c37a9762f232afdaa4fabd5c595c1830175d71153c12b2b2363d7d9940be1f91e233b86bf0043d05e42894ca8e7925c746fedd4280ec4460606d467e829a', 'qxlsaCXjbh58NrKAJNB', 1, NULL, '2012-12-20 22:58:07')
78
-  (0.1ms) RELEASE SAVEPOINT active_record_2
79
-  (0.2ms) SAVEPOINT active_record_2
80
-  (0.2ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-20 22:58:07', `last_login_ip` = '0.0.0.0', `perishable_token` = 'Xa86ul1j2zJe2WK2C5', `updated_at` = '2012-12-20 22:58:07' WHERE `spud_users`.`id` = 1
81
-  (0.0ms) RELEASE SAVEPOINT active_record_2
82
-  (0.2ms) SAVEPOINT active_record_2
83
- SpudBannerSet Exists (0.3ms) SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 1' LIMIT 1
84
- SQL (0.3ms) INSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-12-20 22:58:07', 1, 200, 'Banner Set 1', '2012-12-20 22:58:07', 600)
85
-  (0.2ms) RELEASE SAVEPOINT active_record_2
86
-  (0.1ms) SAVEPOINT active_record_2
87
- SpudBannerSet Exists (0.2ms) SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 2' LIMIT 1
88
- SQL (0.2ms) INSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-12-20 22:58:07', 1, 200, 'Banner Set 2', '2012-12-20 22:58:07', 600)
89
-  (0.1ms) RELEASE SAVEPOINT active_record_2
90
-  (0.1ms) SAVEPOINT active_record_2
91
- SpudBannerSet Exists (0.1ms) SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 3' LIMIT 1
92
- SQL (0.1ms) INSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-12-20 22:58:07', 1, 200, 'Banner Set 3', '2012-12-20 22:58:07', 600)
93
-  (0.1ms) RELEASE SAVEPOINT active_record_2
94
-  (0.1ms) SAVEPOINT active_record_2
95
- SpudBannerSet Exists (0.1ms) SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 4' LIMIT 1
96
- SQL (0.1ms) INSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-12-20 22:58:07', 1, 200, 'Banner Set 4', '2012-12-20 22:58:07', 600)
97
-  (0.1ms) RELEASE SAVEPOINT active_record_2
98
-  (0.0ms) SAVEPOINT active_record_2
99
- SpudBannerSet Exists (0.1ms) SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 5' LIMIT 1
100
- SQL (0.1ms) INSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-12-20 22:58:07', 1, 200, 'Banner Set 5', '2012-12-20 22:58:07', 600)
101
-  (0.1ms) RELEASE SAVEPOINT active_record_2
102
- Processing by Spud::Admin::BannerSetsController#index as HTML
103
- SpudUser Load (0.4ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 1 LIMIT 1
104
- SpudBannerSet Load (0.2ms) SELECT `spud_banner_sets`.* FROM `spud_banner_sets`
105
- Rendered /Users/davydotcom/projects/ruby/engines/spud_banners/app/views/spud/admin/banner_sets/index.html.erb within layouts/spud/admin/detail (1.5ms)
106
- Completed 200 OK in 45ms (Views: 38.6ms | ActiveRecord: 0.6ms)
107
-  (1.4ms) ROLLBACK
108
-  (0.1ms) ROLLBACK
109
-  (0.0ms) BEGIN
110
-  (0.0ms) BEGIN
111
-  (0.1ms) SAVEPOINT active_record_2
112
- SpudUser Exists (0.3ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
113
- SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
114
- SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '9a876a83b7254ee1f54269cf9ea649b4647dcab0ecce4399f8324a59bdbf36603ebb560ddbded215ac912e587b98d1c3fb413739bf136069441ae0684d21ac20' LIMIT 1
115
- SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'MpYAc5zAF3d84MLg3l8I' LIMIT 1
116
- SQL (0.2ms) INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-20 22:58:07', '1f7bb5e73d3f7cf18413e74f24947332cac74a736d3ac37056a1670e632e3d72cefa1d28212ee80fd6453a81952bb3ed55c2d7e93192b0e9941c25b89eee293e', '2012-12-20 22:58:07', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-20 22:58:07', 'testuser', 1, 'rdOJXiIkc5DdINJV35ss', 'Q893t6LkO7dqn82omc9', '9a876a83b7254ee1f54269cf9ea649b4647dcab0ecce4399f8324a59bdbf36603ebb560ddbded215ac912e587b98d1c3fb413739bf136069441ae0684d21ac20', 'MpYAc5zAF3d84MLg3l8I', 1, NULL, '2012-12-20 22:58:07')
117
-  (0.1ms) RELEASE SAVEPOINT active_record_2
118
-  (0.1ms) SAVEPOINT active_record_2
119
-  (0.2ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-20 22:58:07', `last_login_ip` = '0.0.0.0', `perishable_token` = 'bjMZ5bpqhh3FBSbDpM2', `updated_at` = '2012-12-20 22:58:07' WHERE `spud_users`.`id` = 2
120
-  (0.1ms) RELEASE SAVEPOINT active_record_2
121
-  (0.1ms) SAVEPOINT active_record_2
122
- SpudBannerSet Exists (0.1ms) SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 6' LIMIT 1
123
- SQL (0.1ms) INSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-12-20 22:58:07', 1, 200, 'Banner Set 6', '2012-12-20 22:58:07', 600)
124
-  (0.0ms) RELEASE SAVEPOINT active_record_2
125
- Processing by Spud::Admin::BannerSetsController#show as HTML
126
- Parameters: {"id"=>"6"}
127
- SpudUser Load (0.4ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 2 LIMIT 1
128
- Looking for banner set with id: 6
129
- SpudBannerSet Load (0.2ms) SELECT `spud_banner_sets`.* FROM `spud_banner_sets` WHERE `spud_banner_sets`.`id` = 6 LIMIT 1
130
- Completed 200 OK in 5ms (Views: 1.2ms | ActiveRecord: 0.6ms)
131
-  (0.7ms) ROLLBACK
132
-  (0.0ms) ROLLBACK
133
-  (0.0ms) BEGIN
134
-  (0.0ms) BEGIN
135
-  (0.2ms) SAVEPOINT active_record_2
136
- SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
137
- SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
138
- SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '837d592688a9c6a32e1c0073317a8cbdcf2f38eca3bf76c6e1de37b35d99b6e2b7e695dd69934becf5b860bd016ff008c93dfb7b7c3e8561c10380a354b3aa3d' LIMIT 1
139
- SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'vUXk46bOLmk1TgvxOYY' LIMIT 1
140
- SQL (0.3ms) INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-20 22:58:07', '5b1dcd90c87e05d905c0149c11771e95f697c8f8671ee83f32bf1b21f3041e6cd2661524b5508326cc4287d0dfbf32a2da5dc6da7f349ff9d3b351c90eec396a', '2012-12-20 22:58:07', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-20 22:58:07', 'testuser', 1, 'WoXJriGLD75aUG1mygMt', 'o4EloUhy4TRbF6Nlpf', '837d592688a9c6a32e1c0073317a8cbdcf2f38eca3bf76c6e1de37b35d99b6e2b7e695dd69934becf5b860bd016ff008c93dfb7b7c3e8561c10380a354b3aa3d', 'vUXk46bOLmk1TgvxOYY', 1, NULL, '2012-12-20 22:58:07')
141
-  (0.1ms) RELEASE SAVEPOINT active_record_2
142
-  (0.2ms) SAVEPOINT active_record_2
143
-  (0.2ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-20 22:58:07', `last_login_ip` = '0.0.0.0', `perishable_token` = 'yNmOdkfAl4NXb6rm0Q6h', `updated_at` = '2012-12-20 22:58:07' WHERE `spud_users`.`id` = 3
144
-  (0.1ms) RELEASE SAVEPOINT active_record_2
145
- Processing by Spud::Admin::BannerSetsController#show as HTML
146
- Parameters: {"id"=>"-1"}
147
- SpudUser Load (0.3ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 3 LIMIT 1
148
- Looking for banner set with id: -1
149
- SpudBannerSet Load (2.0ms) SELECT `spud_banner_sets`.* FROM `spud_banner_sets` WHERE `spud_banner_sets`.`id` = -1 LIMIT 1
150
- Redirected to http://test.host/spud/admin/banner_sets
151
- Filter chain halted as :get_record rendered or redirected
152
- Completed 302 Found in 6ms (ActiveRecord: 2.4ms)
153
-  (0.4ms) ROLLBACK
154
-  (0.1ms) ROLLBACK
155
-  (0.0ms) BEGIN
156
-  (0.0ms) BEGIN
157
-  (0.2ms) SAVEPOINT active_record_2
158
- SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
159
- SpudUser Exists (0.4ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
160
- SpudUser Exists (0.4ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'fb944b630fa611cd2711598117a3a90047f8f8bdfebd37b078ea79d8ab5701db82e0e8317385d9d2f37c163c4f2ac0e646522e304b5a8944bdf2c4eaa1703d97' LIMIT 1
161
- SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'XmBwqSAopycJ27ZD9auS' LIMIT 1
162
- SQL (0.3ms) INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-20 22:58:07', '35b72c1c62143cda63ca519c8e6cf062a42abbfed9833bb18f0842b9bac931f5f01ed687154727b21f1ac668a4b0427cdafdb222766a632462b831c16e8e1195', '2012-12-20 22:58:07', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-20 22:58:07', 'testuser', 1, 'q2nwyHBbnj8FEguPfaq7', '1kPBTJwD9mU7FXkumU5', 'fb944b630fa611cd2711598117a3a90047f8f8bdfebd37b078ea79d8ab5701db82e0e8317385d9d2f37c163c4f2ac0e646522e304b5a8944bdf2c4eaa1703d97', 'XmBwqSAopycJ27ZD9auS', 1, NULL, '2012-12-20 22:58:07')
163
-  (0.1ms) RELEASE SAVEPOINT active_record_2
164
-  (0.1ms) SAVEPOINT active_record_2
165
-  (0.2ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-20 22:58:07', `last_login_ip` = '0.0.0.0', `perishable_token` = 'xdwVzRIOgZCzi77q3Ztr', `updated_at` = '2012-12-20 22:58:07' WHERE `spud_users`.`id` = 4
166
-  (0.1ms) RELEASE SAVEPOINT active_record_2
167
- Processing by Spud::Admin::BannerSetsController#new as HTML
168
- SpudUser Load (0.3ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 4 LIMIT 1
169
- Completed 200 OK in 5ms (Views: 1.1ms | ActiveRecord: 0.3ms)
170
-  (0.8ms) ROLLBACK
171
-  (0.0ms) ROLLBACK
172
-  (0.0ms) BEGIN
173
-  (0.1ms) BEGIN
174
-  (0.2ms) SAVEPOINT active_record_2
175
- SpudUser Exists (0.3ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
176
- SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
177
- SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '66117064ac91d19b4b426d6cc4b7782c8d3f11dd4e303d11556e7db9f84b9d1a4cc092f39fa274da7df9525ddc19074de50ad64a970b6726d70e47aee441abb5' LIMIT 1
178
- SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'ydRuIwjURCY2AuspgEbR' LIMIT 1
179
- SQL (0.2ms) INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-20 22:58:07', 'b515d91558117387e5ce6bc6d072b6a9c5f30f0bce21fa462135ef8b4bcd8b90710f43b0385d4ff55f93ac6f3557a906e59ee37bc2f9151810dc51639cf03cb6', '2012-12-20 22:58:07', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-20 22:58:07', 'testuser', 1, 'gVAzDzZWX0qut5xJ6Ye', 'lHV38hhiF2igaukwZXcd', '66117064ac91d19b4b426d6cc4b7782c8d3f11dd4e303d11556e7db9f84b9d1a4cc092f39fa274da7df9525ddc19074de50ad64a970b6726d70e47aee441abb5', 'ydRuIwjURCY2AuspgEbR', 1, NULL, '2012-12-20 22:58:07')
180
-  (0.2ms) RELEASE SAVEPOINT active_record_2
181
-  (0.2ms) SAVEPOINT active_record_2
182
-  (0.2ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-20 22:58:07', `last_login_ip` = '0.0.0.0', `perishable_token` = 'zO6hPkb5kDnzvlRdWrj1', `updated_at` = '2012-12-20 22:58:07' WHERE `spud_users`.`id` = 5
183
-  (0.1ms) RELEASE SAVEPOINT active_record_2
184
-  (0.2ms) SELECT COUNT(*) FROM `spud_banner_sets`
185
- Processing by Spud::Admin::BannerSetsController#create as HTML
186
- Parameters: {"spud_banner_set"=>{"name"=>"Banner Set 7", "width"=>"600", "height"=>"200", "cropped"=>true}}
187
- SpudUser Load (0.3ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 5 LIMIT 1
188
-  (0.2ms) SAVEPOINT active_record_2
189
- SpudBannerSet Exists (0.3ms) SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 7' LIMIT 1
190
- SQL (0.3ms) INSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-12-20 22:58:07', 1, 200, 'Banner Set 7', '2012-12-20 22:58:07', 600)
191
-  (0.1ms) RELEASE SAVEPOINT active_record_2
192
- Completed 200 OK in 9ms (Views: 1.2ms | ActiveRecord: 1.2ms)
193
-  (0.3ms) SELECT COUNT(*) FROM `spud_banner_sets`
194
-  (0.5ms) ROLLBACK
195
-  (0.1ms) ROLLBACK
196
-  (0.0ms) BEGIN
197
-  (0.0ms) BEGIN
198
-  (0.1ms) SAVEPOINT active_record_2
199
- SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
200
- SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
201
- SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'd3cc810ab153896b535d8ea5cbdcf5da374075d9cc0ad04093eab65a60bbf366b7ca69961935ac995e1430e515e2811a9c67c70f5a75113bf235e03126ef4377' LIMIT 1
202
- SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'ZnlFIjwbqc9nt5nuVDlc' LIMIT 1
203
- SQL (0.2ms) INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-20 22:58:07', 'eb898eec1d2b111725dd0aff6bca4201a25924d3d63d1b98a9ec82822efcdc09f059a5f6e8d64aae92d70000fecdfd377d511c04c5b50ea032f6216ecd7dbb05', '2012-12-20 22:58:07', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-20 22:58:07', 'testuser', 1, 'qEJZrEfY4mPuQR6yPFob', 'lBsp1yTcxX5D3V90TYyl', 'd3cc810ab153896b535d8ea5cbdcf5da374075d9cc0ad04093eab65a60bbf366b7ca69961935ac995e1430e515e2811a9c67c70f5a75113bf235e03126ef4377', 'ZnlFIjwbqc9nt5nuVDlc', 1, NULL, '2012-12-20 22:58:07')
204
-  (0.1ms) RELEASE SAVEPOINT active_record_2
205
-  (0.1ms) SAVEPOINT active_record_2
206
-  (0.3ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-20 22:58:07', `last_login_ip` = '0.0.0.0', `perishable_token` = 'dbX3yFqLXbIw9P6Hf9B', `updated_at` = '2012-12-20 22:58:07' WHERE `spud_users`.`id` = 6
207
-  (0.1ms) RELEASE SAVEPOINT active_record_2
208
-  (0.1ms) SELECT COUNT(*) FROM `spud_banner_sets` 
209
- Processing by Spud::Admin::BannerSetsController#create as HTML
210
- Parameters: {"spud_banner_set"=>{"name"=>"", "width"=>"lorem", "height"=>"ipsum"}}
211
- SpudUser Load (0.2ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 6 LIMIT 1
212
-  (0.1ms) SAVEPOINT active_record_2
213
- SpudBannerSet Exists (0.2ms) SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY '' LIMIT 1
214
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_2
215
- Completed 422 Unprocessable Entity in 8ms (Views: 0.7ms | ActiveRecord: 0.7ms)
216
-  (0.2ms) SELECT COUNT(*) FROM `spud_banner_sets`
217
-  (0.7ms) ROLLBACK
218
-  (0.0ms) ROLLBACK
219
-  (0.0ms) BEGIN
220
-  (0.1ms) BEGIN
221
-  (0.1ms) SAVEPOINT active_record_2
222
- SpudUser Exists (0.3ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
223
- SpudUser Exists (0.3ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
224
- SpudUser Exists (0.3ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '8c373a0c5ecd745fc9dae3ddcfdf58d95a9ac5da825da81366a04ecb2b70356a1344017aa112c1fe614178d576ed07aa6a8bd95308ce90c351a818c820b353d4' LIMIT 1
225
- SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'kleok62VXHaRxENBt3nr' LIMIT 1
226
- SQL (0.2ms) INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-20 22:58:07', 'b6d20b43e0eae5f3bfb331a8268ac86192cf630e3ed82be9fe1ae96a6ae71dcf2d90a32d8ed62badecb4e6d4b6362f4bea6d6aa863a5df726df5dba8c39f6d2a', '2012-12-20 22:58:07', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-20 22:58:07', 'testuser', 1, 'xEn0DNjNCXzBB6JxvZW0', 'cuwadY69MeGF0Jr1BD8F', '8c373a0c5ecd745fc9dae3ddcfdf58d95a9ac5da825da81366a04ecb2b70356a1344017aa112c1fe614178d576ed07aa6a8bd95308ce90c351a818c820b353d4', 'kleok62VXHaRxENBt3nr', 1, NULL, '2012-12-20 22:58:07')
227
-  (0.1ms) RELEASE SAVEPOINT active_record_2
228
-  (0.1ms) SAVEPOINT active_record_2
229
-  (0.2ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-20 22:58:07', `last_login_ip` = '0.0.0.0', `perishable_token` = 'nIHiD13bIBkhFPn3ipN', `updated_at` = '2012-12-20 22:58:07' WHERE `spud_users`.`id` = 7
230
-  (0.0ms) RELEASE SAVEPOINT active_record_2
231
-  (0.0ms) SAVEPOINT active_record_2
232
- SpudBannerSet Exists (0.2ms) SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 8' LIMIT 1
233
- SQL (0.1ms) INSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-12-20 22:58:07', 1, 200, 'Banner Set 8', '2012-12-20 22:58:07', 600)
234
-  (0.2ms) RELEASE SAVEPOINT active_record_2
235
- Processing by Spud::Admin::BannerSetsController#edit as HTML
236
- Parameters: {"id"=>"8"}
237
- SpudUser Load (0.3ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 7 LIMIT 1
238
- Looking for banner set with id: 8
239
- SpudBannerSet Load (0.4ms) SELECT `spud_banner_sets`.* FROM `spud_banner_sets` WHERE `spud_banner_sets`.`id` = 8 LIMIT 1
240
- Completed 200 OK in 6ms (Views: 1.2ms | ActiveRecord: 0.6ms)
241
-  (0.6ms) ROLLBACK
242
-  (0.1ms) ROLLBACK
243
-  (0.0ms) BEGIN
244
-  (0.0ms) BEGIN
245
-  (0.2ms) SAVEPOINT active_record_2
246
- SpudUser Exists (0.3ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
247
- SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
248
- SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '9f8d5b269afd839d73452cf630986b5f6789addb5ffb3b69723ba2659db49f52490bd695cb671b6ab187eabe4833a6c241822431f38b093321debcad0545920a' LIMIT 1
249
- SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY '7Drlen94qCo1DihqK' LIMIT 1
250
- SQL (0.3ms) INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-20 22:58:07', 'd20cf6d656e1c4105f37ad0b70e881f96f6ef08b89009aa3eb91eb7c96a363be88cbd5a78eb8aa699b84fb2ea57b65bd4a898b1a97b7c43f639b48b109b46e78', '2012-12-20 22:58:07', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-20 22:58:07', 'testuser', 1, 'etSG6ymyR2C7azR0tZl', 'WQsHqnWMrllJ8MEvCEII', '9f8d5b269afd839d73452cf630986b5f6789addb5ffb3b69723ba2659db49f52490bd695cb671b6ab187eabe4833a6c241822431f38b093321debcad0545920a', '7Drlen94qCo1DihqK', 1, NULL, '2012-12-20 22:58:07')
251
-  (0.1ms) RELEASE SAVEPOINT active_record_2
252
-  (0.2ms) SAVEPOINT active_record_2
253
-  (0.3ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-20 22:58:07', `last_login_ip` = '0.0.0.0', `perishable_token` = 'uc0R7ebWbmUWCYhTtnL', `updated_at` = '2012-12-20 22:58:07' WHERE `spud_users`.`id` = 8
254
-  (0.1ms) RELEASE SAVEPOINT active_record_2
255
-  (0.1ms) SAVEPOINT active_record_2
256
- SpudBannerSet Exists (0.2ms) SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 9' LIMIT 1
257
- SQL (0.1ms) INSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-12-20 22:58:07', 1, 200, 'Banner Set 9', '2012-12-20 22:58:07', 600)
258
-  (0.1ms) RELEASE SAVEPOINT active_record_2
259
- Processing by Spud::Admin::BannerSetsController#update as HTML
260
- Parameters: {"spud_banner_set"=>{"name"=>"Updated Set Name"}, "id"=>"9"}
261
- SpudUser Load (0.3ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 8 LIMIT 1
262
- Looking for banner set with id: 9
263
- SpudBannerSet Load (0.3ms) SELECT `spud_banner_sets`.* FROM `spud_banner_sets` WHERE `spud_banner_sets`.`id` = 9 LIMIT 1
264
-  (0.1ms) SAVEPOINT active_record_2
265
- SpudBannerSet Exists (0.3ms) SELECT 1 AS one FROM `spud_banner_sets` WHERE (`spud_banner_sets`.`name` = BINARY 'Updated Set Name' AND `spud_banner_sets`.`id` != 9) LIMIT 1
266
-  (0.2ms) UPDATE `spud_banner_sets` SET `name` = 'Updated Set Name', `updated_at` = '2012-12-20 22:58:07' WHERE `spud_banner_sets`.`id` = 9
267
-  (0.0ms) RELEASE SAVEPOINT active_record_2
268
- SpudBanner Load (0.2ms) SELECT `spud_banners`.* FROM `spud_banners` WHERE `spud_banners`.`spud_banner_set_id` = 9 ORDER BY sort_order asc
269
- Completed 200 OK in 59ms (Views: 0.8ms | ActiveRecord: 3.5ms)
270
- SpudBannerSet Load (0.3ms) SELECT `spud_banner_sets`.* FROM `spud_banner_sets` WHERE `spud_banner_sets`.`id` = 9 LIMIT 1
271
-  (0.8ms) ROLLBACK
272
-  (0.0ms) ROLLBACK
273
-  (0.1ms) BEGIN
274
-  (0.1ms) BEGIN
275
-  (0.2ms) SAVEPOINT active_record_2
276
- SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
277
- SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
278
- SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '055ec63dfcf3011bf323a71d0f6007e934639ec84003bb5126cd30d7b8a38d1805fc018322b004772b9cde88b4a00d4ef9615957919158ed83975036c90c7e2c' LIMIT 1
279
- SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'XmHn4Cr6EOJ2c4xHPMc' LIMIT 1
280
- SQL (0.3ms) INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-20 22:58:07', '419410b104123344594d168fed7dfbb4728668dff1bb553dca73fdad800dc04d77d55baf67c72300c0ecc6edd6440e6997e85eed96d4f3f52f58a2a3b25395e8', '2012-12-20 22:58:07', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-20 22:58:07', 'testuser', 1, 'P1ug1JAtnTi67AqN9oLR', 'Swt2CGThFhubQX3gGkpA', '055ec63dfcf3011bf323a71d0f6007e934639ec84003bb5126cd30d7b8a38d1805fc018322b004772b9cde88b4a00d4ef9615957919158ed83975036c90c7e2c', 'XmHn4Cr6EOJ2c4xHPMc', 1, NULL, '2012-12-20 22:58:07')
281
-  (0.3ms) RELEASE SAVEPOINT active_record_2
282
-  (0.2ms) SAVEPOINT active_record_2
283
-  (0.4ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-20 22:58:07', `last_login_ip` = '0.0.0.0', `perishable_token` = 'mhNCDNKazSfhm7xSqDER', `updated_at` = '2012-12-20 22:58:07' WHERE `spud_users`.`id` = 9
284
-  (0.1ms) RELEASE SAVEPOINT active_record_2
285
-  (0.0ms) SAVEPOINT active_record_2
286
- SpudBannerSet Exists (0.2ms) SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 10' LIMIT 1
287
- SQL (0.1ms) INSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-12-20 22:58:07', 1, 200, 'Banner Set 10', '2012-12-20 22:58:07', 600)
288
-  (0.1ms) RELEASE SAVEPOINT active_record_2
289
-  (0.1ms) SELECT COUNT(*) FROM `spud_banner_sets` 
290
- Processing by Spud::Admin::BannerSetsController#update as HTML
291
- Parameters: {"spud_banner_set"=>{"name"=>"", "width"=>"lorem", "height"=>"ipsum"}, "id"=>"10"}
292
- SpudUser Load (0.3ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 9 LIMIT 1
293
- Looking for banner set with id: 10
294
- SpudBannerSet Load (0.3ms) SELECT `spud_banner_sets`.* FROM `spud_banner_sets` WHERE `spud_banner_sets`.`id` = 10 LIMIT 1
295
-  (0.1ms) SAVEPOINT active_record_2
296
- SpudBannerSet Exists (0.2ms) SELECT 1 AS one FROM `spud_banner_sets` WHERE (`spud_banner_sets`.`name` = BINARY '' AND `spud_banner_sets`.`id` != 10) LIMIT 1
297
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_2
298
- Completed 422 Unprocessable Entity in 8ms (Views: 0.7ms | ActiveRecord: 1.1ms)
299
-  (0.4ms) SELECT COUNT(*) FROM `spud_banner_sets` 
300
-  (3.3ms) ROLLBACK
301
-  (0.2ms) ROLLBACK
302
-  (0.0ms) BEGIN
303
-  (0.0ms) BEGIN
304
-  (0.2ms) SAVEPOINT active_record_2
305
- SpudUser Exists (0.3ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
306
- SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
307
- SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '9784a61e2cdd80e4892ba418847ec30fc1aef7e3931b437dcf3c7d847fd996e1697d20c10773af8e745bb7f67b02f5d78a72ca2815a87ad30dcfca2343f457dc' LIMIT 1
308
- SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'r5KNEJfHAoxo8bTanzl' LIMIT 1
309
- SQL (0.2ms) INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-20 22:58:07', 'b71ec6758e2e00762ecd280cf945e71db02257d04975f5840c25750a4dee69b179cc269022121802ab057925dd72d8a642f3f46b1e679e121ca3e26583c7a429', '2012-12-20 22:58:07', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-20 22:58:07', 'testuser', 1, 'k10muGSM9ZSXn3uX6DNX', 'c3KRQlzX2518xSLRKfCu', '9784a61e2cdd80e4892ba418847ec30fc1aef7e3931b437dcf3c7d847fd996e1697d20c10773af8e745bb7f67b02f5d78a72ca2815a87ad30dcfca2343f457dc', 'r5KNEJfHAoxo8bTanzl', 1, NULL, '2012-12-20 22:58:07')
310
-  (0.1ms) RELEASE SAVEPOINT active_record_2
311
-  (0.2ms) SAVEPOINT active_record_2
312
-  (0.2ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-20 22:58:07', `last_login_ip` = '0.0.0.0', `perishable_token` = 'mZ1Zc6Y1wE0JPkaDoL', `updated_at` = '2012-12-20 22:58:07' WHERE `spud_users`.`id` = 10
313
-  (0.1ms) RELEASE SAVEPOINT active_record_2
314
-  (0.1ms) SAVEPOINT active_record_2
315
- SpudBannerSet Exists (0.2ms) SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 11' LIMIT 1
316
- SQL (0.2ms) INSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-12-20 22:58:07', 1, 200, 'Banner Set 11', '2012-12-20 22:58:07', 600)
317
-  (0.1ms) RELEASE SAVEPOINT active_record_2
318
-  (0.1ms) SELECT COUNT(*) FROM `spud_banner_sets`
319
- Processing by Spud::Admin::BannerSetsController#destroy as HTML
320
- Parameters: {"id"=>"11"}
321
- SpudUser Load (0.3ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 10 LIMIT 1
322
- Looking for banner set with id: 11
323
- SpudBannerSet Load (0.2ms) SELECT `spud_banner_sets`.* FROM `spud_banner_sets` WHERE `spud_banner_sets`.`id` = 11 LIMIT 1
324
-  (0.1ms) SAVEPOINT active_record_2
325
- SpudBanner Load (0.2ms) SELECT `spud_banners`.* FROM `spud_banners` WHERE `spud_banners`.`spud_banner_set_id` = 11 ORDER BY sort_order asc
326
- SQL (0.2ms) DELETE FROM `spud_banner_sets` WHERE `spud_banner_sets`.`id` = 11
327
-  (0.1ms) RELEASE SAVEPOINT active_record_2
328
- Completed 200 OK in 8ms (Views: 1.7ms | ActiveRecord: 1.2ms)
329
-  (0.2ms) SELECT COUNT(*) FROM `spud_banner_sets` 
330
-  (0.6ms) ROLLBACK
331
-  (0.0ms) ROLLBACK
332
- Connecting to database specified by database.yml
333
-  (0.3ms) SELECT @@FOREIGN_KEY_CHECKS
334
-  (0.1ms) SET FOREIGN_KEY_CHECKS = 0
335
-  (0.1ms) SELECT DATABASE() as db
336
-  (0.7ms) select table_name from information_schema.views where table_schema = 'spud_banners_test'
337
-  (0.6ms) TRUNCATE TABLE `spud_admin_permissions`;
338
-  (1.4ms) TRUNCATE TABLE `spud_banner_sets`;
339
-  (0.6ms) TRUNCATE TABLE `spud_banners`;
340
-  (1.3ms) TRUNCATE TABLE `spud_user_settings`;
341
-  (2.6ms) TRUNCATE TABLE `spud_users`;
342
-  (0.1ms) SET FOREIGN_KEY_CHECKS = 1
343
-  (0.0ms) BEGIN
344
-  (0.0ms) BEGIN
345
-  (0.3ms) SAVEPOINT active_record_2
346
- SpudUser Exists (1.4ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
347
- SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
348
- SpudUser Exists (0.3ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '5a96648387bcf221cbce46f5ea0b9c393b3cc11ad3421bede06ad77c38dc7590980a83cfd5148b9923ee90aecb26e1da05134880c1a12951c38329e0dc9e4ebf' LIMIT 1
349
- SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'LZahI8BsLmavKgcor0u' LIMIT 1
350
- SQL (0.4ms) INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-20 23:43:23', '22ac15507b1bc3a0acd049ba4884858412dfb603489063ea16332f1fbb163c127777fc395edc20b643313470705ecdc22f1e65be7a5bb8e752b67691d308791c', '2012-12-20 23:43:23', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-20 23:43:23', 'testuser', 1, 'svv9GFOrWQ6kZdhH1aXk', 'LkESr4wWomYNHlTHSXYm', '5a96648387bcf221cbce46f5ea0b9c393b3cc11ad3421bede06ad77c38dc7590980a83cfd5148b9923ee90aecb26e1da05134880c1a12951c38329e0dc9e4ebf', 'LZahI8BsLmavKgcor0u', 1, NULL, '2012-12-20 23:43:23')
351
-  (0.2ms) RELEASE SAVEPOINT active_record_2
352
-  (0.2ms) SAVEPOINT active_record_2
353
-  (0.3ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-20 23:43:23', `last_login_ip` = '0.0.0.0', `perishable_token` = 'qBduy9vlqbZrNiFbUrl', `updated_at` = '2012-12-20 23:43:23' WHERE `spud_users`.`id` = 1
354
-  (0.2ms) RELEASE SAVEPOINT active_record_2
355
-  (0.6ms) ROLLBACK
356
-  (0.1ms) ROLLBACK
357
-  (0.0ms) BEGIN
358
-  (0.0ms) BEGIN
359
-  (0.0ms) SAVEPOINT active_record_2
360
- SpudUser Exists (0.3ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
361
- SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
362
- SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '9417028c0b18dca57ea0756f2e8411082ac888239ef4e7708e64f4c3cbe1d59839ae03abec88e36d00ab981221e2a3c0fb430b967d941875f41eccdfb624a57e' LIMIT 1
363
- SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'TKjRBFyQ1f0HDsr1q7S' LIMIT 1
364
- SQL (0.3ms) INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-20 23:43:23', 'd57fa7524ee33cc46904e4a1a22e1044ae497961de54a1b342e2afac25ec0ae7c69eea14ddd7d840c8719b67819002e4ffab170ca5cdb6665ae40fc0d6dbf28f', '2012-12-20 23:43:23', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-20 23:43:23', 'testuser', 1, 'RpIREV9pQfo3GNKFzgXC', 'p3TxHUkkpemPCF9jmMtk', '9417028c0b18dca57ea0756f2e8411082ac888239ef4e7708e64f4c3cbe1d59839ae03abec88e36d00ab981221e2a3c0fb430b967d941875f41eccdfb624a57e', 'TKjRBFyQ1f0HDsr1q7S', 1, NULL, '2012-12-20 23:43:23')
365
-  (0.1ms) RELEASE SAVEPOINT active_record_2
366
-  (0.1ms) SAVEPOINT active_record_2
367
-  (0.2ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-20 23:43:23', `last_login_ip` = '0.0.0.0', `perishable_token` = 'Rbcm6wwMYNMwdQbWaa', `updated_at` = '2012-12-20 23:43:23' WHERE `spud_users`.`id` = 2
368
-  (0.1ms) RELEASE SAVEPOINT active_record_2
369
-  (0.4ms) ROLLBACK
370
-  (0.0ms) ROLLBACK
371
-  (0.0ms) BEGIN
372
-  (0.0ms) BEGIN
373
-  (0.1ms) SAVEPOINT active_record_2
374
- SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
375
- SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
376
- SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '055487780e759a385c7549e78af62852fd76a84fd4c17b16e57e08d574e0a1338bc1efbe356bbb1add3b42e3ad4d245ac838963f6f7cb744364498606a4cb73e' LIMIT 1
377
- SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'uFsDtP0wjMAvRFqSRuH3' LIMIT 1
378
- SQL (0.2ms) INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-20 23:43:23', '646bfe23175d9174e8330ae3fb5d0c6a8bf15b6b7504037aba4e1a013c84c8f77f569d62945098a3aa14a8c76970161453643766b90740b16ecb29f13f2b6dc3', '2012-12-20 23:43:23', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-20 23:43:23', 'testuser', 1, 'ABLuDvYY4DfSiFZlhKgJ', 'ZpBZpen7zgIcdp4ygIHH', '055487780e759a385c7549e78af62852fd76a84fd4c17b16e57e08d574e0a1338bc1efbe356bbb1add3b42e3ad4d245ac838963f6f7cb744364498606a4cb73e', 'uFsDtP0wjMAvRFqSRuH3', 1, NULL, '2012-12-20 23:43:23')
379
-  (0.2ms) RELEASE SAVEPOINT active_record_2
380
-  (0.2ms) SAVEPOINT active_record_2
381
-  (0.3ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-20 23:43:23', `last_login_ip` = '0.0.0.0', `perishable_token` = '9WTfWOgkJpbH36w95m', `updated_at` = '2012-12-20 23:43:23' WHERE `spud_users`.`id` = 3
382
-  (0.1ms) RELEASE SAVEPOINT active_record_2
383
- Processing by Spud::Admin::BannerSetsController#show as HTML
384
- Parameters: {"id"=>"-1"}
385
- SpudUser Load (0.3ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 3 LIMIT 1
386
- Looking for banner set with id: -1
387
- SpudBannerSet Load (0.3ms) SELECT `spud_banner_sets`.* FROM `spud_banner_sets` WHERE `spud_banner_sets`.`id` = -1 LIMIT 1
388
- Redirected to http://test.host/spud/admin/banner_sets
389
- Filter chain halted as :get_record rendered or redirected
390
- Completed 302 Found in 6ms (ActiveRecord: 0.6ms)
391
-  (0.5ms) ROLLBACK
392
-  (0.1ms) ROLLBACK
393
-  (0.0ms) BEGIN
394
-  (0.0ms) BEGIN
395
-  (0.1ms) SAVEPOINT active_record_2
396
- SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
397
- SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
398
- SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'b3f12517a53a0437b8ff55994c000776121589495f633f3d2df970b284eb17b091e8f97ff8b83cae5727e18007710abd0d37abaac1a65cc96cb06bced97adad1' LIMIT 1
399
- SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'Ti8dDw9AklKzqJU8FZT4' LIMIT 1
400
- SQL (0.2ms) INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-20 23:43:23', '883fb9be2619ffe51267d26ca80b50d9deff4b0a87fd5540da2b4567d2a48d2040dd16b861040d86a44cba950135427944fc27a67612c4d5738d38768c62b4a3', '2012-12-20 23:43:23', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-20 23:43:23', 'testuser', 1, 'ZB2MlwN2j3H50h8F8X5', 'DfABwaGHDWAbkUYYjp25', 'b3f12517a53a0437b8ff55994c000776121589495f633f3d2df970b284eb17b091e8f97ff8b83cae5727e18007710abd0d37abaac1a65cc96cb06bced97adad1', 'Ti8dDw9AklKzqJU8FZT4', 1, NULL, '2012-12-20 23:43:23')
401
-  (0.1ms) RELEASE SAVEPOINT active_record_2
402
-  (0.1ms) SAVEPOINT active_record_2
403
-  (0.3ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-20 23:43:23', `last_login_ip` = '0.0.0.0', `perishable_token` = 'my1bf3uXBwDZZZwzRvhw', `updated_at` = '2012-12-20 23:43:23' WHERE `spud_users`.`id` = 4
404
-  (0.1ms) RELEASE SAVEPOINT active_record_2
405
- Processing by Spud::Admin::BannerSetsController#new as HTML
406
- SpudUser Load (0.3ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 4 LIMIT 1
407
- Completed 200 OK in 14ms (Views: 9.6ms | ActiveRecord: 0.3ms)
408
-  (6.7ms) ROLLBACK
409
-  (0.1ms) ROLLBACK
410
-  (0.1ms) BEGIN
411
-  (0.1ms) BEGIN
412
-  (0.1ms) SAVEPOINT active_record_2
413
- SpudUser Exists (0.3ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
414
- SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
415
- SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'd3811832b0fffc504b82afc52c0c9dfde86280596d3c8a1d586815fb908520c2a96773a5ed1cb5ff2fc43fa96d92d16e799f957f0dd4c0fd2f87d892f78bd2a7' LIMIT 1
416
- SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'HrKRg434jhplXt3ZZ4F' LIMIT 1
417
- SQL (0.3ms) INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-20 23:43:23', 'd4d7cab4e7788bba5211f9811d582cc42451a34dab02bf5eb3d985a3f0634a0288e3acd3178a7b924c7fb8584370f2a0adab02d4d179ecdb2f3e791314a25937', '2012-12-20 23:43:23', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-20 23:43:23', 'testuser', 1, 'op7M9XXeNWxmdRiKMiEs', 'Wy49HChjBe5jikx688n', 'd3811832b0fffc504b82afc52c0c9dfde86280596d3c8a1d586815fb908520c2a96773a5ed1cb5ff2fc43fa96d92d16e799f957f0dd4c0fd2f87d892f78bd2a7', 'HrKRg434jhplXt3ZZ4F', 1, NULL, '2012-12-20 23:43:23')
418
-  (0.0ms) RELEASE SAVEPOINT active_record_2
419
-  (0.1ms) SAVEPOINT active_record_2
420
-  (0.3ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-20 23:43:23', `last_login_ip` = '0.0.0.0', `perishable_token` = 'gGeuH1SuZUrXoQZtvnrV', `updated_at` = '2012-12-20 23:43:23' WHERE `spud_users`.`id` = 5
421
-  (0.0ms) RELEASE SAVEPOINT active_record_2
422
-  (0.2ms) SELECT COUNT(*) FROM `spud_banner_sets`
423
-  (8.4ms) ROLLBACK
424
-  (0.1ms) ROLLBACK
425
-  (0.1ms) BEGIN
426
-  (0.0ms) BEGIN
427
-  (0.2ms) SAVEPOINT active_record_2
428
- SpudUser Exists (0.4ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
429
- SpudUser Exists (0.3ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
430
- SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '8defcc9618713654b512833339345270b86304fe40839c7c31eb0b98c50bfb98a3882694e2d9dd322639d0bfe9557dafb36b2e9a6d025bcabac26463f33d910d' LIMIT 1
431
- SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY '4Vf3a3vA51mHTntSJec' LIMIT 1
432
- SQL (0.3ms) INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-20 23:43:23', 'f99b2170bf07432ad599e2bf1ac489efa42fab2a7ba2f64130c43fb4daba0ea9be237238c8b949471d5d1befb734b60b093e5a799a03f55d1708f15598488b4c', '2012-12-20 23:43:23', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-20 23:43:23', 'testuser', 1, 'ngy1oMm9CiwVkIr2x3cG', 'uwRgGc75jOl7Dau3qZo', '8defcc9618713654b512833339345270b86304fe40839c7c31eb0b98c50bfb98a3882694e2d9dd322639d0bfe9557dafb36b2e9a6d025bcabac26463f33d910d', '4Vf3a3vA51mHTntSJec', 1, NULL, '2012-12-20 23:43:23')
433
-  (0.0ms) RELEASE SAVEPOINT active_record_2
434
-  (0.1ms) SAVEPOINT active_record_2
435
-  (0.3ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-20 23:43:23', `last_login_ip` = '0.0.0.0', `perishable_token` = 'Zasw4iJzqzRQnPTmuVt', `updated_at` = '2012-12-20 23:43:23' WHERE `spud_users`.`id` = 6
436
-  (0.1ms) RELEASE SAVEPOINT active_record_2
437
-  (0.1ms) SELECT COUNT(*) FROM `spud_banner_sets` 
438
- Processing by Spud::Admin::BannerSetsController#create as HTML
439
- Parameters: {"spud_banner_set"=>{"name"=>"", "width"=>"lorem", "height"=>"ipsum"}}
440
- SpudUser Load (0.3ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 6 LIMIT 1
441
-  (0.1ms) SAVEPOINT active_record_2
442
- SpudBannerSet Exists (0.3ms) SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY '' LIMIT 1
443
-  (0.2ms) ROLLBACK TO SAVEPOINT active_record_2
444
- Completed 422 Unprocessable Entity in 10ms (Views: 0.8ms | ActiveRecord: 0.8ms)
445
-  (0.3ms) SELECT COUNT(*) FROM `spud_banner_sets`
446
-  (0.4ms) ROLLBACK
447
-  (0.1ms) ROLLBACK
448
-  (0.0ms) BEGIN
449
-  (0.1ms) BEGIN
450
-  (0.1ms) SAVEPOINT active_record_2
451
- SpudUser Exists (0.3ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
452
- SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
453
- SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '18728ae710f2d566f8e9d659550c34cc78d49e3a8aed30b31d8ef4d63d31f52255ae20c78172c0c09e7d1985a68fc77052176a12faf4a82985a4a47a307585ff' LIMIT 1
454
- SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'ZSjX22qNmgRMHaktVMP9' LIMIT 1
455
- SQL (0.3ms) INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-20 23:43:23', 'bc89f15ed97efec5f3dca776685884a4469ef32e49b7fdbb6a156842f33beec375dc825700a2aa648f5c5782ff4c7d2c62676c4033199ad8e779a24d558c0d0f', '2012-12-20 23:43:23', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-20 23:43:23', 'testuser', 1, 'wG6qA2Zoc2wNqbniWqJ', 'W4E2Nfp2Exmod0ckyk3', '18728ae710f2d566f8e9d659550c34cc78d49e3a8aed30b31d8ef4d63d31f52255ae20c78172c0c09e7d1985a68fc77052176a12faf4a82985a4a47a307585ff', 'ZSjX22qNmgRMHaktVMP9', 1, NULL, '2012-12-20 23:43:23')
456
-  (0.1ms) RELEASE SAVEPOINT active_record_2
457
-  (0.1ms) SAVEPOINT active_record_2
458
-  (0.2ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-20 23:43:23', `last_login_ip` = '0.0.0.0', `perishable_token` = 'iTdb1kXKWpOes4KVBor9', `updated_at` = '2012-12-20 23:43:23' WHERE `spud_users`.`id` = 7
459
-  (0.1ms) RELEASE SAVEPOINT active_record_2
460
-  (0.4ms) ROLLBACK
461
-  (0.1ms) ROLLBACK
462
-  (0.0ms) BEGIN
463
-  (0.0ms) BEGIN
464
-  (0.1ms) SAVEPOINT active_record_2
465
- SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
466
- SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
467
- SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'd47813e739f98ebc75f1371ca7190c815b5febad3959f93b11c0fe8d6db96be7045b9fb7dd385b4615ac2e0a77918fc7c64c2e6b4edb28dc15905023dbe90076' LIMIT 1
468
- SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'e2WApnPLYtp7oMjE4LZP' LIMIT 1
469
- SQL (0.2ms) INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-20 23:43:23', '9ef81d44c85970d94b1fe33a93e8706bd6de95be07e6d49f52844402dd9be1c590784712236fd041fa14f292023d9cc072f2bd2e4ff320eaef180db3ff1424bc', '2012-12-20 23:43:23', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-20 23:43:23', 'testuser', 1, 'IFFtTrY6HOvpq7ZjGUM9', 'v1BZwkgznMQN8LCgPqP', 'd47813e739f98ebc75f1371ca7190c815b5febad3959f93b11c0fe8d6db96be7045b9fb7dd385b4615ac2e0a77918fc7c64c2e6b4edb28dc15905023dbe90076', 'e2WApnPLYtp7oMjE4LZP', 1, NULL, '2012-12-20 23:43:23')
470
-  (0.0ms) RELEASE SAVEPOINT active_record_2
471
-  (0.1ms) SAVEPOINT active_record_2
472
-  (0.2ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-20 23:43:23', `last_login_ip` = '0.0.0.0', `perishable_token` = 'qm8IY8wLVU1S3ahgfE8', `updated_at` = '2012-12-20 23:43:23' WHERE `spud_users`.`id` = 8
473
-  (0.1ms) RELEASE SAVEPOINT active_record_2
474
-  (0.3ms) ROLLBACK
475
-  (0.1ms) ROLLBACK
476
-  (0.0ms) BEGIN
477
-  (0.0ms) BEGIN
478
-  (0.1ms) SAVEPOINT active_record_2
479
- SpudUser Exists (0.3ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
480
- SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
481
- SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '6b4c3d6c1563bcb9c9f8bec0b85421bcbe7c3629a7d986800da5be8fa0c582def579678322d5b72584736af0ae5201c17f737edf03f9bd81552e1e9830ea3d85' LIMIT 1
482
- SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY '0ThRhGk9Xky7sWsTYK5' LIMIT 1
483
- SQL (0.2ms) INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-20 23:43:23', '6fb81d9bf8de0448edefa7a6a5133b3863acaff22c0b8b076273c8d065879c0e8b19d4daa318a42f8550f11db0204317abb00945dcf80198972b0186857eafe3', '2012-12-20 23:43:23', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-20 23:43:23', 'testuser', 1, 'nGfZBnVqUFq0jftG7BAe', '9aSksPMTb3OmxwJEv', '6b4c3d6c1563bcb9c9f8bec0b85421bcbe7c3629a7d986800da5be8fa0c582def579678322d5b72584736af0ae5201c17f737edf03f9bd81552e1e9830ea3d85', '0ThRhGk9Xky7sWsTYK5', 1, NULL, '2012-12-20 23:43:23')
484
-  (0.1ms) RELEASE SAVEPOINT active_record_2
485
-  (0.1ms) SAVEPOINT active_record_2
486
-  (0.3ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-20 23:43:23', `last_login_ip` = '0.0.0.0', `perishable_token` = 'W6Otc43Q203jVVV5VxiJ', `updated_at` = '2012-12-20 23:43:23' WHERE `spud_users`.`id` = 9
487
-  (0.1ms) RELEASE SAVEPOINT active_record_2
488
-  (0.3ms) ROLLBACK
489
-  (0.1ms) ROLLBACK
490
-  (0.0ms) BEGIN
491
-  (0.0ms) BEGIN
492
-  (0.1ms) SAVEPOINT active_record_2
493
- SpudUser Exists (0.3ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
494
- SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
495
- SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'ca7db2e38055556b01901df26d8a7e589e3a5fcf3aeb4b8433940fbca1558ccc2c8b1f832a8e0ba8105943b0d48bbe18fcf265ac6c290874310206c071bcc698' LIMIT 1
496
- SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'z6hMFzt2sfNbZksdKMih' LIMIT 1
497
- SQL (0.2ms) INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-20 23:43:23', '6c39e65da6929f6bb1b6e92fbac1cec562b459d71cde120679a3ccddcd24c7b3bf203f41e62d3405f30c4bb0b327707377bcc26a6cd1d61541dd1b25e3d844e2', '2012-12-20 23:43:23', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-20 23:43:23', 'testuser', 1, 'nveqB9qum9UASq54U1HM', 'HMQAED0h1UuhrQp4W3v', 'ca7db2e38055556b01901df26d8a7e589e3a5fcf3aeb4b8433940fbca1558ccc2c8b1f832a8e0ba8105943b0d48bbe18fcf265ac6c290874310206c071bcc698', 'z6hMFzt2sfNbZksdKMih', 1, NULL, '2012-12-20 23:43:23')
498
-  (0.1ms) RELEASE SAVEPOINT active_record_2
499
-  (0.1ms) SAVEPOINT active_record_2
500
-  (0.2ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-20 23:43:23', `last_login_ip` = '0.0.0.0', `perishable_token` = 'gT8GWC0XTnY4IpWKvC83', `updated_at` = '2012-12-20 23:43:23' WHERE `spud_users`.`id` = 10
501
-  (0.1ms) RELEASE SAVEPOINT active_record_2
502
-  (0.4ms) ROLLBACK
503
-  (0.0ms) ROLLBACK
504
- Connecting to database specified by database.yml
505
-  (0.1ms) SELECT @@FOREIGN_KEY_CHECKS
506
-  (0.1ms) SET FOREIGN_KEY_CHECKS = 0
507
-  (0.1ms) SELECT DATABASE() as db
508
-  (1.2ms) select table_name from information_schema.views where table_schema = 'spud_banners_test'
509
-  (0.6ms) TRUNCATE TABLE `spud_admin_permissions`;
510
-  (0.5ms) TRUNCATE TABLE `spud_banner_sets`;
511
-  (0.5ms) TRUNCATE TABLE `spud_banners`;
512
-  (0.5ms) TRUNCATE TABLE `spud_user_settings`;
513
-  (0.7ms) TRUNCATE TABLE `spud_users`;
514
-  (0.0ms) SET FOREIGN_KEY_CHECKS = 1
515
-  (0.0ms) BEGIN
516
-  (0.0ms) BEGIN
517
-  (0.2ms) SAVEPOINT active_record_2
518
- SpudUser Exists (1.4ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
519
- SpudUser Exists (0.3ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
520
- SpudUser Exists (0.4ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '386aa08d0493b1757a20d31cc49d67c2f0aaeaa4467f6c60e2863b1fe1146fd60c685fbd164b96fa67741cbf190ebe53bcc87dd567ab76cb49cd94de9998e09d' LIMIT 1
521
- SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'F6XXm8IECvzUGgs2KPcs' LIMIT 1
522
- SQL (0.5ms) INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-20 23:44:54', '1b5ecb7deefe01407c336c42a7c9ca6886007e4cf82a99fd189bb2a93831b62b27d4389439c6f44fd20d80db62d1290a4fc282f299cb4ac4f3f770cf165e1dde', '2012-12-20 23:44:54', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-20 23:44:54', 'testuser', 1, 'l8yb0OjNJJfgbrmrkG4', 'rjFYMgJOv8egbcbOpC', '386aa08d0493b1757a20d31cc49d67c2f0aaeaa4467f6c60e2863b1fe1146fd60c685fbd164b96fa67741cbf190ebe53bcc87dd567ab76cb49cd94de9998e09d', 'F6XXm8IECvzUGgs2KPcs', 1, NULL, '2012-12-20 23:44:54')
523
-  (0.1ms) RELEASE SAVEPOINT active_record_2
524
-  (0.1ms) SAVEPOINT active_record_2
525
-  (0.2ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-20 23:44:54', `last_login_ip` = '0.0.0.0', `perishable_token` = 'YQxeNqe4bgJIY9mC91HF', `updated_at` = '2012-12-20 23:44:54' WHERE `spud_users`.`id` = 1
526
-  (0.0ms) RELEASE SAVEPOINT active_record_2
527
-  (0.5ms) ROLLBACK
528
-  (0.1ms) ROLLBACK
529
-  (0.1ms) BEGIN
530
-  (0.0ms) BEGIN
531
-  (0.1ms) SAVEPOINT active_record_2
532
- SpudUser Exists (0.4ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
533
- SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
534
- SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '4f54177b09038038b290f64a6fc9ca15e24c23f6e1bb7bf1ef11236e6776f2dd4667a0e87e3396f756af4e507421fbcc1571b98d88f757ef3e0be799263d1f8c' LIMIT 1
535
- SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'yog55UMQzx7MhyzczDrq' LIMIT 1
536
- SQL (0.4ms) INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-20 23:44:54', '406d443dd0d1030834c8e771a47b51f6dd50c1418af5a5b8947a68575bce012eb14bf8a23198f2cc34649d739fe3f6aee6cccce1c31aa468466bf70d09e780e8', '2012-12-20 23:44:54', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-20 23:44:54', 'testuser', 1, 'd66idfsx8WYFyXtlEFrC', 'hzcysreSAY6FQ6sAKjXx', '4f54177b09038038b290f64a6fc9ca15e24c23f6e1bb7bf1ef11236e6776f2dd4667a0e87e3396f756af4e507421fbcc1571b98d88f757ef3e0be799263d1f8c', 'yog55UMQzx7MhyzczDrq', 1, NULL, '2012-12-20 23:44:54')
537
-  (0.1ms) RELEASE SAVEPOINT active_record_2
538
-  (0.2ms) SAVEPOINT active_record_2
539
-  (0.3ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-20 23:44:54', `last_login_ip` = '0.0.0.0', `perishable_token` = 'R2WjI3WylFZBv2CrJicP', `updated_at` = '2012-12-20 23:44:54' WHERE `spud_users`.`id` = 2
540
-  (0.1ms) RELEASE SAVEPOINT active_record_2
541
-  (0.4ms) ROLLBACK
542
-  (0.0ms) ROLLBACK
543
-  (0.1ms) BEGIN
544
-  (0.1ms) BEGIN
545
-  (0.1ms) SAVEPOINT active_record_2
546
- SpudUser Exists (0.3ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
547
- SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
548
- SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'beb9c3efb91d656997c49bfa42bf4a73b74fafa368c94a4fa24f2b51e9bc8844b4e9a0c1edf8c059d01ef41fce3c6513cde412a36fb8471638e7eb84fa2af440' LIMIT 1
549
- SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY '1IHWil6iyT3nkzhi0nxt' LIMIT 1
550
- SQL (0.3ms) INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-20 23:44:54', 'eae36c7d72d02d3c815ab74b0a4319e06eda621fe72a7d1142c949895788d626241861c0a749fc0f5055e6da44e271fc52c7d2e50848f2b02645554689742a2a', '2012-12-20 23:44:54', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-20 23:44:54', 'testuser', 1, 'ZIcGBmCdtQmKYAiIvI', 'uBXg4KIsLrfMI6vSyP', 'beb9c3efb91d656997c49bfa42bf4a73b74fafa368c94a4fa24f2b51e9bc8844b4e9a0c1edf8c059d01ef41fce3c6513cde412a36fb8471638e7eb84fa2af440', '1IHWil6iyT3nkzhi0nxt', 1, NULL, '2012-12-20 23:44:54')
551
-  (0.1ms) RELEASE SAVEPOINT active_record_2
552
-  (0.1ms) SAVEPOINT active_record_2
553
-  (0.2ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-20 23:44:54', `last_login_ip` = '0.0.0.0', `perishable_token` = '9cUhBvWHoAfdr4eOyRNx', `updated_at` = '2012-12-20 23:44:54' WHERE `spud_users`.`id` = 3
554
-  (0.1ms) RELEASE SAVEPOINT active_record_2
555
- Processing by Spud::Admin::BannerSetsController#show as HTML
556
- Parameters: {"id"=>"-1"}
557
- SpudUser Load (0.3ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 3 LIMIT 1
558
- Looking for banner set with id: -1
559
- SpudBannerSet Load (0.2ms) SELECT `spud_banner_sets`.* FROM `spud_banner_sets` WHERE `spud_banner_sets`.`id` = -1 LIMIT 1
560
- Redirected to http://test.host/spud/admin/banner_sets
561
- Filter chain halted as :get_record rendered or redirected
562
- Completed 302 Found in 7ms (ActiveRecord: 0.6ms)
563
-  (0.5ms) ROLLBACK
564
-  (0.1ms) ROLLBACK
565
-  (0.0ms) BEGIN
566
-  (0.0ms) BEGIN
567
-  (0.2ms) SAVEPOINT active_record_2
568
- SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
569
- SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
570
- SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '45c2f9adc815d7acf9d706831f140533b51f554d427a4d0fe86482722e214682134bd2a422a7097c442cb1c03a189902ec1aa9524d191eca62aefe9acefe5282' LIMIT 1
571
- SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'EMftPbi51IVKf99nhYdJ' LIMIT 1
572
- SQL (0.3ms) INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-20 23:44:54', '3002ee2cd805d1556345ff0d6ebed9e026ba28f9f3e5f92ed19d29de8c35d1de56b88b742cc5179a27107a02ac055bb28485517687c6957b2480dcf010e027e8', '2012-12-20 23:44:54', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-20 23:44:54', 'testuser', 1, 'n2Hy1pyf5uhG1jFrdH', 'KVgoUJMfizLBcAlEvnW3', '45c2f9adc815d7acf9d706831f140533b51f554d427a4d0fe86482722e214682134bd2a422a7097c442cb1c03a189902ec1aa9524d191eca62aefe9acefe5282', 'EMftPbi51IVKf99nhYdJ', 1, NULL, '2012-12-20 23:44:54')
573
-  (0.1ms) RELEASE SAVEPOINT active_record_2
574
-  (0.2ms) SAVEPOINT active_record_2
575
-  (0.2ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-20 23:44:54', `last_login_ip` = '0.0.0.0', `perishable_token` = 'b70M0YOsVc0htMUPc0yw', `updated_at` = '2012-12-20 23:44:54' WHERE `spud_users`.`id` = 4
576
-  (0.1ms) RELEASE SAVEPOINT active_record_2
577
- Processing by Spud::Admin::BannerSetsController#new as HTML
578
- SpudUser Load (0.3ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 4 LIMIT 1
579
- Completed 200 OK in 11ms (Views: 8.1ms | ActiveRecord: 0.3ms)
580
-  (0.4ms) ROLLBACK
581
-  (0.1ms) ROLLBACK
582
-  (0.1ms) BEGIN
583
-  (0.0ms) BEGIN
584
-  (0.1ms) SAVEPOINT active_record_2
585
- SpudUser Exists (0.3ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
586
- SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
587
- SpudUser Exists (0.4ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '9c33b29c865fa315041d17bd4742d897e849c0a31d5c96c04c85e4413e068ed1d9689860d58860d486b22cfa5d486c1d6fe7de1563a2428a421f3e5e4218e929' LIMIT 1
588
- SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'qHkQtG61mV6alMsOVYKN' LIMIT 1
589
- SQL (0.3ms) INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-20 23:44:54', 'd44b816256f0091fbbc74bd8a5fed4d7ee2f3d29c73b826945fbae952d5a1ec2edfa3a369ba5bdc6c3f8e507030484f1ce95a4dcd60bd0084943eb46045eafde', '2012-12-20 23:44:54', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-20 23:44:54', 'testuser', 1, 'w1wZxuOx4VUECxmImfyA', 'RC8CEi8XraeYZHqnqENi', '9c33b29c865fa315041d17bd4742d897e849c0a31d5c96c04c85e4413e068ed1d9689860d58860d486b22cfa5d486c1d6fe7de1563a2428a421f3e5e4218e929', 'qHkQtG61mV6alMsOVYKN', 1, NULL, '2012-12-20 23:44:54')
590
-  (0.1ms) RELEASE SAVEPOINT active_record_2
591
-  (0.1ms) SAVEPOINT active_record_2
592
-  (0.3ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-20 23:44:54', `last_login_ip` = '0.0.0.0', `perishable_token` = 'GybKjf1bHzCGX2drz0U', `updated_at` = '2012-12-20 23:44:54' WHERE `spud_users`.`id` = 5
593
-  (0.1ms) RELEASE SAVEPOINT active_record_2
594
-  (0.1ms) SELECT COUNT(*) FROM `spud_banner_sets`
595
- Processing by Spud::Admin::BannerSetsController#create as HTML
596
- Parameters: {"spud_banner_set"=>{"name"=>nil, "width"=>"600", "height"=>"200", "cropped"=>true}}
597
- SpudUser Load (0.4ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 5 LIMIT 1
598
-  (0.1ms) SAVEPOINT active_record_2
599
- SpudBannerSet Exists (0.2ms) SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` IS NULL LIMIT 1
600
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_2
601
- Completed 422 Unprocessable Entity in 8ms (Views: 0.7ms | ActiveRecord: 0.8ms)
602
-  (0.2ms) SELECT COUNT(*) FROM `spud_banner_sets` 
603
-  (0.5ms) ROLLBACK
604
-  (0.1ms) ROLLBACK
605
-  (0.1ms) BEGIN
606
-  (0.1ms) BEGIN
607
-  (0.1ms) SAVEPOINT active_record_2
608
- SpudUser Exists (0.3ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
609
- SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
610
- SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '42b71603c94fa768c8468282d1893a282de6fba42004d26d605056c2db885ad3bb4b69db7d1c78efcb52d1d2b0a5e781f26bb20fc20d61b7093e57a38ade1c5c' LIMIT 1
611
- SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'KWsC5EIynuGWRBIfj738' LIMIT 1
612
- SQL (0.3ms) INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-20 23:44:54', '7f4fbee2d9bc8ba39895977f753dbb6922a306e173d4f2f6fafbaf4b4ca03a9ad97f43aa72b53482ef5339b537fc6a3a38cce1f482a263e6b210fe610abea2ce', '2012-12-20 23:44:54', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-20 23:44:54', 'testuser', 1, 'LE9Q7wNiOtCZOVragyZ', 'IzVKkDJRE7aJ3nj5F6', '42b71603c94fa768c8468282d1893a282de6fba42004d26d605056c2db885ad3bb4b69db7d1c78efcb52d1d2b0a5e781f26bb20fc20d61b7093e57a38ade1c5c', 'KWsC5EIynuGWRBIfj738', 1, NULL, '2012-12-20 23:44:54')
613
-  (0.1ms) RELEASE SAVEPOINT active_record_2
614
-  (0.1ms) SAVEPOINT active_record_2
615
-  (0.2ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-20 23:44:54', `last_login_ip` = '0.0.0.0', `perishable_token` = 'lkXfYK3HQd0nc7CqiyQ', `updated_at` = '2012-12-20 23:44:54' WHERE `spud_users`.`id` = 6
616
-  (0.1ms) RELEASE SAVEPOINT active_record_2
617
-  (0.1ms) SELECT COUNT(*) FROM `spud_banner_sets`
618
- Processing by Spud::Admin::BannerSetsController#create as HTML
619
- Parameters: {"spud_banner_set"=>{"name"=>"", "width"=>"lorem", "height"=>"ipsum"}}
620
- SpudUser Load (0.3ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 6 LIMIT 1
621
-  (0.2ms) SAVEPOINT active_record_2
622
- SpudBannerSet Exists (0.2ms) SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY '' LIMIT 1
623
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_2
624
- Completed 422 Unprocessable Entity in 7ms (Views: 0.7ms | ActiveRecord: 0.7ms)
625
-  (0.2ms) SELECT COUNT(*) FROM `spud_banner_sets` 
626
-  (0.4ms) ROLLBACK
627
-  (0.1ms) ROLLBACK
628
-  (0.0ms) BEGIN
629
-  (0.0ms) BEGIN
630
-  (0.2ms) SAVEPOINT active_record_2
631
- SpudUser Exists (0.3ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
632
- SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
633
- SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '2974dcee0f105c5070e9d0ec69febdd43d17a4e1070c1f301316353b1a86a91e0663e2a97800b4e887993a646fd530ed1742d44c44ad0790156664c982ed0b95' LIMIT 1
634
- SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'Zr7unkmbi0IuJIoWNk0' LIMIT 1
635
- SQL (0.3ms) INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-20 23:44:54', 'ffe98958e548a43dfd92279997cf85b060d6515a7e34bdd8b84d0d5674baa693ecdfba314994c703c6894ad038387e5bf23808ec4551fb9a111e8333ec4486af', '2012-12-20 23:44:54', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-20 23:44:54', 'testuser', 1, 'YM4UkgApBf1zo1ofpvkm', '5OkSq4kC4NuFBZ8M63Mw', '2974dcee0f105c5070e9d0ec69febdd43d17a4e1070c1f301316353b1a86a91e0663e2a97800b4e887993a646fd530ed1742d44c44ad0790156664c982ed0b95', 'Zr7unkmbi0IuJIoWNk0', 1, NULL, '2012-12-20 23:44:54')
636
-  (0.2ms) RELEASE SAVEPOINT active_record_2
637
-  (0.2ms) SAVEPOINT active_record_2
638
-  (0.3ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-20 23:44:54', `last_login_ip` = '0.0.0.0', `perishable_token` = 'emSe2Ac90Dlc3Dw2Xvq', `updated_at` = '2012-12-20 23:44:54' WHERE `spud_users`.`id` = 7
639
-  (0.1ms) RELEASE SAVEPOINT active_record_2
640
-  (0.5ms) ROLLBACK
641
-  (0.1ms) ROLLBACK
642
-  (0.1ms) BEGIN
643
-  (0.0ms) BEGIN
644
-  (0.1ms) SAVEPOINT active_record_2
645
- SpudUser Exists (0.4ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
646
- SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
647
- SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '9a5400ab0b11b4fcf146a5512e5a40abc4e5dd5e53be5a0481117f42111b6938b77abd6e850f9c740afe8ee9bf80590ff2195b31653c0b0be6ff79220a9c50a7' LIMIT 1
648
- SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY '8zTqoL9wQtQW16vpWCr' LIMIT 1
649
- SQL (0.3ms) INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-20 23:44:54', 'd1fbbf95813abb36a9c9aace2ab1a0ee2a487651dc7fa1332147320ef085bafaa2ead7d4d3d67f81e1f31719620dc843280eb97f2916cd4768dfe189d080e158', '2012-12-20 23:44:54', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-20 23:44:54', 'testuser', 1, 'd2LyH5k7PZiMfpWjDF', 'NzhyNzhGQoHONvMZ37B', '9a5400ab0b11b4fcf146a5512e5a40abc4e5dd5e53be5a0481117f42111b6938b77abd6e850f9c740afe8ee9bf80590ff2195b31653c0b0be6ff79220a9c50a7', '8zTqoL9wQtQW16vpWCr', 1, NULL, '2012-12-20 23:44:54')
650
-  (0.2ms) RELEASE SAVEPOINT active_record_2
651
-  (0.1ms) SAVEPOINT active_record_2
652
-  (0.3ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-20 23:44:54', `last_login_ip` = '0.0.0.0', `perishable_token` = 'gpzjq4QmAeirWmf3tky', `updated_at` = '2012-12-20 23:44:54' WHERE `spud_users`.`id` = 8
653
-  (0.1ms) RELEASE SAVEPOINT active_record_2
654
-  (0.4ms) ROLLBACK
655
-  (0.0ms) ROLLBACK
656
-  (0.0ms) BEGIN
657
-  (0.0ms) BEGIN
658
-  (0.2ms) SAVEPOINT active_record_2
659
- SpudUser Exists (0.3ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
660
- SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
661
- SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'd2a620253c115f29f9e1dabbfe52d5cbafc8a7dc1becd3fd7c2957e9305b1d06d0dc65218c0e97d1ea7f790421b1f416c7d802cffede9617192600e7ea02355b' LIMIT 1
662
- SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'Ab8k4j7wDCmaxD4PvsVF' LIMIT 1
663
- SQL (0.4ms) INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-20 23:44:54', '01263d1b279ffdf7d9097d08fc729dd0ca0a71108f0e62f9c2a0b9673fea7798219643c1d4bdf316e4a743d243749091641c38a03acc091a603d3004c9d559d6', '2012-12-20 23:44:54', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-20 23:44:54', 'testuser', 1, 'ePPOFmU6ppIykpvRB0Tq', 'hW03MFsYY8oy2q7sT', 'd2a620253c115f29f9e1dabbfe52d5cbafc8a7dc1becd3fd7c2957e9305b1d06d0dc65218c0e97d1ea7f790421b1f416c7d802cffede9617192600e7ea02355b', 'Ab8k4j7wDCmaxD4PvsVF', 1, NULL, '2012-12-20 23:44:54')
664
-  (0.2ms) RELEASE SAVEPOINT active_record_2
665
-  (0.2ms) SAVEPOINT active_record_2
666
-  (0.3ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-20 23:44:54', `last_login_ip` = '0.0.0.0', `perishable_token` = 'W3MGzfWhjW9sPewzQhFH', `updated_at` = '2012-12-20 23:44:54' WHERE `spud_users`.`id` = 9
667
-  (0.1ms) RELEASE SAVEPOINT active_record_2
668
-  (0.4ms) ROLLBACK
669
-  (0.1ms) ROLLBACK
670
-  (0.1ms) BEGIN
671
-  (0.0ms) BEGIN
672
-  (0.2ms) SAVEPOINT active_record_2
673
- SpudUser Exists (0.4ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
674
- SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
675
- SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'fc6225f17bb786c6faa6fc308c8e759ee917d82d7bd06497aacba6c4c470682448cc2b16f2ff27ab4af6f0907b5fc9216a6342519265eab28d328cce24984d1b' LIMIT 1
676
- SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'D2metN8TIdV32ZbOPITr' LIMIT 1
677
- SQL (0.2ms) INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-20 23:44:54', 'ea4555be100d9c133023953548e257544a0e6f15dc8bc5f63e1f24dacfd67cf370d8fa9bd6c89f69da192204ac52c1baaa1faef6a51ad63619ab3803011e5409', '2012-12-20 23:44:54', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-20 23:44:54', 'testuser', 1, '1RQbIak8D1sFpxc9m1vv', '1DK9zb5EAA1kalUO9', 'fc6225f17bb786c6faa6fc308c8e759ee917d82d7bd06497aacba6c4c470682448cc2b16f2ff27ab4af6f0907b5fc9216a6342519265eab28d328cce24984d1b', 'D2metN8TIdV32ZbOPITr', 1, NULL, '2012-12-20 23:44:54')
678
-  (0.1ms) RELEASE SAVEPOINT active_record_2
679
-  (0.2ms) SAVEPOINT active_record_2
680
-  (0.4ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-20 23:44:54', `last_login_ip` = '0.0.0.0', `perishable_token` = 'R6s2X1ILDBOeauKKc0', `updated_at` = '2012-12-20 23:44:54' WHERE `spud_users`.`id` = 10
681
-  (0.1ms) RELEASE SAVEPOINT active_record_2
682
-  (0.6ms) ROLLBACK
683
-  (0.2ms) ROLLBACK
684
- Connecting to database specified by database.yml
685
-  (0.1ms) SELECT @@FOREIGN_KEY_CHECKS
686
-  (0.1ms) SET FOREIGN_KEY_CHECKS = 0
687
-  (0.1ms) SELECT DATABASE() as db
688
-  (2.2ms) select table_name from information_schema.views where table_schema = 'spud_banners_test'
689
-  (0.9ms) TRUNCATE TABLE `spud_admin_permissions`;
690
-  (0.8ms) TRUNCATE TABLE `spud_banner_sets`;
691
-  (0.9ms) TRUNCATE TABLE `spud_banners`;
692
-  (0.7ms) TRUNCATE TABLE `spud_user_settings`;
693
-  (1.1ms) TRUNCATE TABLE `spud_users`;
694
-  (0.1ms) SET FOREIGN_KEY_CHECKS = 1
695
-  (0.1ms) BEGIN
696
-  (0.0ms) BEGIN
697
-  (0.2ms) SAVEPOINT active_record_2
698
- SpudUser Exists (2.4ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
699
- SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
700
- SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '7400314332d02c51e81c69a5e1ca62b2dfb1e6380f71fea9d49952453c790d2314374fbf2138b76efa5c91c78fc62f2eb8949a64fe4bfbfdbd85a185db2bc3b0' LIMIT 1
701
- SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'BAzT2ErpWyk6kBiIUyk' LIMIT 1
702
- SQL (0.3ms) INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-20 23:45:13', '83f63e7e4456087f8701a83e0360d73f7ae31083d8d26da67278f86a387cf54cf081e8e412cf0fcba73454fe15e07e37584bad87a8ddb1c861a254b80a0c4cfe', '2012-12-20 23:45:13', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-20 23:45:13', 'testuser', 1, 'cFeUp7BRXk6HsIOulwfY', 'CkFEmR2TQWeIpBXI3he', '7400314332d02c51e81c69a5e1ca62b2dfb1e6380f71fea9d49952453c790d2314374fbf2138b76efa5c91c78fc62f2eb8949a64fe4bfbfdbd85a185db2bc3b0', 'BAzT2ErpWyk6kBiIUyk', 1, NULL, '2012-12-20 23:45:13')
703
-  (0.1ms) RELEASE SAVEPOINT active_record_2
704
-  (0.1ms) SAVEPOINT active_record_2
705
-  (0.4ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-20 23:45:13', `last_login_ip` = '0.0.0.0', `perishable_token` = 'gWdSqOSbfU7T9t5F65J7', `updated_at` = '2012-12-20 23:45:13' WHERE `spud_users`.`id` = 1
706
-  (0.1ms) RELEASE SAVEPOINT active_record_2
707
-  (0.2ms) SAVEPOINT active_record_2
708
- SpudBannerSet Exists (0.3ms) SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 1' LIMIT 1
709
- SQL (0.2ms) INSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-12-20 23:45:13', 1, 200, 'Banner Set 1', '2012-12-20 23:45:13', 600)
710
-  (0.2ms) RELEASE SAVEPOINT active_record_2
711
-  (0.1ms) SAVEPOINT active_record_2
712
- SpudBannerSet Exists (0.2ms) SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 2' LIMIT 1
713
- SQL (0.2ms) INSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-12-20 23:45:13', 1, 200, 'Banner Set 2', '2012-12-20 23:45:13', 600)
714
-  (0.1ms) RELEASE SAVEPOINT active_record_2
715
-  (0.1ms) SAVEPOINT active_record_2
716
- SpudBannerSet Exists (0.2ms) SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 3' LIMIT 1
717
- SQL (0.2ms) INSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-12-20 23:45:13', 1, 200, 'Banner Set 3', '2012-12-20 23:45:13', 600)
718
-  (0.1ms) RELEASE SAVEPOINT active_record_2
719
-  (0.1ms) SAVEPOINT active_record_2
720
- SpudBannerSet Exists (0.2ms) SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 4' LIMIT 1
721
- SQL (0.2ms) INSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-12-20 23:45:13', 1, 200, 'Banner Set 4', '2012-12-20 23:45:13', 600)
722
-  (0.1ms) RELEASE SAVEPOINT active_record_2
723
-  (0.1ms) SAVEPOINT active_record_2
724
- SpudBannerSet Exists (0.3ms) SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 5' LIMIT 1
725
- SQL (0.2ms) INSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-12-20 23:45:13', 1, 200, 'Banner Set 5', '2012-12-20 23:45:13', 600)
726
-  (0.1ms) RELEASE SAVEPOINT active_record_2
727
- Processing by Spud::Admin::BannerSetsController#index as HTML
728
- SpudUser Load (0.3ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 1 LIMIT 1
729
- SpudBannerSet Load (0.2ms) SELECT `spud_banner_sets`.* FROM `spud_banner_sets`
730
- Rendered /Users/davydotcom/projects/ruby/engines/spud_banners/app/views/spud/admin/banner_sets/index.html.erb within layouts/spud/admin/detail (2.0ms)
731
- Completed 200 OK in 16ms (Views: 10.3ms | ActiveRecord: 0.5ms)
732
-  (0.7ms) ROLLBACK
733
-  (0.0ms) ROLLBACK
734
-  (0.1ms) BEGIN
735
-  (0.1ms) BEGIN
736
-  (0.1ms) SAVEPOINT active_record_2
737
- SpudUser Exists (0.3ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
738
- SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
739
- SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '6f86f0facdd63abeffe7051397dbc8a2af24d11537d9635e851c07f31a16e7774d14bfd0e067ba99c4c578cd4377aaef88b8aba708c663811d1cdfafce531feb' LIMIT 1
740
- SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'W17QCh4R5QnIIwl0vJy' LIMIT 1
741
- SQL (0.3ms) INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-20 23:45:13', 'cec69ca44f049f0f6f1119c02a1f2bbdeec097539cab5b30536873358e2e6473f66bdf56b25a0f243cc8821e4e753e07ea69452a31782c64fe4658fc9c7f7e1c', '2012-12-20 23:45:13', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-20 23:45:13', 'testuser', 1, 's1wv5tUS8KjDUzxFFZ', '08C86w0zcZEf5vKRz9Z', '6f86f0facdd63abeffe7051397dbc8a2af24d11537d9635e851c07f31a16e7774d14bfd0e067ba99c4c578cd4377aaef88b8aba708c663811d1cdfafce531feb', 'W17QCh4R5QnIIwl0vJy', 1, NULL, '2012-12-20 23:45:13')
742
-  (0.1ms) RELEASE SAVEPOINT active_record_2
743
-  (0.1ms) SAVEPOINT active_record_2
744
-  (0.2ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-20 23:45:13', `last_login_ip` = '0.0.0.0', `perishable_token` = '4bK9VDLLwSjanTUC9i1J', `updated_at` = '2012-12-20 23:45:13' WHERE `spud_users`.`id` = 2
745
-  (0.1ms) RELEASE SAVEPOINT active_record_2
746
-  (0.1ms) SAVEPOINT active_record_2
747
- SpudBannerSet Exists (0.2ms) SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 6' LIMIT 1
748
- SQL (0.1ms) INSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-12-20 23:45:13', 1, 200, 'Banner Set 6', '2012-12-20 23:45:13', 600)
749
-  (0.1ms) RELEASE SAVEPOINT active_record_2
750
- Processing by Spud::Admin::BannerSetsController#show as HTML
751
- Parameters: {"id"=>"6"}
752
- SpudUser Load (0.5ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 2 LIMIT 1
753
- Looking for banner set with id: 6
754
- SpudBannerSet Load (0.3ms) SELECT `spud_banner_sets`.* FROM `spud_banner_sets` WHERE `spud_banner_sets`.`id` = 6 LIMIT 1
755
- Completed 200 OK in 6ms (Views: 1.4ms | ActiveRecord: 0.7ms)
756
-  (0.5ms) ROLLBACK
757
-  (0.0ms) ROLLBACK
758
-  (0.0ms) BEGIN
759
-  (0.0ms) BEGIN
760
-  (0.1ms) SAVEPOINT active_record_2
761
- SpudUser Exists (0.3ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
762
- SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
763
- SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '71879bbcc5c27ef2c49b6c039f2b32cd3c8de8b56ea9a960e46b4ccda55c8d8f8abb9110daa12d17eba28a20f2445801031be1e796906bf56efcc208c4643ec0' LIMIT 1
764
- SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'VJcjyWItnG1Y3dP4oWe' LIMIT 1
765
- SQL (0.2ms) INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-20 23:45:13', '15a5d765fbc99de08b79e1badc664761b87b11c1f031ee7f5b3ce92d474630e9d6ece388f7bab1bb28fa7299835e64f1031100f7db0fd9b4c6676437d12bbbc8', '2012-12-20 23:45:13', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-20 23:45:13', 'testuser', 1, 'ZzMPYnpdkZosmZoIaq1', 'G2o90ROa36rp8f4Q0BCr', '71879bbcc5c27ef2c49b6c039f2b32cd3c8de8b56ea9a960e46b4ccda55c8d8f8abb9110daa12d17eba28a20f2445801031be1e796906bf56efcc208c4643ec0', 'VJcjyWItnG1Y3dP4oWe', 1, NULL, '2012-12-20 23:45:13')
766
-  (0.2ms) RELEASE SAVEPOINT active_record_2
767
-  (0.1ms) SAVEPOINT active_record_2
768
-  (0.3ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-20 23:45:13', `last_login_ip` = '0.0.0.0', `perishable_token` = 'VPJmFuLdLU1jnO73AooO', `updated_at` = '2012-12-20 23:45:13' WHERE `spud_users`.`id` = 3
769
-  (0.1ms) RELEASE SAVEPOINT active_record_2
770
- Processing by Spud::Admin::BannerSetsController#show as HTML
771
- Parameters: {"id"=>"-1"}
772
- SpudUser Load (0.3ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 3 LIMIT 1
773
- Looking for banner set with id: -1
774
- SpudBannerSet Load (0.4ms) SELECT `spud_banner_sets`.* FROM `spud_banner_sets` WHERE `spud_banner_sets`.`id` = -1 LIMIT 1
775
- Redirected to http://test.host/spud/admin/banner_sets
776
- Filter chain halted as :get_record rendered or redirected
777
- Completed 302 Found in 4ms (ActiveRecord: 0.7ms)
778
-  (0.7ms) ROLLBACK
779
-  (0.1ms) ROLLBACK
780
-  (0.0ms) BEGIN
781
-  (0.0ms) BEGIN
782
-  (0.2ms) SAVEPOINT active_record_2
783
- SpudUser Exists (0.3ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
784
- SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
785
- SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '1eab0845df7a34fc4af50f7e713ac438cfdc950b3e5a4bc494f0cd116d972679c2cf3a2a8095d1b59257adb4cf57ee7ba0578f68c50e6334bf6eb78171ec5696' LIMIT 1
786
- SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY '4nAoJ424vzZo0begtLgT' LIMIT 1
787
- SQL (0.4ms) INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-20 23:45:13', '09a1bd7a4d184ec45780ab37ebdf0f8d60706f01194dd243a01e16e9c034555a739310b7c368f634593350979910f821da186462585af5d1ab71106daf21cc3e', '2012-12-20 23:45:13', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-20 23:45:13', 'testuser', 1, 'osmTg4xI3TquQUEcifWq', 'Wq1jNM80F0MrNsMOPo', '1eab0845df7a34fc4af50f7e713ac438cfdc950b3e5a4bc494f0cd116d972679c2cf3a2a8095d1b59257adb4cf57ee7ba0578f68c50e6334bf6eb78171ec5696', '4nAoJ424vzZo0begtLgT', 1, NULL, '2012-12-20 23:45:13')
788
-  (0.2ms) RELEASE SAVEPOINT active_record_2
789
-  (0.1ms) SAVEPOINT active_record_2
790
-  (0.3ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-20 23:45:13', `last_login_ip` = '0.0.0.0', `perishable_token` = 'dYrojaBckJXVNlOrZq94', `updated_at` = '2012-12-20 23:45:13' WHERE `spud_users`.`id` = 4
791
-  (0.1ms) RELEASE SAVEPOINT active_record_2
792
- Processing by Spud::Admin::BannerSetsController#new as HTML
793
- SpudUser Load (0.3ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 4 LIMIT 1
794
- Completed 200 OK in 4ms (Views: 1.1ms | ActiveRecord: 0.3ms)
795
-  (0.4ms) ROLLBACK
796
-  (0.0ms) ROLLBACK
797
-  (0.1ms) BEGIN
798
-  (0.0ms) BEGIN
799
-  (0.2ms) SAVEPOINT active_record_2
800
- SpudUser Exists (0.3ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
801
- SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
802
- SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'b936a2f15b918b2469e7647bf3021d024111e03c435b073a4657c431ce281bb840ca858bada1270e48aa3678662a8986225d5c519973fa472b32cd1997592443' LIMIT 1
803
- SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'buzQsrEI6WdK7lt5aQi' LIMIT 1
804
- SQL (0.3ms) INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-20 23:45:13', '38434a33d6a96f887d165e9722d9a6f51f2cc95f13fd63b2f68f0bf34de46dd5250536dc01b9ed256823b52c67efd7ad4752765e733dc6f41ca5af291c228a5a', '2012-12-20 23:45:13', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-20 23:45:13', 'testuser', 1, 'uWj6BauUGHySlDpD4y', 'fNbDMgBCslOrgpirkxpe', 'b936a2f15b918b2469e7647bf3021d024111e03c435b073a4657c431ce281bb840ca858bada1270e48aa3678662a8986225d5c519973fa472b32cd1997592443', 'buzQsrEI6WdK7lt5aQi', 1, NULL, '2012-12-20 23:45:13')
805
-  (0.1ms) RELEASE SAVEPOINT active_record_2
806
-  (0.2ms) SAVEPOINT active_record_2
807
-  (0.3ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-20 23:45:13', `last_login_ip` = '0.0.0.0', `perishable_token` = 'eIoAdjtgW6S6qbcUJzX', `updated_at` = '2012-12-20 23:45:13' WHERE `spud_users`.`id` = 5
808
-  (0.1ms) RELEASE SAVEPOINT active_record_2
809
-  (0.1ms) SELECT COUNT(*) FROM `spud_banner_sets`
810
- Processing by Spud::Admin::BannerSetsController#create as HTML
811
- Parameters: {"spud_banner_set"=>{"name"=>"Banner Set 7", "width"=>"600", "height"=>"200", "cropped"=>true}}
812
- SpudUser Load (0.3ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 5 LIMIT 1
813
-  (0.2ms) SAVEPOINT active_record_2
814
- SpudBannerSet Exists (0.3ms) SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 7' LIMIT 1
815
- SQL (0.2ms) INSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-12-20 23:45:13', 1, 200, 'Banner Set 7', '2012-12-20 23:45:13', 600)
816
-  (0.1ms) RELEASE SAVEPOINT active_record_2
817
- Completed 200 OK in 8ms (Views: 1.3ms | ActiveRecord: 1.0ms)
818
-  (0.2ms) SELECT COUNT(*) FROM `spud_banner_sets`
819
-  (0.3ms) ROLLBACK
820
-  (0.0ms) ROLLBACK
821
-  (0.0ms) BEGIN
822
-  (0.0ms) BEGIN
823
-  (0.2ms) SAVEPOINT active_record_2
824
- SpudUser Exists (0.3ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
825
- SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
826
- SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'f62dfbe0bd1814e8a5b7d67f85d67b6030df785638904ef84c36945738c25a862007872ffebb7494003920678e47b60bd8239f8ac20412f431efddc899139813' LIMIT 1
827
- SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'qIYwlbeRYqSer7DBEFR' LIMIT 1
828
- SQL (0.3ms) INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-20 23:45:13', 'bacdf55e2336ca781daa3e734aa2ebab1fcaf4839e50e761bcacc3e47489eab436b7f9ad160dd39602d712d6c93fad8f195fa2c048a5444e50d5b252312a07d0', '2012-12-20 23:45:13', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-20 23:45:13', 'testuser', 1, 'cujMRegIx5R6D4CxHVH', 'eHJUoeGjc99W6gzm1YX', 'f62dfbe0bd1814e8a5b7d67f85d67b6030df785638904ef84c36945738c25a862007872ffebb7494003920678e47b60bd8239f8ac20412f431efddc899139813', 'qIYwlbeRYqSer7DBEFR', 1, NULL, '2012-12-20 23:45:13')
829
-  (0.0ms) RELEASE SAVEPOINT active_record_2
830
-  (0.2ms) SAVEPOINT active_record_2
831
-  (0.4ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-20 23:45:13', `last_login_ip` = '0.0.0.0', `perishable_token` = 'iG6tSj4OVZWqvm3L36Mf', `updated_at` = '2012-12-20 23:45:14' WHERE `spud_users`.`id` = 6
832
-  (0.2ms) RELEASE SAVEPOINT active_record_2
833
-  (0.2ms) SELECT COUNT(*) FROM `spud_banner_sets` 
834
- Processing by Spud::Admin::BannerSetsController#create as HTML
835
- Parameters: {"spud_banner_set"=>{"name"=>"", "width"=>"lorem", "height"=>"ipsum"}}
836
- SpudUser Load (0.4ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 6 LIMIT 1
837
-  (0.2ms) SAVEPOINT active_record_2
838
-  (0.3ms) UPDATE `spud_users` SET `last_request_at` = '2012-12-20 23:45:14', `perishable_token` = 'RNM2qoyYc3KTmH5jjie', `updated_at` = '2012-12-20 23:45:14' WHERE `spud_users`.`id` = 6
839
-  (0.2ms) RELEASE SAVEPOINT active_record_2
840
-  (0.1ms) SAVEPOINT active_record_2
841
- SpudBannerSet Exists (0.3ms) SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY '' LIMIT 1
842
-  (0.2ms) ROLLBACK TO SAVEPOINT active_record_2
843
- Completed 422 Unprocessable Entity in 11ms (Views: 0.7ms | ActiveRecord: 1.8ms)
844
-  (0.2ms) SELECT COUNT(*) FROM `spud_banner_sets` 
845
-  (0.6ms) ROLLBACK
846
-  (0.0ms) ROLLBACK
847
-  (0.0ms) BEGIN
848
-  (0.0ms) BEGIN
849
-  (0.1ms) SAVEPOINT active_record_2
850
- SpudUser Exists (0.4ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
851
- SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
852
- SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'e0db6baac2401111748b6d8aa225305c94b7eeee563dddd6c71f3571aa3d26ce5f3bd9ab5e0666fe264c2ffd92ded569b452e2d39c38ad3ec427f8e93876535d' LIMIT 1
853
- SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'aG8PruBEXZwJUL12yec' LIMIT 1
854
- SQL (0.3ms) INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-20 23:45:14', 'ce5af1ec73a8618c4c84d16878adb2e1e4c39c8869069a75aa776dbc2c2fef143b0c37dd8d15c7f69870a1056d0033e2dc356d0ff871d1efde9638b30e072b90', '2012-12-20 23:45:14', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-20 23:45:14', 'testuser', 1, 'wrl8cltOsuQ9NcKxISjd', 'Ipl4iP5y9DiZLn73UdiG', 'e0db6baac2401111748b6d8aa225305c94b7eeee563dddd6c71f3571aa3d26ce5f3bd9ab5e0666fe264c2ffd92ded569b452e2d39c38ad3ec427f8e93876535d', 'aG8PruBEXZwJUL12yec', 1, NULL, '2012-12-20 23:45:14')
855
-  (0.2ms) RELEASE SAVEPOINT active_record_2
856
-  (0.1ms) SAVEPOINT active_record_2
857
-  (0.3ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-20 23:45:14', `last_login_ip` = '0.0.0.0', `perishable_token` = '1HPxnym2vmp8ZyLRPmW', `updated_at` = '2012-12-20 23:45:14' WHERE `spud_users`.`id` = 7
858
-  (0.1ms) RELEASE SAVEPOINT active_record_2
859
-  (0.1ms) SAVEPOINT active_record_2
860
- SpudBannerSet Exists (0.2ms) SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 8' LIMIT 1
861
- SQL (0.1ms) INSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-12-20 23:45:14', 1, 200, 'Banner Set 8', '2012-12-20 23:45:14', 600)
862
-  (0.1ms) RELEASE SAVEPOINT active_record_2
863
- Processing by Spud::Admin::BannerSetsController#edit as HTML
864
- Parameters: {"id"=>"8"}
865
- SpudUser Load (0.3ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 7 LIMIT 1
866
- Looking for banner set with id: 8
867
- SpudBannerSet Load (0.3ms) SELECT `spud_banner_sets`.* FROM `spud_banner_sets` WHERE `spud_banner_sets`.`id` = 8 LIMIT 1
868
- Completed 200 OK in 5ms (Views: 1.2ms | ActiveRecord: 0.6ms)
869
-  (0.5ms) ROLLBACK
870
-  (0.1ms) ROLLBACK
871
-  (0.0ms) BEGIN
872
-  (0.1ms) BEGIN
873
-  (0.1ms) SAVEPOINT active_record_2
874
- SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
875
- SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
876
- SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '41b02b9bfae8a5f59978bef77b79166c1caedbe41f524e795e4b93c5b6ac4d1c9f19b609ab8b992966cf9c20277f610e0a534ccd7284ebaf9256eb73825bd7fc' LIMIT 1
877
- SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'tzxvqYn8WED2aOsMkj1' LIMIT 1
878
- SQL (0.3ms) INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-20 23:45:14', '914d78325455a6cecace8eb91f430b50431069463be62451b09baf48a6e1f396b940dd5c4cd9a0ba5cd4b52fc22cd74e72cc1edb3e1f81c93a3406a37aad74f2', '2012-12-20 23:45:14', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-20 23:45:14', 'testuser', 1, 'kI61HRSd7i6PeyB1eP9', 'mFRe64gEYeh5DPNmROBc', '41b02b9bfae8a5f59978bef77b79166c1caedbe41f524e795e4b93c5b6ac4d1c9f19b609ab8b992966cf9c20277f610e0a534ccd7284ebaf9256eb73825bd7fc', 'tzxvqYn8WED2aOsMkj1', 1, NULL, '2012-12-20 23:45:14')
879
-  (0.1ms) RELEASE SAVEPOINT active_record_2
880
-  (0.2ms) SAVEPOINT active_record_2
881
-  (0.3ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-20 23:45:14', `last_login_ip` = '0.0.0.0', `perishable_token` = 'fywvBOAjbIp95cK0D', `updated_at` = '2012-12-20 23:45:14' WHERE `spud_users`.`id` = 8
882
-  (0.1ms) RELEASE SAVEPOINT active_record_2
883
-  (0.1ms) SAVEPOINT active_record_2
884
- SpudBannerSet Exists (0.3ms) SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 9' LIMIT 1
885
- SQL (0.2ms) INSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-12-20 23:45:14', 1, 200, 'Banner Set 9', '2012-12-20 23:45:14', 600)
886
-  (0.2ms) RELEASE SAVEPOINT active_record_2
887
- Processing by Spud::Admin::BannerSetsController#update as HTML
888
- Parameters: {"spud_banner_set"=>{"name"=>"Updated Set Name"}, "id"=>"9"}
889
- SpudUser Load (0.4ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 8 LIMIT 1
890
- Looking for banner set with id: 9
891
- SpudBannerSet Load (0.2ms) SELECT `spud_banner_sets`.* FROM `spud_banner_sets` WHERE `spud_banner_sets`.`id` = 9 LIMIT 1
892
-  (0.1ms) SAVEPOINT active_record_2
893
- SpudBannerSet Exists (0.3ms) SELECT 1 AS one FROM `spud_banner_sets` WHERE (`spud_banner_sets`.`name` = BINARY 'Updated Set Name' AND `spud_banner_sets`.`id` != 9) LIMIT 1
894
-  (0.2ms) UPDATE `spud_banner_sets` SET `name` = 'Updated Set Name', `updated_at` = '2012-12-20 23:45:14' WHERE `spud_banner_sets`.`id` = 9
895
-  (0.1ms) RELEASE SAVEPOINT active_record_2
896
- SpudBanner Load (0.2ms) SELECT `spud_banners`.* FROM `spud_banners` WHERE `spud_banners`.`spud_banner_set_id` = 9 ORDER BY sort_order asc
897
- Completed 200 OK in 24ms (Views: 0.7ms | ActiveRecord: 3.5ms)
898
- SpudBannerSet Load (0.3ms) SELECT `spud_banner_sets`.* FROM `spud_banner_sets` WHERE `spud_banner_sets`.`id` = 9 LIMIT 1
899
-  (0.6ms) ROLLBACK
900
-  (0.0ms) ROLLBACK
901
-  (0.0ms) BEGIN
902
-  (0.0ms) BEGIN
903
-  (0.2ms) SAVEPOINT active_record_2
904
- SpudUser Exists (0.4ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
905
- SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
906
- SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'b293c08b2b6580c7ee1d1dd530774e36fbac7e6b9141b762dcd67b3c486ac6e1c6446f9f43598afbef0c22d5182f516825b4da0378725ae9a04c9c56bbfe373b' LIMIT 1
907
- SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'K4bbYc4rBXPIYzkA3I' LIMIT 1
908
- SQL (0.2ms) INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-20 23:45:14', '07846979c4b549c4e54854518862132c496a6124f67e2d4eae8c5a53dd8b757ef3d3bed9cf62c2e2e3a7e712aaf4129ec2b036cc28410123b0644e31ba8978b0', '2012-12-20 23:45:14', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-20 23:45:14', 'testuser', 1, 'vDdHYegPKcpYMuQ1Cli', 'AUeMGqkmYKAciBjiDzT', 'b293c08b2b6580c7ee1d1dd530774e36fbac7e6b9141b762dcd67b3c486ac6e1c6446f9f43598afbef0c22d5182f516825b4da0378725ae9a04c9c56bbfe373b', 'K4bbYc4rBXPIYzkA3I', 1, NULL, '2012-12-20 23:45:14')
909
-  (0.0ms) RELEASE SAVEPOINT active_record_2
910
-  (0.1ms) SAVEPOINT active_record_2
911
-  (0.2ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-20 23:45:14', `last_login_ip` = '0.0.0.0', `perishable_token` = 'Q4A6ozAuSQDRnEIGgCC', `updated_at` = '2012-12-20 23:45:14' WHERE `spud_users`.`id` = 9
912
-  (0.1ms) RELEASE SAVEPOINT active_record_2
913
-  (0.1ms) SAVEPOINT active_record_2
914
- SpudBannerSet Exists (0.2ms) SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 10' LIMIT 1
915
- SQL (0.2ms) INSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-12-20 23:45:14', 1, 200, 'Banner Set 10', '2012-12-20 23:45:14', 600)
916
-  (0.1ms) RELEASE SAVEPOINT active_record_2
917
-  (0.2ms) SELECT COUNT(*) FROM `spud_banner_sets`
918
- Processing by Spud::Admin::BannerSetsController#update as HTML
919
- Parameters: {"spud_banner_set"=>{"name"=>"", "width"=>"lorem", "height"=>"ipsum"}, "id"=>"10"}
920
- SpudUser Load (0.4ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 9 LIMIT 1
921
- Looking for banner set with id: 10
922
- SpudBannerSet Load (0.3ms) SELECT `spud_banner_sets`.* FROM `spud_banner_sets` WHERE `spud_banner_sets`.`id` = 10 LIMIT 1
923
-  (0.1ms) SAVEPOINT active_record_2
924
- SpudBannerSet Exists (0.5ms) SELECT 1 AS one FROM `spud_banner_sets` WHERE (`spud_banner_sets`.`name` = BINARY '' AND `spud_banner_sets`.`id` != 10) LIMIT 1
925
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_2
926
- Completed 422 Unprocessable Entity in 12ms (Views: 0.8ms | ActiveRecord: 1.5ms)
927
-  (0.2ms) SELECT COUNT(*) FROM `spud_banner_sets`
928
-  (0.4ms) ROLLBACK
929
-  (0.0ms) ROLLBACK
930
-  (0.0ms) BEGIN
931
-  (0.0ms) BEGIN
932
-  (0.2ms) SAVEPOINT active_record_2
933
- SpudUser Exists (0.3ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
934
- SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
935
- SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '105a65d7a884d4bc01a0f5137991363992d0ce9c017ac92ff3d8c1d37df1b694358b22d5e66444fe59b1c0a846904384e6b940222c220edc40cbb811ff3064aa' LIMIT 1
936
- SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'ntGepINYv7UTcAMMX53a' LIMIT 1
937
- SQL (0.3ms) INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-20 23:45:14', 'e67caea149a702e8f1910421c7db89d026842b36c3137201dc113a25d653b9e6fe2ff388605844fa2917508a2cdcbefe069e401f5905e403f4231fad8d420db8', '2012-12-20 23:45:14', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-20 23:45:14', 'testuser', 1, '33aF5O6dyjnLG4j6BrY', '69g26iKjYAy9CiEnMGvj', '105a65d7a884d4bc01a0f5137991363992d0ce9c017ac92ff3d8c1d37df1b694358b22d5e66444fe59b1c0a846904384e6b940222c220edc40cbb811ff3064aa', 'ntGepINYv7UTcAMMX53a', 1, NULL, '2012-12-20 23:45:14')
938
-  (0.2ms) RELEASE SAVEPOINT active_record_2
939
-  (0.2ms) SAVEPOINT active_record_2
940
-  (0.3ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-20 23:45:14', `last_login_ip` = '0.0.0.0', `perishable_token` = '5kPSzLSAF9F3wOpOsQXC', `updated_at` = '2012-12-20 23:45:14' WHERE `spud_users`.`id` = 10
941
-  (0.1ms) RELEASE SAVEPOINT active_record_2
942
-  (0.1ms) SAVEPOINT active_record_2
943
- SpudBannerSet Exists (0.3ms) SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 11' LIMIT 1
944
- SQL (0.1ms) INSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-12-20 23:45:14', 1, 200, 'Banner Set 11', '2012-12-20 23:45:14', 600)
945
-  (0.1ms) RELEASE SAVEPOINT active_record_2
946
-  (0.1ms) SELECT COUNT(*) FROM `spud_banner_sets` 
947
- Processing by Spud::Admin::BannerSetsController#destroy as HTML
948
- Parameters: {"id"=>"11"}
949
- SpudUser Load (0.2ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 10 LIMIT 1
950
- Looking for banner set with id: 11
951
- SpudBannerSet Load (0.2ms) SELECT `spud_banner_sets`.* FROM `spud_banner_sets` WHERE `spud_banner_sets`.`id` = 11 LIMIT 1
952
-  (0.1ms) SAVEPOINT active_record_2
953
- SpudBanner Load (0.2ms) SELECT `spud_banners`.* FROM `spud_banners` WHERE `spud_banners`.`spud_banner_set_id` = 11 ORDER BY sort_order asc
954
- SQL (0.2ms) DELETE FROM `spud_banner_sets` WHERE `spud_banner_sets`.`id` = 11
955
-  (0.1ms) RELEASE SAVEPOINT active_record_2
956
- Completed 200 OK in 8ms (Views: 1.8ms | ActiveRecord: 0.9ms)
957
-  (0.2ms) SELECT COUNT(*) FROM `spud_banner_sets`
958
-  (0.4ms) ROLLBACK
959
-  (0.0ms) ROLLBACK