lines-engine 0.1.3 → 0.1.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/lines/version.rb +1 -1
- data/spec/dummy/log/test.log +977 -0
- data/spec/dummy/public/uploads/tmp/1404478772-18980-2247/example.jpg +0 -0
- data/spec/dummy/public/uploads/tmp/1404478772-18980-5108/example.jpg +0 -0
- data/spec/dummy/public/uploads/tmp/1404478772-18980-5302/example.jpg +0 -0
- data/spec/dummy/public/uploads/tmp/1404478772-18980-9652/example.jpg +0 -0
- metadata +29 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8983e3ee4c221c2b9544b3940ccde3fc33c914b8
|
4
|
+
data.tar.gz: 7c3670afb76619a8f802f5d0bf924b8e269b76bc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ae15dc62ac1cafa77fd9ea164376342c13fd518a6d4463866809bc02de96e59060e869f7ecc6db557dbb48f5776f27c4fd186c049f96f9eeaefac6fabe4d360b
|
7
|
+
data.tar.gz: 3eb6cec3703d806b357ef22d9daaed74905b5041ced7262375891324020c796975db8e9e48f02065458d2180efe6a05b85cab9f7530da6ca2b9e2ea56dca49fc
|
data/lib/lines/version.rb
CHANGED
data/spec/dummy/log/test.log
CHANGED
@@ -19843,3 +19843,980 @@ Processing by Lines::SessionsController#create as HTML
|
|
19843
19843
|
Rendered /home/kingpinky/workspace/gems/lines/app/views/layouts/lines/_messages.html.erb (0.1ms)
|
19844
19844
|
Completed 200 OK in 3ms (Views: 1.8ms | ActiveRecord: 0.3ms)
|
19845
19845
|
[1m[35m (1.8ms)[0m ROLLBACK
|
19846
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT `schema_migrations`.* FROM `schema_migrations`[0m
|
19847
|
+
[1m[35m (0.2ms)[0m BEGIN
|
19848
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
19849
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO `lines_authors` (`created_at`, `description`, `email`, `name`, `updated_at`) VALUES ('2014-07-04 12:59:30', 'dsf', 'adalberto@gerhold.name', 'Suzanne Herman', '2014-07-04 12:59:30')
|
19850
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
19851
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
19852
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO `lines_authors` (`created_at`, `description`, `email`, `name`, `updated_at`) VALUES ('2014-07-04 12:59:30', 'desc1', 'author1@example.com', 'Author 1', '2014-07-04 12:59:30')[0m
|
19853
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
19854
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
19855
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO `lines_authors` (`created_at`, `description`, `email`, `name`, `updated_at`) VALUES ('2014-07-04 12:59:30', 'desc2', 'author2@example.com', 'Author 2', '2014-07-04 12:59:30')
|
19856
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
19857
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
19858
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO `lines_authors` (`created_at`, `description`, `email`, `name`, `updated_at`) VALUES ('2014-07-04 12:59:30', 'desc3', 'author3@example.com', 'Author 3', '2014-07-04 12:59:30')[0m
|
19859
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
19860
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
19861
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO `lines_authors` (`created_at`, `description`, `email`, `name`, `updated_at`) VALUES ('2014-07-04 12:59:30', 'desc4', 'author4@example.com', 'Author 4', '2014-07-04 12:59:30')
|
19862
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
19863
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
19864
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO `lines_authors` (`created_at`, `description`, `email`, `name`, `updated_at`) VALUES ('2014-07-04 12:59:30', 'desc5', 'author5@example.com', 'Author 5', '2014-07-04 12:59:30')[0m
|
19865
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
19866
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
19867
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO `lines_authors` (`created_at`, `description`, `email`, `name`, `updated_at`) VALUES ('2014-07-04 12:59:30', 'desc6', 'author6@example.com', 'Author 6', '2014-07-04 12:59:30')
|
19868
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
19869
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
19870
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO `lines_authors` (`created_at`, `description`, `email`, `name`, `updated_at`) VALUES ('2014-07-04 12:59:30', 'desc7', 'author7@example.com', 'Author 7', '2014-07-04 12:59:30')[0m
|
19871
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
19872
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
19873
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO `lines_authors` (`created_at`, `description`, `email`, `name`, `updated_at`) VALUES ('2014-07-04 12:59:30', 'desc8', 'author8@example.com', 'Author 8', '2014-07-04 12:59:30')
|
19874
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
19875
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
19876
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO `lines_authors` (`created_at`, `description`, `email`, `name`, `updated_at`) VALUES ('2014-07-04 12:59:30', 'desc9', 'author9@example.com', 'Author 9', '2014-07-04 12:59:30')[0m
|
19877
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
19878
|
+
[1m[36mLines::Author Load (0.3ms)[0m [1mSELECT `lines_authors`.* FROM `lines_authors` WHERE `lines_authors`.`id` IN (96, 97, 98, 99, 100, 101, 102, 103, 104)[0m
|
19879
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
19880
|
+
[1m[36mLines::Article Exists (0.4ms)[0m [1mSELECT 1 AS one FROM `lines_articles` INNER JOIN `friendly_id_slugs` ON `friendly_id_slugs`.`sluggable_id` = `lines_articles`.`id` AND `friendly_id_slugs`.`sluggable_type` = 'Lines::Article' WHERE (`lines_articles`.`id` IS NOT NULL) AND `lines_articles`.`slug` = 'testing-with-rspec' LIMIT 1[0m
|
19881
|
+
[1m[35mLines::Article Exists (0.3ms)[0m SELECT 1 AS one FROM `lines_articles` INNER JOIN `friendly_id_slugs` ON `friendly_id_slugs`.`sluggable_id` = `lines_articles`.`id` AND `friendly_id_slugs`.`sluggable_type` = 'Lines::Article' WHERE (`lines_articles`.`id` IS NOT NULL) AND (`friendly_id_slugs`.`sluggable_type` = 'Lines::Article' AND `friendly_id_slugs`.`slug` = 'testing-with-rspec') LIMIT 1
|
19882
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO `lines_articles` (`content`, `created_at`, `hero_image`, `published_at`, `slug`, `sub_title`, `title`, `updated_at`) VALUES ('Content for article', '2014-07-04 12:59:30', 'example.jpg', '2014-07-04 12:59:30', 'testing-with-rspec', 'My subtitle', 'Testing with RSpec', '2014-07-04 12:59:30')[0m
|
19883
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO `lines_authorables` (`article_id`, `author_id`, `created_at`, `updated_at`) VALUES (11, 96, '2014-07-04 12:59:30', '2014-07-04 12:59:30')
|
19884
|
+
[1m[36mLines::Article Load (0.4ms)[0m [1mSELECT `lines_articles`.* FROM `lines_articles` WHERE `lines_articles`.`id` = 11 LIMIT 1[0m
|
19885
|
+
[1m[35mSQL (0.3ms)[0m UPDATE `lines_articles` SET `lines_articles`.`updated_at` = '2014-07-04 12:59:30' WHERE `lines_articles`.`id` = 11
|
19886
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO `lines_authorables` (`article_id`, `author_id`, `created_at`, `updated_at`) VALUES (11, 97, '2014-07-04 12:59:30', '2014-07-04 12:59:30')[0m
|
19887
|
+
[1m[35mLines::Article Load (0.3ms)[0m SELECT `lines_articles`.* FROM `lines_articles` WHERE `lines_articles`.`id` = 11 LIMIT 1
|
19888
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE `lines_articles` SET `lines_articles`.`updated_at` = '2014-07-04 12:59:30' WHERE `lines_articles`.`id` = 11[0m
|
19889
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO `lines_authorables` (`article_id`, `author_id`, `created_at`, `updated_at`) VALUES (11, 98, '2014-07-04 12:59:30', '2014-07-04 12:59:30')
|
19890
|
+
[1m[36mLines::Article Load (0.2ms)[0m [1mSELECT `lines_articles`.* FROM `lines_articles` WHERE `lines_articles`.`id` = 11 LIMIT 1[0m
|
19891
|
+
[1m[35mSQL (0.2ms)[0m UPDATE `lines_articles` SET `lines_articles`.`updated_at` = '2014-07-04 12:59:30' WHERE `lines_articles`.`id` = 11
|
19892
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO `lines_authorables` (`article_id`, `author_id`, `created_at`, `updated_at`) VALUES (11, 99, '2014-07-04 12:59:30', '2014-07-04 12:59:30')[0m
|
19893
|
+
[1m[35mLines::Article Load (0.2ms)[0m SELECT `lines_articles`.* FROM `lines_articles` WHERE `lines_articles`.`id` = 11 LIMIT 1
|
19894
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE `lines_articles` SET `lines_articles`.`updated_at` = '2014-07-04 12:59:30' WHERE `lines_articles`.`id` = 11[0m
|
19895
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO `lines_authorables` (`article_id`, `author_id`, `created_at`, `updated_at`) VALUES (11, 100, '2014-07-04 12:59:30', '2014-07-04 12:59:30')
|
19896
|
+
[1m[36mLines::Article Load (0.2ms)[0m [1mSELECT `lines_articles`.* FROM `lines_articles` WHERE `lines_articles`.`id` = 11 LIMIT 1[0m
|
19897
|
+
[1m[35mSQL (0.2ms)[0m UPDATE `lines_articles` SET `lines_articles`.`updated_at` = '2014-07-04 12:59:30' WHERE `lines_articles`.`id` = 11
|
19898
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO `lines_authorables` (`article_id`, `author_id`, `created_at`, `updated_at`) VALUES (11, 101, '2014-07-04 12:59:30', '2014-07-04 12:59:30')[0m
|
19899
|
+
[1m[35mLines::Article Load (0.2ms)[0m SELECT `lines_articles`.* FROM `lines_articles` WHERE `lines_articles`.`id` = 11 LIMIT 1
|
19900
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE `lines_articles` SET `lines_articles`.`updated_at` = '2014-07-04 12:59:30' WHERE `lines_articles`.`id` = 11[0m
|
19901
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO `lines_authorables` (`article_id`, `author_id`, `created_at`, `updated_at`) VALUES (11, 102, '2014-07-04 12:59:30', '2014-07-04 12:59:30')
|
19902
|
+
[1m[36mLines::Article Load (0.2ms)[0m [1mSELECT `lines_articles`.* FROM `lines_articles` WHERE `lines_articles`.`id` = 11 LIMIT 1[0m
|
19903
|
+
[1m[35mSQL (0.2ms)[0m UPDATE `lines_articles` SET `lines_articles`.`updated_at` = '2014-07-04 12:59:30' WHERE `lines_articles`.`id` = 11
|
19904
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO `lines_authorables` (`article_id`, `author_id`, `created_at`, `updated_at`) VALUES (11, 103, '2014-07-04 12:59:30', '2014-07-04 12:59:30')[0m
|
19905
|
+
[1m[35mLines::Article Load (0.2ms)[0m SELECT `lines_articles`.* FROM `lines_articles` WHERE `lines_articles`.`id` = 11 LIMIT 1
|
19906
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE `lines_articles` SET `lines_articles`.`updated_at` = '2014-07-04 12:59:30' WHERE `lines_articles`.`id` = 11[0m
|
19907
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO `lines_authorables` (`article_id`, `author_id`, `created_at`, `updated_at`) VALUES (11, 104, '2014-07-04 12:59:30', '2014-07-04 12:59:30')
|
19908
|
+
[1m[36mLines::Article Load (0.2ms)[0m [1mSELECT `lines_articles`.* FROM `lines_articles` WHERE `lines_articles`.`id` = 11 LIMIT 1[0m
|
19909
|
+
[1m[35mSQL (0.2ms)[0m UPDATE `lines_articles` SET `lines_articles`.`updated_at` = '2014-07-04 12:59:30' WHERE `lines_articles`.`id` = 11
|
19910
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE `lines_articles` SET `lines_articles`.`updated_at` = '2014-07-04 12:59:30' WHERE `lines_articles`.`id` = 11[0m
|
19911
|
+
[1m[35mSQL (0.2ms)[0m UPDATE `lines_articles` SET `lines_articles`.`updated_at` = '2014-07-04 12:59:30' WHERE `lines_articles`.`id` = 11
|
19912
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE `lines_articles` SET `lines_articles`.`updated_at` = '2014-07-04 12:59:30' WHERE `lines_articles`.`id` = 11[0m
|
19913
|
+
[1m[35mSQL (0.2ms)[0m UPDATE `lines_articles` SET `lines_articles`.`updated_at` = '2014-07-04 12:59:30' WHERE `lines_articles`.`id` = 11
|
19914
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE `lines_articles` SET `lines_articles`.`updated_at` = '2014-07-04 12:59:30' WHERE `lines_articles`.`id` = 11[0m
|
19915
|
+
[1m[35mSQL (0.2ms)[0m UPDATE `lines_articles` SET `lines_articles`.`updated_at` = '2014-07-04 12:59:30' WHERE `lines_articles`.`id` = 11
|
19916
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE `lines_articles` SET `lines_articles`.`updated_at` = '2014-07-04 12:59:30' WHERE `lines_articles`.`id` = 11[0m
|
19917
|
+
[1m[35mSQL (0.2ms)[0m UPDATE `lines_articles` SET `lines_articles`.`updated_at` = '2014-07-04 12:59:30' WHERE `lines_articles`.`id` = 11
|
19918
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE `lines_articles` SET `lines_articles`.`updated_at` = '2014-07-04 12:59:30' WHERE `lines_articles`.`id` = 11[0m
|
19919
|
+
[1m[35mFriendlyId::Slug Load (0.3ms)[0m SELECT `friendly_id_slugs`.* FROM `friendly_id_slugs` WHERE `friendly_id_slugs`.`sluggable_id` = 11 AND `friendly_id_slugs`.`sluggable_type` = 'Lines::Article' ORDER BY `friendly_id_slugs`.id DESC LIMIT 1
|
19920
|
+
[1m[36mSQL (0.2ms)[0m [1mDELETE FROM `friendly_id_slugs` WHERE `friendly_id_slugs`.`sluggable_id` = 11 AND `friendly_id_slugs`.`sluggable_type` = 'Lines::Article' AND `friendly_id_slugs`.`slug` = 'testing-with-rspec'[0m
|
19921
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO `friendly_id_slugs` (`created_at`, `slug`, `sluggable_id`, `sluggable_type`) VALUES ('2014-07-04 12:59:30', 'testing-with-rspec', 11, 'Lines::Article')
|
19922
|
+
[1m[36mLines::Picture Load (0.3ms)[0m [1mSELECT `lines_pictures`.* FROM `lines_pictures` WHERE 1=0[0m
|
19923
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
19924
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
19925
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO `lines_authorables` (`article_id`, `author_id`, `created_at`, `updated_at`) VALUES (11, 95, '2014-07-04 12:59:30', '2014-07-04 12:59:30')
|
19926
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE `lines_articles` SET `lines_articles`.`updated_at` = '2014-07-04 12:59:30' WHERE `lines_articles`.`id` = 11[0m
|
19927
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
19928
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
19929
|
+
[1m[35m (0.3ms)[0m SELECT COUNT(*) FROM `lines_articles` INNER JOIN `lines_authorables` ON `lines_articles`.`id` = `lines_authorables`.`article_id` WHERE `lines_authorables`.`author_id` = 95
|
19930
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
19931
|
+
[1m[35m (3.3ms)[0m ROLLBACK
|
19932
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
19933
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
19934
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
19935
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
19936
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO `lines_authors` (`created_at`, `description`, `email`, `name`, `updated_at`) VALUES ('2014-07-04 12:59:30', 'dsf', 'adolfo.dare@hettingerzboncak.info', 'Coy Hudson', '2014-07-04 12:59:30')[0m
|
19937
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
19938
|
+
[1m[36m (1.7ms)[0m [1mROLLBACK[0m
|
19939
|
+
[1m[35m (0.2ms)[0m BEGIN
|
19940
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
19941
|
+
[1m[35m (0.1ms)[0m BEGIN
|
19942
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
19943
|
+
[1m[35m (0.1ms)[0m BEGIN
|
19944
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
19945
|
+
[1m[35mLines::User Exists (0.4ms)[0m SELECT 1 AS one FROM `lines_users` WHERE `lines_users`.`email` = BINARY 'valid@example.com' LIMIT 1
|
19946
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO `lines_users` (`created_at`, `email`, `password_digest`, `updated_at`) VALUES ('2014-07-04 12:59:30', 'valid@example.com', '$2a$04$QcTpT8WqH9ctYR43UEqo6O7r2Vqva0Qh0dREy9smAc/tX5APPeBcS', '2014-07-04 12:59:30')[0m
|
19947
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
19948
|
+
Started GET "/login" for 127.0.0.1 at 2014-07-04 14:59:30 +0200
|
19949
|
+
Processing by Lines::SessionsController#new as HTML
|
19950
|
+
Rendered /home/kingpinky/workspace/gems/lines/app/views/lines/sessions/new.html.erb within layouts/lines/admin (15.0ms)
|
19951
|
+
Rendered /home/kingpinky/workspace/gems/lines/app/views/layouts/lines/_messages.html.erb (0.7ms)
|
19952
|
+
Completed 200 OK in 32ms (Views: 32.0ms | ActiveRecord: 0.0ms)
|
19953
|
+
Started POST "/sessions" for 127.0.0.1 at 2014-07-04 14:59:31 +0200
|
19954
|
+
Processing by Lines::SessionsController#create as HTML
|
19955
|
+
Parameters: {"utf8"=>"✓", "email"=>"valid@example.com", "password"=>"[FILTERED]", "commit"=>"Login"}
|
19956
|
+
[1m[36mLines::User Load (0.4ms)[0m [1mSELECT `lines_users`.* FROM `lines_users` WHERE `lines_users`.`email` = 'valid@example.com' LIMIT 1[0m
|
19957
|
+
Redirected to http://www.example.com/admin
|
19958
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
|
19959
|
+
Started GET "/admin" for 127.0.0.1 at 2014-07-04 14:59:31 +0200
|
19960
|
+
Processing by Lines::Admin::ArticlesController#index as HTML
|
19961
|
+
[1m[35mLines::User Load (0.4ms)[0m SELECT `lines_users`.* FROM `lines_users` WHERE `lines_users`.`id` = 8 LIMIT 1
|
19962
|
+
[1m[36mLines::Article Load (0.4ms)[0m [1mSELECT `lines_articles`.* FROM `lines_articles` ORDER BY published ASC, featured DESC, published_at DESC LIMIT 25 OFFSET 0[0m
|
19963
|
+
Rendered /home/kingpinky/workspace/gems/lines/app/views/lines/admin/articles/index.html.erb within layouts/lines/admin (2.9ms)
|
19964
|
+
Rendered /home/kingpinky/workspace/gems/lines/app/views/layouts/lines/_messages.html.erb (0.1ms)
|
19965
|
+
Completed 200 OK in 9ms (Views: 5.3ms | ActiveRecord: 0.7ms)
|
19966
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
19967
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO `lines_authors` (`created_at`, `description`, `email`, `name`, `updated_at`) VALUES ('2014-07-04 12:59:31', 'dsf', 'liam_streich@rueckerparker.biz', 'Foo Bar', '2014-07-04 12:59:31')[0m
|
19968
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
19969
|
+
Started GET "/admin/articles" for 127.0.0.1 at 2014-07-04 14:59:31 +0200
|
19970
|
+
Processing by Lines::Admin::ArticlesController#index as HTML
|
19971
|
+
[1m[36mLines::User Load (0.4ms)[0m [1mSELECT `lines_users`.* FROM `lines_users` WHERE `lines_users`.`id` = 8 LIMIT 1[0m
|
19972
|
+
[1m[35mLines::Article Load (0.3ms)[0m SELECT `lines_articles`.* FROM `lines_articles` ORDER BY published ASC, featured DESC, published_at DESC LIMIT 25 OFFSET 0
|
19973
|
+
Rendered /home/kingpinky/workspace/gems/lines/app/views/lines/admin/articles/index.html.erb within layouts/lines/admin (1.4ms)
|
19974
|
+
Rendered /home/kingpinky/workspace/gems/lines/app/views/layouts/lines/_messages.html.erb (0.1ms)
|
19975
|
+
Completed 200 OK in 5ms (Views: 2.6ms | ActiveRecord: 0.7ms)
|
19976
|
+
Started GET "/admin/articles/new" for 127.0.0.1 at 2014-07-04 14:59:31 +0200
|
19977
|
+
Processing by Lines::Admin::ArticlesController#new as HTML
|
19978
|
+
[1m[36mLines::User Load (0.3ms)[0m [1mSELECT `lines_users`.* FROM `lines_users` WHERE `lines_users`.`id` = 8 LIMIT 1[0m
|
19979
|
+
[1m[35mLines::Author Load (0.3ms)[0m SELECT `lines_authors`.* FROM `lines_authors`
|
19980
|
+
Rendered /home/kingpinky/workspace/gems/lines/app/views/lines/admin/articles/_formatting_guide.html.erb (0.5ms)
|
19981
|
+
Rendered /home/kingpinky/workspace/gems/lines/app/views/lines/admin/articles/_form.html.erb (32.7ms)
|
19982
|
+
Rendered /home/kingpinky/workspace/gems/lines/app/views/lines/admin/articles/_picture_box.html.erb (11.1ms)
|
19983
|
+
Rendered /home/kingpinky/workspace/gems/lines/app/views/lines/admin/articles/new.html.erb within layouts/lines/admin (47.1ms)
|
19984
|
+
Rendered /home/kingpinky/workspace/gems/lines/app/views/layouts/lines/_messages.html.erb (0.1ms)
|
19985
|
+
Completed 200 OK in 51ms (Views: 46.5ms | ActiveRecord: 2.8ms)
|
19986
|
+
Started POST "/admin/articles" for 127.0.0.1 at 2014-07-04 14:59:31 +0200
|
19987
|
+
Processing by Lines::Admin::ArticlesController#create as HTML
|
19988
|
+
Parameters: {"utf8"=>"✓", "article"=>{"hero_image_file"=>"", "hero_image_cache"=>"", "short_hero_image"=>"", "title"=>"", "sub_title"=>"", "content"=>"", "author_ids"=>[""], "gplus_url"=>"", "document_cache"=>"", "tag_list"=>"", "published_at"=>"2014-07-04"}, "commit"=>"Save Article"}
|
19989
|
+
[1m[36mLines::User Load (0.3ms)[0m [1mSELECT `lines_users`.* FROM `lines_users` WHERE `lines_users`.`id` = 8 LIMIT 1[0m
|
19990
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
19991
|
+
[1m[36mLines::Article Exists (0.4ms)[0m [1mSELECT 1 AS one FROM `lines_articles` INNER JOIN `friendly_id_slugs` ON `friendly_id_slugs`.`sluggable_id` = `lines_articles`.`id` AND `friendly_id_slugs`.`sluggable_type` = 'Lines::Article' WHERE (`lines_articles`.`id` IS NOT NULL) AND `lines_articles`.`slug` = '' LIMIT 1[0m
|
19992
|
+
[1m[35mLines::Article Exists (0.3ms)[0m SELECT 1 AS one FROM `lines_articles` INNER JOIN `friendly_id_slugs` ON `friendly_id_slugs`.`sluggable_id` = `lines_articles`.`id` AND `friendly_id_slugs`.`sluggable_type` = 'Lines::Article' WHERE (`lines_articles`.`id` IS NOT NULL) AND (`friendly_id_slugs`.`sluggable_type` = 'Lines::Article' AND `friendly_id_slugs`.`slug` = '') LIMIT 1
|
19993
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
19994
|
+
[1m[35mLines::Author Load (0.3ms)[0m SELECT `lines_authors`.* FROM `lines_authors`
|
19995
|
+
Rendered /home/kingpinky/workspace/gems/lines/app/views/lines/admin/articles/_formatting_guide.html.erb (0.1ms)
|
19996
|
+
Rendered /home/kingpinky/workspace/gems/lines/app/views/lines/admin/articles/_form.html.erb (6.4ms)
|
19997
|
+
Rendered /home/kingpinky/workspace/gems/lines/app/views/lines/admin/articles/_picture_box.html.erb (1.2ms)
|
19998
|
+
Rendered /home/kingpinky/workspace/gems/lines/app/views/lines/admin/articles/new.html.erb within layouts/lines/admin (11.2ms)
|
19999
|
+
Rendered /home/kingpinky/workspace/gems/lines/app/views/layouts/lines/_messages.html.erb (0.1ms)
|
20000
|
+
Completed 200 OK in 28ms (Views: 12.1ms | ActiveRecord: 1.6ms)
|
20001
|
+
[1m[36m (3.5ms)[0m [1mROLLBACK[0m
|
20002
|
+
[1m[35m (0.1ms)[0m BEGIN
|
20003
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
20004
|
+
[1m[35mLines::User Exists (0.3ms)[0m SELECT 1 AS one FROM `lines_users` WHERE `lines_users`.`email` = BINARY 'valid@example.com' LIMIT 1
|
20005
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO `lines_users` (`created_at`, `email`, `password_digest`, `updated_at`) VALUES ('2014-07-04 12:59:31', 'valid@example.com', '$2a$04$r/xzIxQRd62pgHp/Wl5Jhu/Cpf01Cqi0ch9Vu9il7ePhkzIHNiDpu', '2014-07-04 12:59:31')[0m
|
20006
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
20007
|
+
Started GET "/login" for 127.0.0.1 at 2014-07-04 14:59:31 +0200
|
20008
|
+
Processing by Lines::SessionsController#new as HTML
|
20009
|
+
Rendered /home/kingpinky/workspace/gems/lines/app/views/lines/sessions/new.html.erb within layouts/lines/admin (1.2ms)
|
20010
|
+
Rendered /home/kingpinky/workspace/gems/lines/app/views/layouts/lines/_messages.html.erb (0.1ms)
|
20011
|
+
Completed 200 OK in 3ms (Views: 2.4ms | ActiveRecord: 0.0ms)
|
20012
|
+
Started POST "/sessions" for 127.0.0.1 at 2014-07-04 14:59:31 +0200
|
20013
|
+
Processing by Lines::SessionsController#create as HTML
|
20014
|
+
Parameters: {"utf8"=>"✓", "email"=>"valid@example.com", "password"=>"[FILTERED]", "commit"=>"Login"}
|
20015
|
+
[1m[36mLines::User Load (0.3ms)[0m [1mSELECT `lines_users`.* FROM `lines_users` WHERE `lines_users`.`email` = 'valid@example.com' LIMIT 1[0m
|
20016
|
+
Redirected to http://www.example.com/admin
|
20017
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.3ms)
|
20018
|
+
Started GET "/admin" for 127.0.0.1 at 2014-07-04 14:59:31 +0200
|
20019
|
+
Processing by Lines::Admin::ArticlesController#index as HTML
|
20020
|
+
[1m[35mLines::User Load (0.3ms)[0m SELECT `lines_users`.* FROM `lines_users` WHERE `lines_users`.`id` = 9 LIMIT 1
|
20021
|
+
[1m[36mLines::Article Load (0.3ms)[0m [1mSELECT `lines_articles`.* FROM `lines_articles` ORDER BY published ASC, featured DESC, published_at DESC LIMIT 25 OFFSET 0[0m
|
20022
|
+
Rendered /home/kingpinky/workspace/gems/lines/app/views/lines/admin/articles/index.html.erb within layouts/lines/admin (1.4ms)
|
20023
|
+
Rendered /home/kingpinky/workspace/gems/lines/app/views/layouts/lines/_messages.html.erb (0.1ms)
|
20024
|
+
Completed 200 OK in 5ms (Views: 2.6ms | ActiveRecord: 0.6ms)
|
20025
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
20026
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO `lines_authors` (`created_at`, `description`, `email`, `name`, `updated_at`) VALUES ('2014-07-04 12:59:31', 'dsf', 'katheryn_hammes@cartwrightblick.com', 'Foo Bar', '2014-07-04 12:59:31')[0m
|
20027
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
20028
|
+
Started GET "/admin/articles" for 127.0.0.1 at 2014-07-04 14:59:31 +0200
|
20029
|
+
Processing by Lines::Admin::ArticlesController#index as HTML
|
20030
|
+
[1m[36mLines::User Load (0.3ms)[0m [1mSELECT `lines_users`.* FROM `lines_users` WHERE `lines_users`.`id` = 9 LIMIT 1[0m
|
20031
|
+
[1m[35mLines::Article Load (0.3ms)[0m SELECT `lines_articles`.* FROM `lines_articles` ORDER BY published ASC, featured DESC, published_at DESC LIMIT 25 OFFSET 0
|
20032
|
+
Rendered /home/kingpinky/workspace/gems/lines/app/views/lines/admin/articles/index.html.erb within layouts/lines/admin (1.4ms)
|
20033
|
+
Rendered /home/kingpinky/workspace/gems/lines/app/views/layouts/lines/_messages.html.erb (0.1ms)
|
20034
|
+
Completed 200 OK in 5ms (Views: 2.6ms | ActiveRecord: 0.6ms)
|
20035
|
+
Started GET "/admin/articles/new" for 127.0.0.1 at 2014-07-04 14:59:31 +0200
|
20036
|
+
Processing by Lines::Admin::ArticlesController#new as HTML
|
20037
|
+
[1m[36mLines::User Load (0.3ms)[0m [1mSELECT `lines_users`.* FROM `lines_users` WHERE `lines_users`.`id` = 9 LIMIT 1[0m
|
20038
|
+
[1m[35mLines::Author Load (0.3ms)[0m SELECT `lines_authors`.* FROM `lines_authors`
|
20039
|
+
Rendered /home/kingpinky/workspace/gems/lines/app/views/lines/admin/articles/_formatting_guide.html.erb (0.1ms)
|
20040
|
+
Rendered /home/kingpinky/workspace/gems/lines/app/views/lines/admin/articles/_form.html.erb (7.7ms)
|
20041
|
+
Rendered /home/kingpinky/workspace/gems/lines/app/views/lines/admin/articles/_picture_box.html.erb (1.1ms)
|
20042
|
+
Rendered /home/kingpinky/workspace/gems/lines/app/views/lines/admin/articles/new.html.erb within layouts/lines/admin (9.5ms)
|
20043
|
+
Rendered /home/kingpinky/workspace/gems/lines/app/views/layouts/lines/_messages.html.erb (0.1ms)
|
20044
|
+
Completed 200 OK in 12ms (Views: 10.2ms | ActiveRecord: 0.6ms)
|
20045
|
+
Started POST "/admin/articles" for 127.0.0.1 at 2014-07-04 14:59:31 +0200
|
20046
|
+
Processing by Lines::Admin::ArticlesController#create as HTML
|
20047
|
+
Parameters: {"utf8"=>"✓", "article"=>{"hero_image"=>#<ActionDispatch::Http::UploadedFile:0x00000004032c40 @tempfile=#<Tempfile:/tmp/RackMultipart20140704-18980-1fesvpf>, @original_filename="example.jpg", @content_type="image/jpeg", @headers="Content-Disposition: form-data; name=\"article[hero_image]\"; filename=\"example.jpg\"\r\nContent-Type: image/jpeg\r\nContent-Length: 66453\r\n">, "hero_image_file"=>"", "hero_image_cache"=>"", "short_hero_image"=>"", "title"=>"How to Test", "sub_title"=>"with RSpec and Rails", "content"=>"Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod\r\ntempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam,\r\nquis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo\r\nconsequat. Duis aute irure dolor in reprehenderit in voluptate velit esse\r\ncillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non\r\nproident, sunt in culpa qui officia deserunt mollit anim id est laborum.", "author_ids"=>["", "107"], "gplus_url"=>"http://gplus.de/opoloo", "document_cache"=>"", "tag_list"=>"tag1, tag2", "published_at"=>"2014-07-04"}, "commit"=>"Save Article"}
|
20048
|
+
[1m[36mLines::User Load (0.3ms)[0m [1mSELECT `lines_users`.* FROM `lines_users` WHERE `lines_users`.`id` = 9 LIMIT 1[0m
|
20049
|
+
[1m[35mLines::Author Load (0.3ms)[0m SELECT `lines_authors`.* FROM `lines_authors` WHERE `lines_authors`.`id` = 107 LIMIT 1
|
20050
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
20051
|
+
[1m[35mLines::Article Exists (0.3ms)[0m SELECT 1 AS one FROM `lines_articles` INNER JOIN `friendly_id_slugs` ON `friendly_id_slugs`.`sluggable_id` = `lines_articles`.`id` AND `friendly_id_slugs`.`sluggable_type` = 'Lines::Article' WHERE (`lines_articles`.`id` IS NOT NULL) AND `lines_articles`.`slug` = 'how-to-test' LIMIT 1
|
20052
|
+
[1m[36mLines::Article Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `lines_articles` INNER JOIN `friendly_id_slugs` ON `friendly_id_slugs`.`sluggable_id` = `lines_articles`.`id` AND `friendly_id_slugs`.`sluggable_type` = 'Lines::Article' WHERE (`lines_articles`.`id` IS NOT NULL) AND (`friendly_id_slugs`.`sluggable_type` = 'Lines::Article' AND `friendly_id_slugs`.`slug` = 'how-to-test') LIMIT 1[0m
|
20053
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO `lines_articles` (`content`, `created_at`, `gplus_url`, `hero_image`, `published_at`, `short_hero_image`, `slug`, `sub_title`, `title`, `updated_at`) VALUES ('Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod\r\ntempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam,\r\nquis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo\r\nconsequat. Duis aute irure dolor in reprehenderit in voluptate velit esse\r\ncillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non\r\nproident, sunt in culpa qui officia deserunt mollit anim id est laborum.', '2014-07-04 12:59:31', 'http://gplus.de/opoloo', 'example.jpg', '2014-07-04 00:00:00', '', 'how-to-test', 'with RSpec and Rails', 'How to Test', '2014-07-04 12:59:31')
|
20054
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO `lines_authorables` (`article_id`, `author_id`, `created_at`, `updated_at`) VALUES (12, 107, '2014-07-04 12:59:31', '2014-07-04 12:59:31')[0m
|
20055
|
+
[1m[35mLines::Article Load (0.3ms)[0m SELECT `lines_articles`.* FROM `lines_articles` WHERE `lines_articles`.`id` = 12 LIMIT 1
|
20056
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE `lines_articles` SET `lines_articles`.`updated_at` = '2014-07-04 12:59:31' WHERE `lines_articles`.`id` = 12[0m
|
20057
|
+
[1m[35mSQL (0.2ms)[0m UPDATE `lines_articles` SET `lines_articles`.`updated_at` = '2014-07-04 12:59:31' WHERE `lines_articles`.`id` = 12
|
20058
|
+
[1m[36mFriendlyId::Slug Load (0.3ms)[0m [1mSELECT `friendly_id_slugs`.* FROM `friendly_id_slugs` WHERE `friendly_id_slugs`.`sluggable_id` = 12 AND `friendly_id_slugs`.`sluggable_type` = 'Lines::Article' ORDER BY `friendly_id_slugs`.id DESC LIMIT 1[0m
|
20059
|
+
[1m[35mSQL (0.2ms)[0m DELETE FROM `friendly_id_slugs` WHERE `friendly_id_slugs`.`sluggable_id` = 12 AND `friendly_id_slugs`.`sluggable_type` = 'Lines::Article' AND `friendly_id_slugs`.`slug` = 'how-to-test'
|
20060
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO `friendly_id_slugs` (`created_at`, `slug`, `sluggable_id`, `sluggable_type`) VALUES ('2014-07-04 12:59:31', 'how-to-test', 12, 'Lines::Article')[0m
|
20061
|
+
[1m[35mActsAsTaggableOn::Tag Load (0.3ms)[0m SELECT `tags`.* FROM `tags` WHERE (LOWER(name) = LOWER('tag1') OR LOWER(name) = LOWER('tag2'))
|
20062
|
+
[1m[36mActsAsTaggableOn::Tag Exists (0.4ms)[0m [1mSELECT 1 AS one FROM `tags` WHERE `tags`.`name` = BINARY 'tag1' LIMIT 1[0m
|
20063
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO `tags` (`name`) VALUES ('tag1')
|
20064
|
+
[1m[36mActsAsTaggableOn::Tag Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `tags` WHERE `tags`.`name` = BINARY 'tag2' LIMIT 1[0m
|
20065
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO `tags` (`name`) VALUES ('tag2')
|
20066
|
+
[1m[36mActsAsTaggableOn::Tag Load (0.3ms)[0m [1mSELECT `tags`.* FROM `tags` INNER JOIN `taggings` ON `tags`.`id` = `taggings`.`tag_id` WHERE `taggings`.`taggable_id` = 12 AND `taggings`.`taggable_type` = 'Lines::Article' AND (taggings.context = 'tags' AND taggings.tagger_id IS NULL)[0m
|
20067
|
+
[1m[35mActsAsTaggableOn::Tagging Exists (0.5ms)[0m SELECT 1 AS one FROM `taggings` WHERE (`taggings`.`tag_id` = BINARY 7 AND `taggings`.`taggable_type` = 'Lines::Article' AND `taggings`.`taggable_id` = 12 AND `taggings`.`context` = 'tags' AND `taggings`.`tagger_id` IS NULL AND `taggings`.`tagger_type` IS NULL) LIMIT 1
|
20068
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO `taggings` (`context`, `created_at`, `tag_id`, `taggable_id`, `taggable_type`) VALUES ('tags', '2014-07-04 12:59:31', 7, 12, 'Lines::Article')[0m
|
20069
|
+
[1m[35mActsAsTaggableOn::Tag Load (0.3ms)[0m SELECT `tags`.* FROM `tags` WHERE `tags`.`id` = 7 LIMIT 1
|
20070
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE `tags` SET `taggings_count` = COALESCE(`taggings_count`, 0) + 1 WHERE `tags`.`id` = 7[0m
|
20071
|
+
[1m[35mActsAsTaggableOn::Tagging Exists (0.4ms)[0m SELECT 1 AS one FROM `taggings` WHERE (`taggings`.`tag_id` = BINARY 8 AND `taggings`.`taggable_type` = 'Lines::Article' AND `taggings`.`taggable_id` = 12 AND `taggings`.`context` = 'tags' AND `taggings`.`tagger_id` IS NULL AND `taggings`.`tagger_type` IS NULL) LIMIT 1
|
20072
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO `taggings` (`context`, `created_at`, `tag_id`, `taggable_id`, `taggable_type`) VALUES ('tags', '2014-07-04 12:59:31', 8, 12, 'Lines::Article')[0m
|
20073
|
+
[1m[35mActsAsTaggableOn::Tag Load (0.2ms)[0m SELECT `tags`.* FROM `tags` WHERE `tags`.`id` = 8 LIMIT 1
|
20074
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE `tags` SET `taggings_count` = COALESCE(`taggings_count`, 0) + 1 WHERE `tags`.`id` = 8[0m
|
20075
|
+
[1m[35mLines::Picture Load (0.2ms)[0m SELECT `lines_pictures`.* FROM `lines_pictures` WHERE 1=0
|
20076
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
20077
|
+
Redirected to http://www.example.com/admin/articles/how-to-test
|
20078
|
+
Completed 302 Found in 64ms (ActiveRecord: 8.5ms)
|
20079
|
+
Started GET "/admin/articles/how-to-test" for 127.0.0.1 at 2014-07-04 14:59:31 +0200
|
20080
|
+
Processing by Lines::Admin::ArticlesController#show as HTML
|
20081
|
+
Parameters: {"id"=>"how-to-test"}
|
20082
|
+
[1m[35mLines::User Load (0.3ms)[0m SELECT `lines_users`.* FROM `lines_users` WHERE `lines_users`.`id` = 9 LIMIT 1
|
20083
|
+
[1m[36mLines::Article Load (0.3ms)[0m [1mSELECT `lines_articles`.* FROM `lines_articles` WHERE `lines_articles`.`slug` = 'how-to-test' ORDER BY `lines_articles`.`id` ASC LIMIT 1[0m
|
20084
|
+
[1m[35mLines::Author Load (0.5ms)[0m SELECT `lines_authors`.* FROM `lines_authors` INNER JOIN `lines_authorables` ON `lines_authors`.`id` = `lines_authorables`.`author_id` WHERE `lines_authorables`.`article_id` = 12
|
20085
|
+
Rendered /home/kingpinky/workspace/gems/lines/app/views/lines/articles/_article.html.erb (9.8ms)
|
20086
|
+
Rendered /home/kingpinky/workspace/gems/lines/app/views/lines/admin/articles/show.html.erb within layouts/lines/preview (13.0ms)
|
20087
|
+
Completed 200 OK in 18ms (Views: 15.3ms | ActiveRecord: 1.0ms)
|
20088
|
+
[1m[36m (3.9ms)[0m [1mROLLBACK[0m
|
20089
|
+
[1m[35m (0.1ms)[0m BEGIN
|
20090
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
20091
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO `lines_authors` (`created_at`, `description`, `email`, `name`, `updated_at`) VALUES ('2014-07-04 12:59:32', 'desc1', 'author1@example.com', 'Author 1', '2014-07-04 12:59:32')
|
20092
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
20093
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
20094
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO `lines_authors` (`created_at`, `description`, `email`, `name`, `updated_at`) VALUES ('2014-07-04 12:59:32', 'desc2', 'author2@example.com', 'Author 2', '2014-07-04 12:59:32')[0m
|
20095
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
20096
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
20097
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO `lines_authors` (`created_at`, `description`, `email`, `name`, `updated_at`) VALUES ('2014-07-04 12:59:32', 'desc3', 'author3@example.com', 'Author 3', '2014-07-04 12:59:32')
|
20098
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
20099
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
20100
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO `lines_authors` (`created_at`, `description`, `email`, `name`, `updated_at`) VALUES ('2014-07-04 12:59:32', 'desc4', 'author4@example.com', 'Author 4', '2014-07-04 12:59:32')[0m
|
20101
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
20102
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
20103
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO `lines_authors` (`created_at`, `description`, `email`, `name`, `updated_at`) VALUES ('2014-07-04 12:59:32', 'desc5', 'author5@example.com', 'Author 5', '2014-07-04 12:59:32')
|
20104
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
20105
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
20106
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO `lines_authors` (`created_at`, `description`, `email`, `name`, `updated_at`) VALUES ('2014-07-04 12:59:32', 'desc6', 'author6@example.com', 'Author 6', '2014-07-04 12:59:32')[0m
|
20107
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
20108
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
20109
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO `lines_authors` (`created_at`, `description`, `email`, `name`, `updated_at`) VALUES ('2014-07-04 12:59:32', 'desc7', 'author7@example.com', 'Author 7', '2014-07-04 12:59:32')
|
20110
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
20111
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
20112
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO `lines_authors` (`created_at`, `description`, `email`, `name`, `updated_at`) VALUES ('2014-07-04 12:59:32', 'desc8', 'author8@example.com', 'Author 8', '2014-07-04 12:59:32')[0m
|
20113
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
20114
|
+
[1m[36mLines::Author Load (0.3ms)[0m [1mSELECT `lines_authors`.* FROM `lines_authors` WHERE `lines_authors`.`id` IN (108, 109, 110, 111, 112, 113, 114, 115)[0m
|
20115
|
+
[1m[35mLines::Article Exists (0.4ms)[0m SELECT 1 AS one FROM `lines_articles` INNER JOIN `friendly_id_slugs` ON `friendly_id_slugs`.`sluggable_id` = `lines_articles`.`id` AND `friendly_id_slugs`.`sluggable_type` = 'Lines::Article' WHERE (`lines_articles`.`id` IS NOT NULL) AND `lines_articles`.`slug` = 'testing-with-rspec' LIMIT 1
|
20116
|
+
[1m[36mLines::Article Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `lines_articles` INNER JOIN `friendly_id_slugs` ON `friendly_id_slugs`.`sluggable_id` = `lines_articles`.`id` AND `friendly_id_slugs`.`sluggable_type` = 'Lines::Article' WHERE (`lines_articles`.`id` IS NOT NULL) AND (`friendly_id_slugs`.`sluggable_type` = 'Lines::Article' AND `friendly_id_slugs`.`slug` = 'testing-with-rspec') LIMIT 1[0m
|
20117
|
+
[1m[35m (4.5ms)[0m ROLLBACK
|
20118
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
20119
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
20120
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO `lines_authors` (`created_at`, `description`, `email`, `name`, `updated_at`) VALUES ('2014-07-04 12:59:32', 'desc1', 'author1@example.com', 'Author 1', '2014-07-04 12:59:32')[0m
|
20121
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
20122
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
20123
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO `lines_authors` (`created_at`, `description`, `email`, `name`, `updated_at`) VALUES ('2014-07-04 12:59:32', 'desc2', 'author2@example.com', 'Author 2', '2014-07-04 12:59:32')
|
20124
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
20125
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
20126
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO `lines_authors` (`created_at`, `description`, `email`, `name`, `updated_at`) VALUES ('2014-07-04 12:59:32', 'desc3', 'author3@example.com', 'Author 3', '2014-07-04 12:59:32')[0m
|
20127
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
20128
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
20129
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO `lines_authors` (`created_at`, `description`, `email`, `name`, `updated_at`) VALUES ('2014-07-04 12:59:32', 'desc4', 'author4@example.com', 'Author 4', '2014-07-04 12:59:32')
|
20130
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
20131
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
20132
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO `lines_authors` (`created_at`, `description`, `email`, `name`, `updated_at`) VALUES ('2014-07-04 12:59:32', 'desc5', 'author5@example.com', 'Author 5', '2014-07-04 12:59:32')[0m
|
20133
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
20134
|
+
[1m[36mLines::Author Load (0.3ms)[0m [1mSELECT `lines_authors`.* FROM `lines_authors` WHERE `lines_authors`.`id` IN (116, 117, 118, 119, 120)[0m
|
20135
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
20136
|
+
[1m[36mLines::Article Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `lines_articles` INNER JOIN `friendly_id_slugs` ON `friendly_id_slugs`.`sluggable_id` = `lines_articles`.`id` AND `friendly_id_slugs`.`sluggable_type` = 'Lines::Article' WHERE (`lines_articles`.`id` IS NOT NULL) AND `lines_articles`.`slug` = 'testing-with-rspec' LIMIT 1[0m
|
20137
|
+
[1m[35mLines::Article Exists (0.3ms)[0m SELECT 1 AS one FROM `lines_articles` INNER JOIN `friendly_id_slugs` ON `friendly_id_slugs`.`sluggable_id` = `lines_articles`.`id` AND `friendly_id_slugs`.`sluggable_type` = 'Lines::Article' WHERE (`lines_articles`.`id` IS NOT NULL) AND (`friendly_id_slugs`.`sluggable_type` = 'Lines::Article' AND `friendly_id_slugs`.`slug` = 'testing-with-rspec') LIMIT 1
|
20138
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO `lines_articles` (`content`, `created_at`, `hero_image`, `published_at`, `slug`, `sub_title`, `title`, `updated_at`) VALUES ('Content for article', '2014-07-04 12:59:32', 'example.jpg', '2014-07-04 12:59:30', 'testing-with-rspec', 'My subtitle', 'Testing with RSpec', '2014-07-04 12:59:32')[0m
|
20139
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO `lines_authorables` (`article_id`, `author_id`, `created_at`, `updated_at`) VALUES (13, 116, '2014-07-04 12:59:32', '2014-07-04 12:59:32')
|
20140
|
+
[1m[36mLines::Article Load (0.3ms)[0m [1mSELECT `lines_articles`.* FROM `lines_articles` WHERE `lines_articles`.`id` = 13 LIMIT 1[0m
|
20141
|
+
[1m[35mSQL (0.2ms)[0m UPDATE `lines_articles` SET `lines_articles`.`updated_at` = '2014-07-04 12:59:32' WHERE `lines_articles`.`id` = 13
|
20142
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO `lines_authorables` (`article_id`, `author_id`, `created_at`, `updated_at`) VALUES (13, 117, '2014-07-04 12:59:32', '2014-07-04 12:59:32')[0m
|
20143
|
+
[1m[35mLines::Article Load (0.2ms)[0m SELECT `lines_articles`.* FROM `lines_articles` WHERE `lines_articles`.`id` = 13 LIMIT 1
|
20144
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE `lines_articles` SET `lines_articles`.`updated_at` = '2014-07-04 12:59:32' WHERE `lines_articles`.`id` = 13[0m
|
20145
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO `lines_authorables` (`article_id`, `author_id`, `created_at`, `updated_at`) VALUES (13, 118, '2014-07-04 12:59:32', '2014-07-04 12:59:32')
|
20146
|
+
[1m[36mLines::Article Load (0.2ms)[0m [1mSELECT `lines_articles`.* FROM `lines_articles` WHERE `lines_articles`.`id` = 13 LIMIT 1[0m
|
20147
|
+
[1m[35mSQL (0.2ms)[0m UPDATE `lines_articles` SET `lines_articles`.`updated_at` = '2014-07-04 12:59:32' WHERE `lines_articles`.`id` = 13
|
20148
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO `lines_authorables` (`article_id`, `author_id`, `created_at`, `updated_at`) VALUES (13, 119, '2014-07-04 12:59:32', '2014-07-04 12:59:32')[0m
|
20149
|
+
[1m[35mLines::Article Load (0.2ms)[0m SELECT `lines_articles`.* FROM `lines_articles` WHERE `lines_articles`.`id` = 13 LIMIT 1
|
20150
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE `lines_articles` SET `lines_articles`.`updated_at` = '2014-07-04 12:59:32' WHERE `lines_articles`.`id` = 13[0m
|
20151
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO `lines_authorables` (`article_id`, `author_id`, `created_at`, `updated_at`) VALUES (13, 120, '2014-07-04 12:59:32', '2014-07-04 12:59:32')
|
20152
|
+
[1m[36mLines::Article Load (0.2ms)[0m [1mSELECT `lines_articles`.* FROM `lines_articles` WHERE `lines_articles`.`id` = 13 LIMIT 1[0m
|
20153
|
+
[1m[35mSQL (0.2ms)[0m UPDATE `lines_articles` SET `lines_articles`.`updated_at` = '2014-07-04 12:59:32' WHERE `lines_articles`.`id` = 13
|
20154
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE `lines_articles` SET `lines_articles`.`updated_at` = '2014-07-04 12:59:32' WHERE `lines_articles`.`id` = 13[0m
|
20155
|
+
[1m[35mSQL (0.2ms)[0m UPDATE `lines_articles` SET `lines_articles`.`updated_at` = '2014-07-04 12:59:32' WHERE `lines_articles`.`id` = 13
|
20156
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE `lines_articles` SET `lines_articles`.`updated_at` = '2014-07-04 12:59:32' WHERE `lines_articles`.`id` = 13[0m
|
20157
|
+
[1m[35mSQL (0.2ms)[0m UPDATE `lines_articles` SET `lines_articles`.`updated_at` = '2014-07-04 12:59:32' WHERE `lines_articles`.`id` = 13
|
20158
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE `lines_articles` SET `lines_articles`.`updated_at` = '2014-07-04 12:59:32' WHERE `lines_articles`.`id` = 13[0m
|
20159
|
+
[1m[35mFriendlyId::Slug Load (0.3ms)[0m SELECT `friendly_id_slugs`.* FROM `friendly_id_slugs` WHERE `friendly_id_slugs`.`sluggable_id` = 13 AND `friendly_id_slugs`.`sluggable_type` = 'Lines::Article' ORDER BY `friendly_id_slugs`.id DESC LIMIT 1
|
20160
|
+
[1m[36mSQL (0.2ms)[0m [1mDELETE FROM `friendly_id_slugs` WHERE `friendly_id_slugs`.`sluggable_id` = 13 AND `friendly_id_slugs`.`sluggable_type` = 'Lines::Article' AND `friendly_id_slugs`.`slug` = 'testing-with-rspec'[0m
|
20161
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO `friendly_id_slugs` (`created_at`, `slug`, `sluggable_id`, `sluggable_type`) VALUES ('2014-07-04 12:59:32', 'testing-with-rspec', 13, 'Lines::Article')
|
20162
|
+
[1m[36mLines::Picture Load (0.2ms)[0m [1mSELECT `lines_pictures`.* FROM `lines_pictures` WHERE 1=0[0m
|
20163
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
20164
|
+
[1m[36m (2.4ms)[0m [1mROLLBACK[0m
|
20165
|
+
[1m[35m (0.1ms)[0m BEGIN
|
20166
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
20167
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO `lines_authors` (`created_at`, `description`, `email`, `name`, `updated_at`) VALUES ('2014-07-04 12:59:32', 'desc1', 'author1@example.com', 'Author 1', '2014-07-04 12:59:32')
|
20168
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
20169
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
20170
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO `lines_authors` (`created_at`, `description`, `email`, `name`, `updated_at`) VALUES ('2014-07-04 12:59:32', 'desc2', 'author2@example.com', 'Author 2', '2014-07-04 12:59:32')[0m
|
20171
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
20172
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
20173
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO `lines_authors` (`created_at`, `description`, `email`, `name`, `updated_at`) VALUES ('2014-07-04 12:59:32', 'desc3', 'author3@example.com', 'Author 3', '2014-07-04 12:59:32')
|
20174
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
20175
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
20176
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO `lines_authors` (`created_at`, `description`, `email`, `name`, `updated_at`) VALUES ('2014-07-04 12:59:32', 'desc4', 'author4@example.com', 'Author 4', '2014-07-04 12:59:32')[0m
|
20177
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
20178
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
20179
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO `lines_authors` (`created_at`, `description`, `email`, `name`, `updated_at`) VALUES ('2014-07-04 12:59:32', 'desc5', 'author5@example.com', 'Author 5', '2014-07-04 12:59:32')
|
20180
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
20181
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
20182
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO `lines_authors` (`created_at`, `description`, `email`, `name`, `updated_at`) VALUES ('2014-07-04 12:59:32', 'desc6', 'author6@example.com', 'Author 6', '2014-07-04 12:59:32')[0m
|
20183
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
20184
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
20185
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO `lines_authors` (`created_at`, `description`, `email`, `name`, `updated_at`) VALUES ('2014-07-04 12:59:32', 'desc7', 'author7@example.com', 'Author 7', '2014-07-04 12:59:32')
|
20186
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
20187
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
20188
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO `lines_authors` (`created_at`, `description`, `email`, `name`, `updated_at`) VALUES ('2014-07-04 12:59:32', 'desc8', 'author8@example.com', 'Author 8', '2014-07-04 12:59:32')[0m
|
20189
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
20190
|
+
[1m[36mLines::Author Load (0.3ms)[0m [1mSELECT `lines_authors`.* FROM `lines_authors` WHERE `lines_authors`.`id` IN (121, 122, 123, 124, 125, 126, 127, 128)[0m
|
20191
|
+
[1m[35mLines::Article Exists (0.3ms)[0m SELECT 1 AS one FROM `lines_articles` INNER JOIN `friendly_id_slugs` ON `friendly_id_slugs`.`sluggable_id` = `lines_articles`.`id` AND `friendly_id_slugs`.`sluggable_type` = 'Lines::Article' WHERE (`lines_articles`.`id` IS NOT NULL) AND `lines_articles`.`slug` = 'testing-with-rspec' LIMIT 1
|
20192
|
+
[1m[36mLines::Article Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `lines_articles` INNER JOIN `friendly_id_slugs` ON `friendly_id_slugs`.`sluggable_id` = `lines_articles`.`id` AND `friendly_id_slugs`.`sluggable_type` = 'Lines::Article' WHERE (`lines_articles`.`id` IS NOT NULL) AND (`friendly_id_slugs`.`sluggable_type` = 'Lines::Article' AND `friendly_id_slugs`.`slug` = 'testing-with-rspec') LIMIT 1[0m
|
20193
|
+
[1m[35m (1.7ms)[0m ROLLBACK
|
20194
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
20195
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
20196
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO `lines_authors` (`created_at`, `description`, `email`, `name`, `updated_at`) VALUES ('2014-07-04 12:59:32', 'desc1', 'author1@example.com', 'Author 1', '2014-07-04 12:59:32')[0m
|
20197
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
20198
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
20199
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO `lines_authors` (`created_at`, `description`, `email`, `name`, `updated_at`) VALUES ('2014-07-04 12:59:32', 'desc2', 'author2@example.com', 'Author 2', '2014-07-04 12:59:32')
|
20200
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
20201
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
20202
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO `lines_authors` (`created_at`, `description`, `email`, `name`, `updated_at`) VALUES ('2014-07-04 12:59:32', 'desc3', 'author3@example.com', 'Author 3', '2014-07-04 12:59:32')[0m
|
20203
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
20204
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
20205
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO `lines_authors` (`created_at`, `description`, `email`, `name`, `updated_at`) VALUES ('2014-07-04 12:59:32', 'desc4', 'author4@example.com', 'Author 4', '2014-07-04 12:59:32')
|
20206
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
20207
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
20208
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO `lines_authors` (`created_at`, `description`, `email`, `name`, `updated_at`) VALUES ('2014-07-04 12:59:32', 'desc5', 'author5@example.com', 'Author 5', '2014-07-04 12:59:32')[0m
|
20209
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
20210
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
20211
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO `lines_authors` (`created_at`, `description`, `email`, `name`, `updated_at`) VALUES ('2014-07-04 12:59:32', 'desc6', 'author6@example.com', 'Author 6', '2014-07-04 12:59:32')
|
20212
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
20213
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
20214
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO `lines_authors` (`created_at`, `description`, `email`, `name`, `updated_at`) VALUES ('2014-07-04 12:59:32', 'desc7', 'author7@example.com', 'Author 7', '2014-07-04 12:59:32')[0m
|
20215
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
20216
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
20217
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO `lines_authors` (`created_at`, `description`, `email`, `name`, `updated_at`) VALUES ('2014-07-04 12:59:32', 'desc8', 'author8@example.com', 'Author 8', '2014-07-04 12:59:32')
|
20218
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
20219
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
20220
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO `lines_authors` (`created_at`, `description`, `email`, `name`, `updated_at`) VALUES ('2014-07-04 12:59:32', 'desc9', 'author9@example.com', 'Author 9', '2014-07-04 12:59:32')[0m
|
20221
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
20222
|
+
[1m[36mLines::Author Load (0.3ms)[0m [1mSELECT `lines_authors`.* FROM `lines_authors` WHERE `lines_authors`.`id` IN (129, 130, 131, 132, 133, 134, 135, 136, 137)[0m
|
20223
|
+
[1m[35mLines::Article Exists (0.3ms)[0m SELECT 1 AS one FROM `lines_articles` INNER JOIN `friendly_id_slugs` ON `friendly_id_slugs`.`sluggable_id` = `lines_articles`.`id` AND `friendly_id_slugs`.`sluggable_type` = 'Lines::Article' WHERE (`lines_articles`.`id` IS NOT NULL) AND `lines_articles`.`slug` = 'testing-with-rspec' LIMIT 1
|
20224
|
+
[1m[36mLines::Article Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `lines_articles` INNER JOIN `friendly_id_slugs` ON `friendly_id_slugs`.`sluggable_id` = `lines_articles`.`id` AND `friendly_id_slugs`.`sluggable_type` = 'Lines::Article' WHERE (`lines_articles`.`id` IS NOT NULL) AND (`friendly_id_slugs`.`sluggable_type` = 'Lines::Article' AND `friendly_id_slugs`.`slug` = 'testing-with-rspec') LIMIT 1[0m
|
20225
|
+
[1m[35m (1.7ms)[0m ROLLBACK
|
20226
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
20227
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
20228
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO `lines_authors` (`created_at`, `description`, `email`, `name`, `updated_at`) VALUES ('2014-07-04 12:59:32', 'desc1', 'author1@example.com', 'Author 1', '2014-07-04 12:59:32')[0m
|
20229
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
20230
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
20231
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO `lines_authors` (`created_at`, `description`, `email`, `name`, `updated_at`) VALUES ('2014-07-04 12:59:32', 'desc2', 'author2@example.com', 'Author 2', '2014-07-04 12:59:32')
|
20232
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
20233
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
20234
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO `lines_authors` (`created_at`, `description`, `email`, `name`, `updated_at`) VALUES ('2014-07-04 12:59:32', 'desc3', 'author3@example.com', 'Author 3', '2014-07-04 12:59:32')[0m
|
20235
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
20236
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
20237
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO `lines_authors` (`created_at`, `description`, `email`, `name`, `updated_at`) VALUES ('2014-07-04 12:59:32', 'desc4', 'author4@example.com', 'Author 4', '2014-07-04 12:59:32')
|
20238
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
20239
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
20240
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO `lines_authors` (`created_at`, `description`, `email`, `name`, `updated_at`) VALUES ('2014-07-04 12:59:32', 'desc5', 'author5@example.com', 'Author 5', '2014-07-04 12:59:32')[0m
|
20241
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
20242
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
20243
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO `lines_authors` (`created_at`, `description`, `email`, `name`, `updated_at`) VALUES ('2014-07-04 12:59:32', 'desc6', 'author6@example.com', 'Author 6', '2014-07-04 12:59:32')
|
20244
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
20245
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
20246
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO `lines_authors` (`created_at`, `description`, `email`, `name`, `updated_at`) VALUES ('2014-07-04 12:59:32', 'desc7', 'author7@example.com', 'Author 7', '2014-07-04 12:59:32')[0m
|
20247
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
20248
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
20249
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO `lines_authors` (`created_at`, `description`, `email`, `name`, `updated_at`) VALUES ('2014-07-04 12:59:32', 'desc8', 'author8@example.com', 'Author 8', '2014-07-04 12:59:32')
|
20250
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
20251
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
20252
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO `lines_authors` (`created_at`, `description`, `email`, `name`, `updated_at`) VALUES ('2014-07-04 12:59:32', 'desc9', 'author9@example.com', 'Author 9', '2014-07-04 12:59:32')[0m
|
20253
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
20254
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
20255
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO `lines_authors` (`created_at`, `description`, `email`, `name`, `updated_at`) VALUES ('2014-07-04 12:59:32', 'desc10', 'author10@example.com', 'Author 10', '2014-07-04 12:59:32')
|
20256
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
20257
|
+
[1m[35mLines::Author Load (0.4ms)[0m SELECT `lines_authors`.* FROM `lines_authors` WHERE `lines_authors`.`id` IN (138, 139, 140, 141, 142, 143, 144, 145, 146, 147)
|
20258
|
+
[1m[36m (2.3ms)[0m [1mROLLBACK[0m
|
20259
|
+
[1m[35m (0.1ms)[0m BEGIN
|
20260
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
20261
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO `lines_authors` (`created_at`, `description`, `email`, `name`, `updated_at`) VALUES ('2014-07-04 12:59:32', 'desc1', 'author1@example.com', 'Author 1', '2014-07-04 12:59:32')
|
20262
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
20263
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
20264
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO `lines_authors` (`created_at`, `description`, `email`, `name`, `updated_at`) VALUES ('2014-07-04 12:59:32', 'desc2', 'author2@example.com', 'Author 2', '2014-07-04 12:59:32')[0m
|
20265
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
20266
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
20267
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO `lines_authors` (`created_at`, `description`, `email`, `name`, `updated_at`) VALUES ('2014-07-04 12:59:32', 'desc3', 'author3@example.com', 'Author 3', '2014-07-04 12:59:32')
|
20268
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
20269
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
20270
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO `lines_authors` (`created_at`, `description`, `email`, `name`, `updated_at`) VALUES ('2014-07-04 12:59:32', 'desc4', 'author4@example.com', 'Author 4', '2014-07-04 12:59:32')[0m
|
20271
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
20272
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
20273
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO `lines_authors` (`created_at`, `description`, `email`, `name`, `updated_at`) VALUES ('2014-07-04 12:59:32', 'desc5', 'author5@example.com', 'Author 5', '2014-07-04 12:59:32')
|
20274
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
20275
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
20276
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO `lines_authors` (`created_at`, `description`, `email`, `name`, `updated_at`) VALUES ('2014-07-04 12:59:32', 'desc6', 'author6@example.com', 'Author 6', '2014-07-04 12:59:32')[0m
|
20277
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
20278
|
+
[1m[36mLines::Author Load (0.3ms)[0m [1mSELECT `lines_authors`.* FROM `lines_authors` WHERE `lines_authors`.`id` IN (148, 149, 150, 151, 152, 153)[0m
|
20279
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
20280
|
+
[1m[36mLines::Article Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `lines_articles` INNER JOIN `friendly_id_slugs` ON `friendly_id_slugs`.`sluggable_id` = `lines_articles`.`id` AND `friendly_id_slugs`.`sluggable_type` = 'Lines::Article' WHERE (`lines_articles`.`id` IS NOT NULL) AND `lines_articles`.`slug` = 'testing-with-rspec' LIMIT 1[0m
|
20281
|
+
[1m[35mLines::Article Exists (0.3ms)[0m SELECT 1 AS one FROM `lines_articles` INNER JOIN `friendly_id_slugs` ON `friendly_id_slugs`.`sluggable_id` = `lines_articles`.`id` AND `friendly_id_slugs`.`sluggable_type` = 'Lines::Article' WHERE (`lines_articles`.`id` IS NOT NULL) AND (`friendly_id_slugs`.`sluggable_type` = 'Lines::Article' AND `friendly_id_slugs`.`slug` = 'testing-with-rspec') LIMIT 1
|
20282
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO `lines_articles` (`content`, `created_at`, `hero_image`, `published_at`, `slug`, `sub_title`, `title`, `updated_at`) VALUES ('Content for article', '2014-07-04 12:59:32', 'example.jpg', '2014-07-04 12:59:30', 'testing-with-rspec', 'My subtitle', 'Testing with RSpec', '2014-07-04 12:59:32')[0m
|
20283
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO `lines_authorables` (`article_id`, `author_id`, `created_at`, `updated_at`) VALUES (14, 148, '2014-07-04 12:59:32', '2014-07-04 12:59:32')
|
20284
|
+
[1m[36mLines::Article Load (0.2ms)[0m [1mSELECT `lines_articles`.* FROM `lines_articles` WHERE `lines_articles`.`id` = 14 LIMIT 1[0m
|
20285
|
+
[1m[35mSQL (1.7ms)[0m UPDATE `lines_articles` SET `lines_articles`.`updated_at` = '2014-07-04 12:59:32' WHERE `lines_articles`.`id` = 14
|
20286
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO `lines_authorables` (`article_id`, `author_id`, `created_at`, `updated_at`) VALUES (14, 149, '2014-07-04 12:59:32', '2014-07-04 12:59:32')[0m
|
20287
|
+
[1m[35mLines::Article Load (0.2ms)[0m SELECT `lines_articles`.* FROM `lines_articles` WHERE `lines_articles`.`id` = 14 LIMIT 1
|
20288
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE `lines_articles` SET `lines_articles`.`updated_at` = '2014-07-04 12:59:32' WHERE `lines_articles`.`id` = 14[0m
|
20289
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO `lines_authorables` (`article_id`, `author_id`, `created_at`, `updated_at`) VALUES (14, 150, '2014-07-04 12:59:32', '2014-07-04 12:59:32')
|
20290
|
+
[1m[36mLines::Article Load (0.3ms)[0m [1mSELECT `lines_articles`.* FROM `lines_articles` WHERE `lines_articles`.`id` = 14 LIMIT 1[0m
|
20291
|
+
[1m[35mSQL (0.2ms)[0m UPDATE `lines_articles` SET `lines_articles`.`updated_at` = '2014-07-04 12:59:32' WHERE `lines_articles`.`id` = 14
|
20292
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO `lines_authorables` (`article_id`, `author_id`, `created_at`, `updated_at`) VALUES (14, 151, '2014-07-04 12:59:32', '2014-07-04 12:59:32')[0m
|
20293
|
+
[1m[35mLines::Article Load (0.2ms)[0m SELECT `lines_articles`.* FROM `lines_articles` WHERE `lines_articles`.`id` = 14 LIMIT 1
|
20294
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE `lines_articles` SET `lines_articles`.`updated_at` = '2014-07-04 12:59:32' WHERE `lines_articles`.`id` = 14[0m
|
20295
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO `lines_authorables` (`article_id`, `author_id`, `created_at`, `updated_at`) VALUES (14, 152, '2014-07-04 12:59:32', '2014-07-04 12:59:32')
|
20296
|
+
[1m[36mLines::Article Load (0.2ms)[0m [1mSELECT `lines_articles`.* FROM `lines_articles` WHERE `lines_articles`.`id` = 14 LIMIT 1[0m
|
20297
|
+
[1m[35mSQL (0.2ms)[0m UPDATE `lines_articles` SET `lines_articles`.`updated_at` = '2014-07-04 12:59:32' WHERE `lines_articles`.`id` = 14
|
20298
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO `lines_authorables` (`article_id`, `author_id`, `created_at`, `updated_at`) VALUES (14, 153, '2014-07-04 12:59:32', '2014-07-04 12:59:32')[0m
|
20299
|
+
[1m[35mLines::Article Load (0.2ms)[0m SELECT `lines_articles`.* FROM `lines_articles` WHERE `lines_articles`.`id` = 14 LIMIT 1
|
20300
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE `lines_articles` SET `lines_articles`.`updated_at` = '2014-07-04 12:59:32' WHERE `lines_articles`.`id` = 14[0m
|
20301
|
+
[1m[35mSQL (0.2ms)[0m UPDATE `lines_articles` SET `lines_articles`.`updated_at` = '2014-07-04 12:59:32' WHERE `lines_articles`.`id` = 14
|
20302
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE `lines_articles` SET `lines_articles`.`updated_at` = '2014-07-04 12:59:32' WHERE `lines_articles`.`id` = 14[0m
|
20303
|
+
[1m[35mSQL (0.2ms)[0m UPDATE `lines_articles` SET `lines_articles`.`updated_at` = '2014-07-04 12:59:32' WHERE `lines_articles`.`id` = 14
|
20304
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE `lines_articles` SET `lines_articles`.`updated_at` = '2014-07-04 12:59:32' WHERE `lines_articles`.`id` = 14[0m
|
20305
|
+
[1m[35mSQL (0.2ms)[0m UPDATE `lines_articles` SET `lines_articles`.`updated_at` = '2014-07-04 12:59:32' WHERE `lines_articles`.`id` = 14
|
20306
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE `lines_articles` SET `lines_articles`.`updated_at` = '2014-07-04 12:59:32' WHERE `lines_articles`.`id` = 14[0m
|
20307
|
+
[1m[35mFriendlyId::Slug Load (0.3ms)[0m SELECT `friendly_id_slugs`.* FROM `friendly_id_slugs` WHERE `friendly_id_slugs`.`sluggable_id` = 14 AND `friendly_id_slugs`.`sluggable_type` = 'Lines::Article' ORDER BY `friendly_id_slugs`.id DESC LIMIT 1
|
20308
|
+
[1m[36mSQL (0.2ms)[0m [1mDELETE FROM `friendly_id_slugs` WHERE `friendly_id_slugs`.`sluggable_id` = 14 AND `friendly_id_slugs`.`sluggable_type` = 'Lines::Article' AND `friendly_id_slugs`.`slug` = 'testing-with-rspec'[0m
|
20309
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO `friendly_id_slugs` (`created_at`, `slug`, `sluggable_id`, `sluggable_type`) VALUES ('2014-07-04 12:59:32', 'testing-with-rspec', 14, 'Lines::Article')
|
20310
|
+
[1m[36mActsAsTaggableOn::Tag Load (0.3ms)[0m [1mSELECT `tags`.* FROM `tags` WHERE (LOWER(name) = LOWER('tag1') OR LOWER(name) = LOWER('tag2'))[0m
|
20311
|
+
[1m[35mActsAsTaggableOn::Tag Exists (0.3ms)[0m SELECT 1 AS one FROM `tags` WHERE `tags`.`name` = BINARY 'tag1' LIMIT 1
|
20312
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO `tags` (`name`) VALUES ('tag1')[0m
|
20313
|
+
[1m[35mActsAsTaggableOn::Tag Exists (0.3ms)[0m SELECT 1 AS one FROM `tags` WHERE `tags`.`name` = BINARY 'tag2' LIMIT 1
|
20314
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO `tags` (`name`) VALUES ('tag2')[0m
|
20315
|
+
[1m[35mActsAsTaggableOn::Tag Load (0.3ms)[0m SELECT `tags`.* FROM `tags` INNER JOIN `taggings` ON `tags`.`id` = `taggings`.`tag_id` WHERE `taggings`.`taggable_id` = 14 AND `taggings`.`taggable_type` = 'Lines::Article' AND (taggings.context = 'tags' AND taggings.tagger_id IS NULL)
|
20316
|
+
[1m[36mActsAsTaggableOn::Tagging Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `taggings` WHERE (`taggings`.`tag_id` = BINARY 9 AND `taggings`.`taggable_type` = 'Lines::Article' AND `taggings`.`taggable_id` = 14 AND `taggings`.`context` = 'tags' AND `taggings`.`tagger_id` IS NULL AND `taggings`.`tagger_type` IS NULL) LIMIT 1[0m
|
20317
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO `taggings` (`context`, `created_at`, `tag_id`, `taggable_id`, `taggable_type`) VALUES ('tags', '2014-07-04 12:59:32', 9, 14, 'Lines::Article')
|
20318
|
+
[1m[36mActsAsTaggableOn::Tag Load (0.2ms)[0m [1mSELECT `tags`.* FROM `tags` WHERE `tags`.`id` = 9 LIMIT 1[0m
|
20319
|
+
[1m[35mSQL (0.2ms)[0m UPDATE `tags` SET `taggings_count` = COALESCE(`taggings_count`, 0) + 1 WHERE `tags`.`id` = 9
|
20320
|
+
[1m[36mActsAsTaggableOn::Tagging Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `taggings` WHERE (`taggings`.`tag_id` = BINARY 10 AND `taggings`.`taggable_type` = 'Lines::Article' AND `taggings`.`taggable_id` = 14 AND `taggings`.`context` = 'tags' AND `taggings`.`tagger_id` IS NULL AND `taggings`.`tagger_type` IS NULL) LIMIT 1[0m
|
20321
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO `taggings` (`context`, `created_at`, `tag_id`, `taggable_id`, `taggable_type`) VALUES ('tags', '2014-07-04 12:59:32', 10, 14, 'Lines::Article')
|
20322
|
+
[1m[36mActsAsTaggableOn::Tag Load (0.2ms)[0m [1mSELECT `tags`.* FROM `tags` WHERE `tags`.`id` = 10 LIMIT 1[0m
|
20323
|
+
[1m[35mSQL (0.2ms)[0m UPDATE `tags` SET `taggings_count` = COALESCE(`taggings_count`, 0) + 1 WHERE `tags`.`id` = 10
|
20324
|
+
[1m[36mLines::Picture Load (0.2ms)[0m [1mSELECT `lines_pictures`.* FROM `lines_pictures` WHERE 1=0[0m
|
20325
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
20326
|
+
[1m[36m (2.5ms)[0m [1mROLLBACK[0m
|
20327
|
+
[1m[35m (0.1ms)[0m BEGIN
|
20328
|
+
[1m[36mLines::Article Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `lines_articles` INNER JOIN `friendly_id_slugs` ON `friendly_id_slugs`.`sluggable_id` = `lines_articles`.`id` AND `friendly_id_slugs`.`sluggable_type` = 'Lines::Article' WHERE (`lines_articles`.`id` IS NOT NULL) AND `lines_articles`.`slug` = 'testing-with-rspec' LIMIT 1[0m
|
20329
|
+
[1m[35mLines::Article Exists (0.3ms)[0m SELECT 1 AS one FROM `lines_articles` INNER JOIN `friendly_id_slugs` ON `friendly_id_slugs`.`sluggable_id` = `lines_articles`.`id` AND `friendly_id_slugs`.`sluggable_type` = 'Lines::Article' WHERE (`lines_articles`.`id` IS NOT NULL) AND (`friendly_id_slugs`.`sluggable_type` = 'Lines::Article' AND `friendly_id_slugs`.`slug` = 'testing-with-rspec') LIMIT 1
|
20330
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
20331
|
+
[1m[35m (0.1ms)[0m BEGIN
|
20332
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
20333
|
+
[1m[35mLines::User Exists (0.3ms)[0m SELECT 1 AS one FROM `lines_users` WHERE `lines_users`.`email` = BINARY 'hope@kemmer.name' LIMIT 1
|
20334
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO `lines_users` (`created_at`, `email`, `password_digest`, `updated_at`) VALUES ('2014-07-04 12:59:32', 'hope@kemmer.name', '$2a$04$sozcl/lF2.aRYBbFaFk12eucqu3JMc4K5QF3BmVZrlWebON29iz2y', '2014-07-04 12:59:32')[0m
|
20335
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
20336
|
+
Started GET "/login" for 127.0.0.1 at 2014-07-04 14:59:32 +0200
|
20337
|
+
Processing by Lines::SessionsController#new as HTML
|
20338
|
+
Rendered /home/kingpinky/workspace/gems/lines/app/views/lines/sessions/new.html.erb within layouts/lines/admin (1.2ms)
|
20339
|
+
Rendered /home/kingpinky/workspace/gems/lines/app/views/layouts/lines/_messages.html.erb (0.1ms)
|
20340
|
+
Completed 200 OK in 3ms (Views: 2.4ms | ActiveRecord: 0.0ms)
|
20341
|
+
Started POST "/sessions" for 127.0.0.1 at 2014-07-04 14:59:32 +0200
|
20342
|
+
Processing by Lines::SessionsController#create as HTML
|
20343
|
+
Parameters: {"utf8"=>"✓", "email"=>"invalid_email", "password"=>"[FILTERED]", "commit"=>"Login"}
|
20344
|
+
[1m[36mLines::User Load (0.3ms)[0m [1mSELECT `lines_users`.* FROM `lines_users` WHERE `lines_users`.`email` = 'invalid_email' LIMIT 1[0m
|
20345
|
+
Rendered /home/kingpinky/workspace/gems/lines/app/views/lines/sessions/new.html.erb within layouts/lines/admin (1.1ms)
|
20346
|
+
Rendered /home/kingpinky/workspace/gems/lines/app/views/layouts/lines/_messages.html.erb (0.1ms)
|
20347
|
+
Completed 200 OK in 3ms (Views: 2.1ms | ActiveRecord: 0.3ms)
|
20348
|
+
[1m[35m (4.2ms)[0m ROLLBACK
|
20349
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
20350
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
20351
|
+
[1m[36mLines::User Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `lines_users` WHERE `lines_users`.`email` = BINARY 'valid@example.com' LIMIT 1[0m
|
20352
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO `lines_users` (`created_at`, `email`, `password_digest`, `updated_at`) VALUES ('2014-07-04 12:59:32', 'valid@example.com', '$2a$04$ts2ZhsiJYjcwR3kV.CiJpOc64lwFhsO74tjOUID567muO5DazgvFi', '2014-07-04 12:59:32')
|
20353
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
20354
|
+
Started GET "/login" for 127.0.0.1 at 2014-07-04 14:59:32 +0200
|
20355
|
+
Processing by Lines::SessionsController#new as HTML
|
20356
|
+
Rendered /home/kingpinky/workspace/gems/lines/app/views/lines/sessions/new.html.erb within layouts/lines/admin (1.1ms)
|
20357
|
+
Rendered /home/kingpinky/workspace/gems/lines/app/views/layouts/lines/_messages.html.erb (0.1ms)
|
20358
|
+
Completed 200 OK in 2ms (Views: 2.1ms | ActiveRecord: 0.0ms)
|
20359
|
+
Started POST "/sessions" for 127.0.0.1 at 2014-07-04 14:59:32 +0200
|
20360
|
+
Processing by Lines::SessionsController#create as HTML
|
20361
|
+
Parameters: {"utf8"=>"✓", "email"=>"valid@example.com", "password"=>"[FILTERED]", "commit"=>"Login"}
|
20362
|
+
[1m[35mLines::User Load (0.3ms)[0m SELECT `lines_users`.* FROM `lines_users` WHERE `lines_users`.`email` = 'valid@example.com' LIMIT 1
|
20363
|
+
Redirected to http://www.example.com/admin
|
20364
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.3ms)
|
20365
|
+
Started GET "/admin" for 127.0.0.1 at 2014-07-04 14:59:32 +0200
|
20366
|
+
Processing by Lines::Admin::ArticlesController#index as HTML
|
20367
|
+
[1m[36mLines::User Load (0.3ms)[0m [1mSELECT `lines_users`.* FROM `lines_users` WHERE `lines_users`.`id` = 11 LIMIT 1[0m
|
20368
|
+
[1m[35mLines::Article Load (0.3ms)[0m SELECT `lines_articles`.* FROM `lines_articles` ORDER BY published ASC, featured DESC, published_at DESC LIMIT 25 OFFSET 0
|
20369
|
+
Rendered /home/kingpinky/workspace/gems/lines/app/views/lines/admin/articles/index.html.erb within layouts/lines/admin (1.4ms)
|
20370
|
+
Rendered /home/kingpinky/workspace/gems/lines/app/views/layouts/lines/_messages.html.erb (0.1ms)
|
20371
|
+
Completed 200 OK in 5ms (Views: 2.6ms | ActiveRecord: 0.6ms)
|
20372
|
+
[1m[36m (41.1ms)[0m [1mROLLBACK[0m
|
20373
|
+
[1m[35m (0.1ms)[0m BEGIN
|
20374
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
20375
|
+
[1m[35mLines::User Exists (0.4ms)[0m SELECT 1 AS one FROM `lines_users` WHERE `lines_users`.`email` = BINARY 'valid@example.com' LIMIT 1
|
20376
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO `lines_users` (`created_at`, `email`, `password_digest`, `updated_at`) VALUES ('2014-07-04 12:59:32', 'valid@example.com', '$2a$04$RTkREYzpczJtuHvnnnQHwe8V/jKefNcevr/vKM3T6PFTooNOdb2Tu', '2014-07-04 12:59:32')[0m
|
20377
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
20378
|
+
Started GET "/login" for 127.0.0.1 at 2014-07-04 14:59:32 +0200
|
20379
|
+
Processing by Lines::SessionsController#new as HTML
|
20380
|
+
Rendered /home/kingpinky/workspace/gems/lines/app/views/lines/sessions/new.html.erb within layouts/lines/admin (1.1ms)
|
20381
|
+
Rendered /home/kingpinky/workspace/gems/lines/app/views/layouts/lines/_messages.html.erb (0.1ms)
|
20382
|
+
Completed 200 OK in 2ms (Views: 2.3ms | ActiveRecord: 0.0ms)
|
20383
|
+
Started POST "/sessions" for 127.0.0.1 at 2014-07-04 14:59:32 +0200
|
20384
|
+
Processing by Lines::SessionsController#create as HTML
|
20385
|
+
Parameters: {"utf8"=>"✓", "email"=>"valid@example.com", "password"=>"[FILTERED]", "commit"=>"Login"}
|
20386
|
+
[1m[36mLines::User Load (0.3ms)[0m [1mSELECT `lines_users`.* FROM `lines_users` WHERE `lines_users`.`email` = 'valid@example.com' LIMIT 1[0m
|
20387
|
+
Rendered /home/kingpinky/workspace/gems/lines/app/views/lines/sessions/new.html.erb within layouts/lines/admin (0.9ms)
|
20388
|
+
Rendered /home/kingpinky/workspace/gems/lines/app/views/layouts/lines/_messages.html.erb (0.1ms)
|
20389
|
+
Completed 200 OK in 5ms (Views: 1.9ms | ActiveRecord: 0.3ms)
|
20390
|
+
[1m[35m (3.5ms)[0m ROLLBACK
|
20391
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
20392
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
20393
|
+
[1m[36mLines::User Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `lines_users` WHERE `lines_users`.`email` = BINARY 'valid@example.com' LIMIT 1[0m
|
20394
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO `lines_users` (`created_at`, `email`, `password_digest`, `updated_at`) VALUES ('2014-07-04 12:59:32', 'valid@example.com', '$2a$04$gnyUqVuVHqaKEi.UBA7qdejxSUEEMtFwID.6g8XTgluK63s3Glfeq', '2014-07-04 12:59:32')
|
20395
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
20396
|
+
Started GET "/login" for 127.0.0.1 at 2014-07-04 14:59:32 +0200
|
20397
|
+
Processing by Lines::SessionsController#new as HTML
|
20398
|
+
Rendered /home/kingpinky/workspace/gems/lines/app/views/lines/sessions/new.html.erb within layouts/lines/admin (1.1ms)
|
20399
|
+
Rendered /home/kingpinky/workspace/gems/lines/app/views/layouts/lines/_messages.html.erb (0.1ms)
|
20400
|
+
Completed 200 OK in 2ms (Views: 2.2ms | ActiveRecord: 0.0ms)
|
20401
|
+
Started POST "/sessions" for 127.0.0.1 at 2014-07-04 14:59:32 +0200
|
20402
|
+
Processing by Lines::SessionsController#create as HTML
|
20403
|
+
Parameters: {"utf8"=>"✓", "email"=>"valid@example.com", "password"=>"[FILTERED]", "commit"=>"Login"}
|
20404
|
+
[1m[35mLines::User Load (0.3ms)[0m SELECT `lines_users`.* FROM `lines_users` WHERE `lines_users`.`email` = 'valid@example.com' LIMIT 1
|
20405
|
+
Redirected to http://www.example.com/admin
|
20406
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.3ms)
|
20407
|
+
Started GET "/admin" for 127.0.0.1 at 2014-07-04 14:59:32 +0200
|
20408
|
+
Processing by Lines::Admin::ArticlesController#index as HTML
|
20409
|
+
[1m[36mLines::User Load (0.3ms)[0m [1mSELECT `lines_users`.* FROM `lines_users` WHERE `lines_users`.`id` = 13 LIMIT 1[0m
|
20410
|
+
[1m[35mLines::Article Load (0.2ms)[0m SELECT `lines_articles`.* FROM `lines_articles` ORDER BY published ASC, featured DESC, published_at DESC LIMIT 25 OFFSET 0
|
20411
|
+
Rendered /home/kingpinky/workspace/gems/lines/app/views/lines/admin/articles/index.html.erb within layouts/lines/admin (1.4ms)
|
20412
|
+
Rendered /home/kingpinky/workspace/gems/lines/app/views/layouts/lines/_messages.html.erb (0.1ms)
|
20413
|
+
Completed 200 OK in 5ms (Views: 2.5ms | ActiveRecord: 0.5ms)
|
20414
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
20415
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO `lines_authors` (`created_at`, `description`, `email`, `name`, `updated_at`) VALUES ('2014-07-04 12:59:32', 'dsf', 'imani.goodwin@sauer.com', 'Foo Bar', '2014-07-04 12:59:32')
|
20416
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
20417
|
+
Started GET "/admin/articles" for 127.0.0.1 at 2014-07-04 14:59:32 +0200
|
20418
|
+
Processing by Lines::Admin::ArticlesController#index as HTML
|
20419
|
+
[1m[35mLines::User Load (0.3ms)[0m SELECT `lines_users`.* FROM `lines_users` WHERE `lines_users`.`id` = 13 LIMIT 1
|
20420
|
+
[1m[36mLines::Article Load (0.2ms)[0m [1mSELECT `lines_articles`.* FROM `lines_articles` ORDER BY published ASC, featured DESC, published_at DESC LIMIT 25 OFFSET 0[0m
|
20421
|
+
Rendered /home/kingpinky/workspace/gems/lines/app/views/lines/admin/articles/index.html.erb within layouts/lines/admin (1.3ms)
|
20422
|
+
Rendered /home/kingpinky/workspace/gems/lines/app/views/layouts/lines/_messages.html.erb (0.1ms)
|
20423
|
+
Completed 200 OK in 5ms (Views: 2.4ms | ActiveRecord: 0.5ms)
|
20424
|
+
Started GET "/admin/articles/new" for 127.0.0.1 at 2014-07-04 14:59:32 +0200
|
20425
|
+
Processing by Lines::Admin::ArticlesController#new as HTML
|
20426
|
+
[1m[35mLines::User Load (0.3ms)[0m SELECT `lines_users`.* FROM `lines_users` WHERE `lines_users`.`id` = 13 LIMIT 1
|
20427
|
+
[1m[36mLines::Author Load (0.3ms)[0m [1mSELECT `lines_authors`.* FROM `lines_authors`[0m
|
20428
|
+
Rendered /home/kingpinky/workspace/gems/lines/app/views/lines/admin/articles/_formatting_guide.html.erb (0.0ms)
|
20429
|
+
Rendered /home/kingpinky/workspace/gems/lines/app/views/lines/admin/articles/_form.html.erb (7.3ms)
|
20430
|
+
Rendered /home/kingpinky/workspace/gems/lines/app/views/lines/admin/articles/_picture_box.html.erb (1.1ms)
|
20431
|
+
Rendered /home/kingpinky/workspace/gems/lines/app/views/lines/admin/articles/new.html.erb within layouts/lines/admin (9.1ms)
|
20432
|
+
Rendered /home/kingpinky/workspace/gems/lines/app/views/layouts/lines/_messages.html.erb (0.1ms)
|
20433
|
+
Completed 200 OK in 12ms (Views: 9.9ms | ActiveRecord: 0.6ms)
|
20434
|
+
Started POST "/admin/articles" for 127.0.0.1 at 2014-07-04 14:59:32 +0200
|
20435
|
+
Processing by Lines::Admin::ArticlesController#create as HTML
|
20436
|
+
Parameters: {"utf8"=>"✓", "article"=>{"hero_image"=>#<ActionDispatch::Http::UploadedFile:0x00000008347c10 @tempfile=#<Tempfile:/tmp/RackMultipart20140704-18980-gggcyu>, @original_filename="example.jpg", @content_type="image/jpeg", @headers="Content-Disposition: form-data; name=\"article[hero_image]\"; filename=\"example.jpg\"\r\nContent-Type: image/jpeg\r\nContent-Length: 66453\r\n">, "hero_image_file"=>"", "hero_image_cache"=>"", "short_hero_image"=>"", "title"=>"How to Test", "sub_title"=>"with RSpec and Rails", "content"=>"Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod\r\ntempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam,\r\nquis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo\r\nconsequat. Duis aute irure dolor in reprehenderit in voluptate velit esse\r\ncillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non\r\nproident, sunt in culpa qui officia deserunt mollit anim id est laborum.", "author_ids"=>["", "154"], "gplus_url"=>"http://gplus.de/opoloo", "document_cache"=>"", "tag_list"=>"tag1, tag2", "published_at"=>"2014-07-04"}, "commit"=>"Save Article"}
|
20437
|
+
[1m[35mLines::User Load (0.3ms)[0m SELECT `lines_users`.* FROM `lines_users` WHERE `lines_users`.`id` = 13 LIMIT 1
|
20438
|
+
[1m[36mLines::Author Load (0.3ms)[0m [1mSELECT `lines_authors`.* FROM `lines_authors` WHERE `lines_authors`.`id` = 154 LIMIT 1[0m
|
20439
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
20440
|
+
[1m[36mLines::Article Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `lines_articles` INNER JOIN `friendly_id_slugs` ON `friendly_id_slugs`.`sluggable_id` = `lines_articles`.`id` AND `friendly_id_slugs`.`sluggable_type` = 'Lines::Article' WHERE (`lines_articles`.`id` IS NOT NULL) AND `lines_articles`.`slug` = 'how-to-test' LIMIT 1[0m
|
20441
|
+
[1m[35mLines::Article Exists (0.2ms)[0m SELECT 1 AS one FROM `lines_articles` INNER JOIN `friendly_id_slugs` ON `friendly_id_slugs`.`sluggable_id` = `lines_articles`.`id` AND `friendly_id_slugs`.`sluggable_type` = 'Lines::Article' WHERE (`lines_articles`.`id` IS NOT NULL) AND (`friendly_id_slugs`.`sluggable_type` = 'Lines::Article' AND `friendly_id_slugs`.`slug` = 'how-to-test') LIMIT 1
|
20442
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO `lines_articles` (`content`, `created_at`, `gplus_url`, `hero_image`, `published_at`, `short_hero_image`, `slug`, `sub_title`, `title`, `updated_at`) VALUES ('Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod\r\ntempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam,\r\nquis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo\r\nconsequat. Duis aute irure dolor in reprehenderit in voluptate velit esse\r\ncillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non\r\nproident, sunt in culpa qui officia deserunt mollit anim id est laborum.', '2014-07-04 12:59:32', 'http://gplus.de/opoloo', 'example.jpg', '2014-07-04 00:00:00', '', 'how-to-test', 'with RSpec and Rails', 'How to Test', '2014-07-04 12:59:32')[0m
|
20443
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO `lines_authorables` (`article_id`, `author_id`, `created_at`, `updated_at`) VALUES (15, 154, '2014-07-04 12:59:32', '2014-07-04 12:59:32')
|
20444
|
+
[1m[36mLines::Article Load (0.2ms)[0m [1mSELECT `lines_articles`.* FROM `lines_articles` WHERE `lines_articles`.`id` = 15 LIMIT 1[0m
|
20445
|
+
[1m[35mSQL (0.2ms)[0m UPDATE `lines_articles` SET `lines_articles`.`updated_at` = '2014-07-04 12:59:32' WHERE `lines_articles`.`id` = 15
|
20446
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE `lines_articles` SET `lines_articles`.`updated_at` = '2014-07-04 12:59:32' WHERE `lines_articles`.`id` = 15[0m
|
20447
|
+
[1m[35mFriendlyId::Slug Load (0.3ms)[0m SELECT `friendly_id_slugs`.* FROM `friendly_id_slugs` WHERE `friendly_id_slugs`.`sluggable_id` = 15 AND `friendly_id_slugs`.`sluggable_type` = 'Lines::Article' ORDER BY `friendly_id_slugs`.id DESC LIMIT 1
|
20448
|
+
[1m[36mSQL (0.2ms)[0m [1mDELETE FROM `friendly_id_slugs` WHERE `friendly_id_slugs`.`sluggable_id` = 15 AND `friendly_id_slugs`.`sluggable_type` = 'Lines::Article' AND `friendly_id_slugs`.`slug` = 'how-to-test'[0m
|
20449
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO `friendly_id_slugs` (`created_at`, `slug`, `sluggable_id`, `sluggable_type`) VALUES ('2014-07-04 12:59:32', 'how-to-test', 15, 'Lines::Article')
|
20450
|
+
[1m[36mActsAsTaggableOn::Tag Load (0.3ms)[0m [1mSELECT `tags`.* FROM `tags` WHERE (LOWER(name) = LOWER('tag1') OR LOWER(name) = LOWER('tag2'))[0m
|
20451
|
+
[1m[35mActsAsTaggableOn::Tag Exists (0.2ms)[0m SELECT 1 AS one FROM `tags` WHERE `tags`.`name` = BINARY 'tag1' LIMIT 1
|
20452
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO `tags` (`name`) VALUES ('tag1')[0m
|
20453
|
+
[1m[35mActsAsTaggableOn::Tag Exists (0.2ms)[0m SELECT 1 AS one FROM `tags` WHERE `tags`.`name` = BINARY 'tag2' LIMIT 1
|
20454
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO `tags` (`name`) VALUES ('tag2')[0m
|
20455
|
+
[1m[35mActsAsTaggableOn::Tag Load (0.2ms)[0m SELECT `tags`.* FROM `tags` INNER JOIN `taggings` ON `tags`.`id` = `taggings`.`tag_id` WHERE `taggings`.`taggable_id` = 15 AND `taggings`.`taggable_type` = 'Lines::Article' AND (taggings.context = 'tags' AND taggings.tagger_id IS NULL)
|
20456
|
+
[1m[36mActsAsTaggableOn::Tagging Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `taggings` WHERE (`taggings`.`tag_id` = BINARY 11 AND `taggings`.`taggable_type` = 'Lines::Article' AND `taggings`.`taggable_id` = 15 AND `taggings`.`context` = 'tags' AND `taggings`.`tagger_id` IS NULL AND `taggings`.`tagger_type` IS NULL) LIMIT 1[0m
|
20457
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO `taggings` (`context`, `created_at`, `tag_id`, `taggable_id`, `taggable_type`) VALUES ('tags', '2014-07-04 12:59:32', 11, 15, 'Lines::Article')
|
20458
|
+
[1m[36mActsAsTaggableOn::Tag Load (0.2ms)[0m [1mSELECT `tags`.* FROM `tags` WHERE `tags`.`id` = 11 LIMIT 1[0m
|
20459
|
+
[1m[35mSQL (0.2ms)[0m UPDATE `tags` SET `taggings_count` = COALESCE(`taggings_count`, 0) + 1 WHERE `tags`.`id` = 11
|
20460
|
+
[1m[36mActsAsTaggableOn::Tagging Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `taggings` WHERE (`taggings`.`tag_id` = BINARY 12 AND `taggings`.`taggable_type` = 'Lines::Article' AND `taggings`.`taggable_id` = 15 AND `taggings`.`context` = 'tags' AND `taggings`.`tagger_id` IS NULL AND `taggings`.`tagger_type` IS NULL) LIMIT 1[0m
|
20461
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO `taggings` (`context`, `created_at`, `tag_id`, `taggable_id`, `taggable_type`) VALUES ('tags', '2014-07-04 12:59:32', 12, 15, 'Lines::Article')
|
20462
|
+
[1m[36mActsAsTaggableOn::Tag Load (0.2ms)[0m [1mSELECT `tags`.* FROM `tags` WHERE `tags`.`id` = 12 LIMIT 1[0m
|
20463
|
+
[1m[35mSQL (0.2ms)[0m UPDATE `tags` SET `taggings_count` = COALESCE(`taggings_count`, 0) + 1 WHERE `tags`.`id` = 12
|
20464
|
+
[1m[36mLines::Picture Load (0.1ms)[0m [1mSELECT `lines_pictures`.* FROM `lines_pictures` WHERE 1=0[0m
|
20465
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
20466
|
+
Redirected to http://www.example.com/admin/articles/how-to-test
|
20467
|
+
Completed 302 Found in 37ms (ActiveRecord: 5.8ms)
|
20468
|
+
Started GET "/admin/articles/how-to-test" for 127.0.0.1 at 2014-07-04 14:59:32 +0200
|
20469
|
+
Processing by Lines::Admin::ArticlesController#show as HTML
|
20470
|
+
Parameters: {"id"=>"how-to-test"}
|
20471
|
+
[1m[36mLines::User Load (0.3ms)[0m [1mSELECT `lines_users`.* FROM `lines_users` WHERE `lines_users`.`id` = 13 LIMIT 1[0m
|
20472
|
+
[1m[35mLines::Article Load (0.2ms)[0m SELECT `lines_articles`.* FROM `lines_articles` WHERE `lines_articles`.`slug` = 'how-to-test' ORDER BY `lines_articles`.`id` ASC LIMIT 1
|
20473
|
+
[1m[36mLines::Author Load (0.3ms)[0m [1mSELECT `lines_authors`.* FROM `lines_authors` INNER JOIN `lines_authorables` ON `lines_authors`.`id` = `lines_authorables`.`author_id` WHERE `lines_authorables`.`article_id` = 15[0m
|
20474
|
+
Rendered /home/kingpinky/workspace/gems/lines/app/views/lines/articles/_article.html.erb (5.0ms)
|
20475
|
+
Rendered /home/kingpinky/workspace/gems/lines/app/views/lines/admin/articles/show.html.erb within layouts/lines/preview (6.7ms)
|
20476
|
+
Completed 200 OK in 10ms (Views: 7.1ms | ActiveRecord: 0.8ms)
|
20477
|
+
Started POST "/admin/articles/how-to-test/toggle_publish" for 127.0.0.1 at 2014-07-04 14:59:32 +0200
|
20478
|
+
Processing by Lines::Admin::ArticlesController#toggle_publish as HTML
|
20479
|
+
Parameters: {"article_id"=>"how-to-test"}
|
20480
|
+
[1m[35mLines::User Load (0.3ms)[0m SELECT `lines_users`.* FROM `lines_users` WHERE `lines_users`.`id` = 13 LIMIT 1
|
20481
|
+
[1m[36mLines::Article Load (0.3ms)[0m [1mSELECT `lines_articles`.* FROM `lines_articles` WHERE `lines_articles`.`slug` = 'how-to-test' ORDER BY `lines_articles`.`id` ASC LIMIT 1[0m
|
20482
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
20483
|
+
[1m[36m (0.4ms)[0m [1mSELECT `lines_authors`.id FROM `lines_authors` INNER JOIN `lines_authorables` ON `lines_authors`.`id` = `lines_authorables`.`author_id` WHERE `lines_authorables`.`article_id` = 15[0m
|
20484
|
+
[1m[35mSQL (0.4ms)[0m UPDATE `lines_articles` SET `published` = 1, `updated_at` = '2014-07-04 12:59:32' WHERE `lines_articles`.`id` = 15
|
20485
|
+
[1m[36mFriendlyId::Slug Load (0.3ms)[0m [1mSELECT `friendly_id_slugs`.* FROM `friendly_id_slugs` WHERE `friendly_id_slugs`.`sluggable_id` = 15 AND `friendly_id_slugs`.`sluggable_type` = 'Lines::Article' ORDER BY `friendly_id_slugs`.id DESC LIMIT 1[0m
|
20486
|
+
[1m[35mLines::Picture Load (0.2ms)[0m SELECT `lines_pictures`.* FROM `lines_pictures` WHERE 1=0
|
20487
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
20488
|
+
Redirected to http://www.example.com/admin/articles
|
20489
|
+
Completed 302 Found in 13ms (ActiveRecord: 2.1ms)
|
20490
|
+
Started GET "/admin/articles" for 127.0.0.1 at 2014-07-04 14:59:32 +0200
|
20491
|
+
Processing by Lines::Admin::ArticlesController#index as HTML
|
20492
|
+
[1m[35mLines::User Load (0.3ms)[0m SELECT `lines_users`.* FROM `lines_users` WHERE `lines_users`.`id` = 13 LIMIT 1
|
20493
|
+
[1m[36mLines::Article Load (0.3ms)[0m [1mSELECT `lines_articles`.* FROM `lines_articles` ORDER BY published ASC, featured DESC, published_at DESC LIMIT 25 OFFSET 0[0m
|
20494
|
+
[1m[35m (0.3ms)[0m SELECT COUNT(*) FROM `lines_articles`
|
20495
|
+
Rendered /home/kingpinky/workspace/gems/lines/app/views/lines/admin/articles/index.html.erb within layouts/lines/admin (10.7ms)
|
20496
|
+
Rendered /home/kingpinky/workspace/gems/lines/app/views/layouts/lines/_messages.html.erb (0.1ms)
|
20497
|
+
Completed 200 OK in 15ms (Views: 11.7ms | ActiveRecord: 0.9ms)
|
20498
|
+
[1m[36m (5.0ms)[0m [1mROLLBACK[0m
|
20499
|
+
[1m[35m (0.1ms)[0m BEGIN
|
20500
|
+
[1m[36mLines::User Exists (0.4ms)[0m [1mSELECT 1 AS one FROM `lines_users` WHERE `lines_users`.`email` IS NULL LIMIT 1[0m
|
20501
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
20502
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
20503
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
20504
|
+
[1m[36mLines::User Exists (0.4ms)[0m [1mSELECT 1 AS one FROM `lines_users` WHERE `lines_users`.`email` = BINARY 'javier.hansen@langkris.org' LIMIT 1[0m
|
20505
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO `lines_users` (`created_at`, `email`, `password_digest`, `updated_at`) VALUES ('2014-07-04 12:59:32', 'javier.hansen@langkris.org', '$2a$04$c.Q4fwo.Ohf9IFnQ4Dng.e5NePt3QrjClKtAcqqwRq7m3ZcyC1OSG', '2014-07-04 12:59:32')
|
20506
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
20507
|
+
[1m[35mLines::User Exists (0.4ms)[0m SELECT 1 AS one FROM `lines_users` WHERE (`lines_users`.`email` = BINARY 'javier.hansen@langkris.org' AND `lines_users`.`id` != 14) LIMIT 1
|
20508
|
+
[1m[36m (1.9ms)[0m [1mROLLBACK[0m
|
20509
|
+
[1m[35m (0.2ms)[0m BEGIN
|
20510
|
+
[1m[36mLines::User Exists (0.4ms)[0m [1mSELECT 1 AS one FROM `lines_users` WHERE `lines_users`.`email` = BINARY 'derrick@dooley.name' LIMIT 1[0m
|
20511
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
20512
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
20513
|
+
[1m[35m (0.3ms)[0m SAVEPOINT active_record_1
|
20514
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO `lines_authors` (`created_at`, `description`, `email`, `name`, `updated_at`) VALUES ('2014-07-04 12:59:32', 'desc1', 'author1@example.com', 'Author 1', '2014-07-04 12:59:32')[0m
|
20515
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
20516
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
20517
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO `lines_authors` (`created_at`, `description`, `email`, `name`, `updated_at`) VALUES ('2014-07-04 12:59:32', 'desc2', 'author2@example.com', 'Author 2', '2014-07-04 12:59:32')
|
20518
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
20519
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
20520
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO `lines_authors` (`created_at`, `description`, `email`, `name`, `updated_at`) VALUES ('2014-07-04 12:59:32', 'desc3', 'author3@example.com', 'Author 3', '2014-07-04 12:59:32')[0m
|
20521
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
20522
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
20523
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO `lines_authors` (`created_at`, `description`, `email`, `name`, `updated_at`) VALUES ('2014-07-04 12:59:32', 'desc4', 'author4@example.com', 'Author 4', '2014-07-04 12:59:32')
|
20524
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
20525
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
20526
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO `lines_authors` (`created_at`, `description`, `email`, `name`, `updated_at`) VALUES ('2014-07-04 12:59:32', 'desc5', 'author5@example.com', 'Author 5', '2014-07-04 12:59:32')[0m
|
20527
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
20528
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
20529
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO `lines_authors` (`created_at`, `description`, `email`, `name`, `updated_at`) VALUES ('2014-07-04 12:59:32', 'desc6', 'author6@example.com', 'Author 6', '2014-07-04 12:59:32')
|
20530
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
20531
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
20532
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO `lines_authors` (`created_at`, `description`, `email`, `name`, `updated_at`) VALUES ('2014-07-04 12:59:32', 'desc7', 'author7@example.com', 'Author 7', '2014-07-04 12:59:32')[0m
|
20533
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
20534
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
20535
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO `lines_authors` (`created_at`, `description`, `email`, `name`, `updated_at`) VALUES ('2014-07-04 12:59:32', 'desc8', 'author8@example.com', 'Author 8', '2014-07-04 12:59:32')
|
20536
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
20537
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
20538
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO `lines_authors` (`created_at`, `description`, `email`, `name`, `updated_at`) VALUES ('2014-07-04 12:59:32', 'desc9', 'author9@example.com', 'Author 9', '2014-07-04 12:59:32')[0m
|
20539
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
20540
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
20541
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO `lines_authors` (`created_at`, `description`, `email`, `name`, `updated_at`) VALUES ('2014-07-04 12:59:32', 'desc10', 'author10@example.com', 'Author 10', '2014-07-04 12:59:32')
|
20542
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
20543
|
+
[1m[35mLines::Author Load (0.3ms)[0m SELECT `lines_authors`.* FROM `lines_authors` WHERE `lines_authors`.`id` IN (155, 156, 157, 158, 159, 160, 161, 162, 163, 164)
|
20544
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
20545
|
+
[1m[35mLines::Article Exists (0.3ms)[0m SELECT 1 AS one FROM `lines_articles` INNER JOIN `friendly_id_slugs` ON `friendly_id_slugs`.`sluggable_id` = `lines_articles`.`id` AND `friendly_id_slugs`.`sluggable_type` = 'Lines::Article' WHERE (`lines_articles`.`id` IS NOT NULL) AND `lines_articles`.`slug` = 'testing-with-rspec' LIMIT 1
|
20546
|
+
[1m[36mLines::Article Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `lines_articles` INNER JOIN `friendly_id_slugs` ON `friendly_id_slugs`.`sluggable_id` = `lines_articles`.`id` AND `friendly_id_slugs`.`sluggable_type` = 'Lines::Article' WHERE (`lines_articles`.`id` IS NOT NULL) AND (`friendly_id_slugs`.`sluggable_type` = 'Lines::Article' AND `friendly_id_slugs`.`slug` = 'testing-with-rspec') LIMIT 1[0m
|
20547
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO `lines_articles` (`content`, `created_at`, `hero_image`, `published_at`, `slug`, `sub_title`, `title`, `updated_at`) VALUES ('Content for article', '2014-07-04 12:59:32', 'example.jpg', '2014-07-04 12:59:30', 'testing-with-rspec', 'My subtitle', 'Testing with RSpec', '2014-07-04 12:59:32')
|
20548
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO `lines_authorables` (`article_id`, `author_id`, `created_at`, `updated_at`) VALUES (16, 155, '2014-07-04 12:59:32', '2014-07-04 12:59:32')[0m
|
20549
|
+
[1m[35mLines::Article Load (0.3ms)[0m SELECT `lines_articles`.* FROM `lines_articles` WHERE `lines_articles`.`id` = 16 LIMIT 1
|
20550
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE `lines_articles` SET `lines_articles`.`updated_at` = '2014-07-04 12:59:32' WHERE `lines_articles`.`id` = 16[0m
|
20551
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO `lines_authorables` (`article_id`, `author_id`, `created_at`, `updated_at`) VALUES (16, 156, '2014-07-04 12:59:32', '2014-07-04 12:59:32')
|
20552
|
+
[1m[36mLines::Article Load (0.2ms)[0m [1mSELECT `lines_articles`.* FROM `lines_articles` WHERE `lines_articles`.`id` = 16 LIMIT 1[0m
|
20553
|
+
[1m[35mSQL (0.2ms)[0m UPDATE `lines_articles` SET `lines_articles`.`updated_at` = '2014-07-04 12:59:32' WHERE `lines_articles`.`id` = 16
|
20554
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO `lines_authorables` (`article_id`, `author_id`, `created_at`, `updated_at`) VALUES (16, 157, '2014-07-04 12:59:32', '2014-07-04 12:59:32')[0m
|
20555
|
+
[1m[35mLines::Article Load (0.2ms)[0m SELECT `lines_articles`.* FROM `lines_articles` WHERE `lines_articles`.`id` = 16 LIMIT 1
|
20556
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE `lines_articles` SET `lines_articles`.`updated_at` = '2014-07-04 12:59:32' WHERE `lines_articles`.`id` = 16[0m
|
20557
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO `lines_authorables` (`article_id`, `author_id`, `created_at`, `updated_at`) VALUES (16, 158, '2014-07-04 12:59:32', '2014-07-04 12:59:32')
|
20558
|
+
[1m[36mLines::Article Load (0.2ms)[0m [1mSELECT `lines_articles`.* FROM `lines_articles` WHERE `lines_articles`.`id` = 16 LIMIT 1[0m
|
20559
|
+
[1m[35mSQL (0.2ms)[0m UPDATE `lines_articles` SET `lines_articles`.`updated_at` = '2014-07-04 12:59:32' WHERE `lines_articles`.`id` = 16
|
20560
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO `lines_authorables` (`article_id`, `author_id`, `created_at`, `updated_at`) VALUES (16, 159, '2014-07-04 12:59:32', '2014-07-04 12:59:32')[0m
|
20561
|
+
[1m[35mLines::Article Load (0.2ms)[0m SELECT `lines_articles`.* FROM `lines_articles` WHERE `lines_articles`.`id` = 16 LIMIT 1
|
20562
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE `lines_articles` SET `lines_articles`.`updated_at` = '2014-07-04 12:59:32' WHERE `lines_articles`.`id` = 16[0m
|
20563
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO `lines_authorables` (`article_id`, `author_id`, `created_at`, `updated_at`) VALUES (16, 160, '2014-07-04 12:59:32', '2014-07-04 12:59:32')
|
20564
|
+
[1m[36mLines::Article Load (0.2ms)[0m [1mSELECT `lines_articles`.* FROM `lines_articles` WHERE `lines_articles`.`id` = 16 LIMIT 1[0m
|
20565
|
+
[1m[35mSQL (0.2ms)[0m UPDATE `lines_articles` SET `lines_articles`.`updated_at` = '2014-07-04 12:59:32' WHERE `lines_articles`.`id` = 16
|
20566
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO `lines_authorables` (`article_id`, `author_id`, `created_at`, `updated_at`) VALUES (16, 161, '2014-07-04 12:59:32', '2014-07-04 12:59:32')[0m
|
20567
|
+
[1m[35mLines::Article Load (0.2ms)[0m SELECT `lines_articles`.* FROM `lines_articles` WHERE `lines_articles`.`id` = 16 LIMIT 1
|
20568
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE `lines_articles` SET `lines_articles`.`updated_at` = '2014-07-04 12:59:32' WHERE `lines_articles`.`id` = 16[0m
|
20569
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO `lines_authorables` (`article_id`, `author_id`, `created_at`, `updated_at`) VALUES (16, 162, '2014-07-04 12:59:32', '2014-07-04 12:59:32')
|
20570
|
+
[1m[36mLines::Article Load (0.2ms)[0m [1mSELECT `lines_articles`.* FROM `lines_articles` WHERE `lines_articles`.`id` = 16 LIMIT 1[0m
|
20571
|
+
[1m[35mSQL (0.2ms)[0m UPDATE `lines_articles` SET `lines_articles`.`updated_at` = '2014-07-04 12:59:32' WHERE `lines_articles`.`id` = 16
|
20572
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO `lines_authorables` (`article_id`, `author_id`, `created_at`, `updated_at`) VALUES (16, 163, '2014-07-04 12:59:32', '2014-07-04 12:59:32')[0m
|
20573
|
+
[1m[35mLines::Article Load (0.2ms)[0m SELECT `lines_articles`.* FROM `lines_articles` WHERE `lines_articles`.`id` = 16 LIMIT 1
|
20574
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE `lines_articles` SET `lines_articles`.`updated_at` = '2014-07-04 12:59:32' WHERE `lines_articles`.`id` = 16[0m
|
20575
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO `lines_authorables` (`article_id`, `author_id`, `created_at`, `updated_at`) VALUES (16, 164, '2014-07-04 12:59:32', '2014-07-04 12:59:32')
|
20576
|
+
[1m[36mLines::Article Load (0.2ms)[0m [1mSELECT `lines_articles`.* FROM `lines_articles` WHERE `lines_articles`.`id` = 16 LIMIT 1[0m
|
20577
|
+
[1m[35mSQL (0.2ms)[0m UPDATE `lines_articles` SET `lines_articles`.`updated_at` = '2014-07-04 12:59:32' WHERE `lines_articles`.`id` = 16
|
20578
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE `lines_articles` SET `lines_articles`.`updated_at` = '2014-07-04 12:59:32' WHERE `lines_articles`.`id` = 16[0m
|
20579
|
+
[1m[35mSQL (0.2ms)[0m UPDATE `lines_articles` SET `lines_articles`.`updated_at` = '2014-07-04 12:59:32' WHERE `lines_articles`.`id` = 16
|
20580
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE `lines_articles` SET `lines_articles`.`updated_at` = '2014-07-04 12:59:32' WHERE `lines_articles`.`id` = 16[0m
|
20581
|
+
[1m[35mSQL (0.2ms)[0m UPDATE `lines_articles` SET `lines_articles`.`updated_at` = '2014-07-04 12:59:32' WHERE `lines_articles`.`id` = 16
|
20582
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE `lines_articles` SET `lines_articles`.`updated_at` = '2014-07-04 12:59:32' WHERE `lines_articles`.`id` = 16[0m
|
20583
|
+
[1m[35mSQL (0.2ms)[0m UPDATE `lines_articles` SET `lines_articles`.`updated_at` = '2014-07-04 12:59:32' WHERE `lines_articles`.`id` = 16
|
20584
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE `lines_articles` SET `lines_articles`.`updated_at` = '2014-07-04 12:59:32' WHERE `lines_articles`.`id` = 16[0m
|
20585
|
+
[1m[35mSQL (0.2ms)[0m UPDATE `lines_articles` SET `lines_articles`.`updated_at` = '2014-07-04 12:59:32' WHERE `lines_articles`.`id` = 16
|
20586
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE `lines_articles` SET `lines_articles`.`updated_at` = '2014-07-04 12:59:32' WHERE `lines_articles`.`id` = 16[0m
|
20587
|
+
[1m[35mSQL (0.2ms)[0m UPDATE `lines_articles` SET `lines_articles`.`updated_at` = '2014-07-04 12:59:32' WHERE `lines_articles`.`id` = 16
|
20588
|
+
[1m[36mFriendlyId::Slug Load (0.3ms)[0m [1mSELECT `friendly_id_slugs`.* FROM `friendly_id_slugs` WHERE `friendly_id_slugs`.`sluggable_id` = 16 AND `friendly_id_slugs`.`sluggable_type` = 'Lines::Article' ORDER BY `friendly_id_slugs`.id DESC LIMIT 1[0m
|
20589
|
+
[1m[35mSQL (0.2ms)[0m DELETE FROM `friendly_id_slugs` WHERE `friendly_id_slugs`.`sluggable_id` = 16 AND `friendly_id_slugs`.`sluggable_type` = 'Lines::Article' AND `friendly_id_slugs`.`slug` = 'testing-with-rspec'
|
20590
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO `friendly_id_slugs` (`created_at`, `slug`, `sluggable_id`, `sluggable_type`) VALUES ('2014-07-04 12:59:32', 'testing-with-rspec', 16, 'Lines::Article')[0m
|
20591
|
+
[1m[35mLines::Picture Load (0.2ms)[0m SELECT `lines_pictures`.* FROM `lines_pictures` WHERE 1=0
|
20592
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
20593
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
20594
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO `lines_pictures` (`article_id`, `created_at`, `image`, `name`, `updated_at`) VALUES (16, '2014-07-04 12:59:32', 'example.jpg', 'Example', '2014-07-04 12:59:32')[0m
|
20595
|
+
[1m[35mSQL (0.2ms)[0m UPDATE `lines_articles` SET `lines_articles`.`updated_at` = '2014-07-04 12:59:32' WHERE `lines_articles`.`id` = 16
|
20596
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
20597
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
20598
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO `lines_authors` (`created_at`, `description`, `email`, `name`, `updated_at`) VALUES ('2014-07-04 12:59:32', 'desc1', 'author1@example.com', 'Author 1', '2014-07-04 12:59:32')[0m
|
20599
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
20600
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
20601
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO `lines_authors` (`created_at`, `description`, `email`, `name`, `updated_at`) VALUES ('2014-07-04 12:59:32', 'desc2', 'author2@example.com', 'Author 2', '2014-07-04 12:59:32')
|
20602
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
20603
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
20604
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO `lines_authors` (`created_at`, `description`, `email`, `name`, `updated_at`) VALUES ('2014-07-04 12:59:32', 'desc3', 'author3@example.com', 'Author 3', '2014-07-04 12:59:32')[0m
|
20605
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
20606
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
20607
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO `lines_authors` (`created_at`, `description`, `email`, `name`, `updated_at`) VALUES ('2014-07-04 12:59:32', 'desc4', 'author4@example.com', 'Author 4', '2014-07-04 12:59:32')
|
20608
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
20609
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
20610
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO `lines_authors` (`created_at`, `description`, `email`, `name`, `updated_at`) VALUES ('2014-07-04 12:59:32', 'desc5', 'author5@example.com', 'Author 5', '2014-07-04 12:59:32')[0m
|
20611
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
20612
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
20613
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO `lines_authors` (`created_at`, `description`, `email`, `name`, `updated_at`) VALUES ('2014-07-04 12:59:32', 'desc6', 'author6@example.com', 'Author 6', '2014-07-04 12:59:32')
|
20614
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
20615
|
+
[1m[35mLines::Author Load (0.3ms)[0m SELECT `lines_authors`.* FROM `lines_authors` WHERE `lines_authors`.`id` IN (165, 166, 167, 168, 169, 170)
|
20616
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
20617
|
+
[1m[35mLines::Article Exists (0.4ms)[0m SELECT 1 AS one FROM `lines_articles` INNER JOIN `friendly_id_slugs` ON `friendly_id_slugs`.`sluggable_id` = `lines_articles`.`id` AND `friendly_id_slugs`.`sluggable_type` = 'Lines::Article' WHERE (`lines_articles`.`id` IS NOT NULL) AND `lines_articles`.`slug` = 'testing-with-rspec' LIMIT 1
|
20618
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO `lines_articles` (`content`, `created_at`, `hero_image`, `published_at`, `slug`, `sub_title`, `title`, `updated_at`) VALUES ('![Alt text](/uploads/lines/picture/image/4/example.jpg)', '2014-07-04 12:59:32', 'example.jpg', '2014-07-04 12:59:30', 'testing-with-rspec-3fec76f6-1e0c-4ed7-b708-19efc8820913', 'My subtitle', 'Testing with RSpec', '2014-07-04 12:59:32')[0m
|
20619
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO `lines_authorables` (`article_id`, `author_id`, `created_at`, `updated_at`) VALUES (17, 165, '2014-07-04 12:59:32', '2014-07-04 12:59:32')
|
20620
|
+
[1m[36mLines::Article Load (0.2ms)[0m [1mSELECT `lines_articles`.* FROM `lines_articles` WHERE `lines_articles`.`id` = 17 LIMIT 1[0m
|
20621
|
+
[1m[35mSQL (0.2ms)[0m UPDATE `lines_articles` SET `lines_articles`.`updated_at` = '2014-07-04 12:59:32' WHERE `lines_articles`.`id` = 17
|
20622
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO `lines_authorables` (`article_id`, `author_id`, `created_at`, `updated_at`) VALUES (17, 166, '2014-07-04 12:59:32', '2014-07-04 12:59:32')[0m
|
20623
|
+
[1m[35mLines::Article Load (0.2ms)[0m SELECT `lines_articles`.* FROM `lines_articles` WHERE `lines_articles`.`id` = 17 LIMIT 1
|
20624
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE `lines_articles` SET `lines_articles`.`updated_at` = '2014-07-04 12:59:32' WHERE `lines_articles`.`id` = 17[0m
|
20625
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO `lines_authorables` (`article_id`, `author_id`, `created_at`, `updated_at`) VALUES (17, 167, '2014-07-04 12:59:32', '2014-07-04 12:59:32')
|
20626
|
+
[1m[36mLines::Article Load (0.2ms)[0m [1mSELECT `lines_articles`.* FROM `lines_articles` WHERE `lines_articles`.`id` = 17 LIMIT 1[0m
|
20627
|
+
[1m[35mSQL (0.2ms)[0m UPDATE `lines_articles` SET `lines_articles`.`updated_at` = '2014-07-04 12:59:32' WHERE `lines_articles`.`id` = 17
|
20628
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO `lines_authorables` (`article_id`, `author_id`, `created_at`, `updated_at`) VALUES (17, 168, '2014-07-04 12:59:32', '2014-07-04 12:59:32')[0m
|
20629
|
+
[1m[35mLines::Article Load (0.2ms)[0m SELECT `lines_articles`.* FROM `lines_articles` WHERE `lines_articles`.`id` = 17 LIMIT 1
|
20630
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE `lines_articles` SET `lines_articles`.`updated_at` = '2014-07-04 12:59:32' WHERE `lines_articles`.`id` = 17[0m
|
20631
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO `lines_authorables` (`article_id`, `author_id`, `created_at`, `updated_at`) VALUES (17, 169, '2014-07-04 12:59:32', '2014-07-04 12:59:32')
|
20632
|
+
[1m[36mLines::Article Load (0.2ms)[0m [1mSELECT `lines_articles`.* FROM `lines_articles` WHERE `lines_articles`.`id` = 17 LIMIT 1[0m
|
20633
|
+
[1m[35mSQL (0.2ms)[0m UPDATE `lines_articles` SET `lines_articles`.`updated_at` = '2014-07-04 12:59:32' WHERE `lines_articles`.`id` = 17
|
20634
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO `lines_authorables` (`article_id`, `author_id`, `created_at`, `updated_at`) VALUES (17, 170, '2014-07-04 12:59:32', '2014-07-04 12:59:32')[0m
|
20635
|
+
[1m[35mLines::Article Load (0.2ms)[0m SELECT `lines_articles`.* FROM `lines_articles` WHERE `lines_articles`.`id` = 17 LIMIT 1
|
20636
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE `lines_articles` SET `lines_articles`.`updated_at` = '2014-07-04 12:59:32' WHERE `lines_articles`.`id` = 17[0m
|
20637
|
+
[1m[35mSQL (0.2ms)[0m UPDATE `lines_articles` SET `lines_articles`.`updated_at` = '2014-07-04 12:59:32' WHERE `lines_articles`.`id` = 17
|
20638
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE `lines_articles` SET `lines_articles`.`updated_at` = '2014-07-04 12:59:32' WHERE `lines_articles`.`id` = 17[0m
|
20639
|
+
[1m[35mSQL (0.2ms)[0m UPDATE `lines_articles` SET `lines_articles`.`updated_at` = '2014-07-04 12:59:32' WHERE `lines_articles`.`id` = 17
|
20640
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE `lines_articles` SET `lines_articles`.`updated_at` = '2014-07-04 12:59:32' WHERE `lines_articles`.`id` = 17[0m
|
20641
|
+
[1m[35mSQL (0.2ms)[0m UPDATE `lines_articles` SET `lines_articles`.`updated_at` = '2014-07-04 12:59:32' WHERE `lines_articles`.`id` = 17
|
20642
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE `lines_articles` SET `lines_articles`.`updated_at` = '2014-07-04 12:59:32' WHERE `lines_articles`.`id` = 17[0m
|
20643
|
+
[1m[35mFriendlyId::Slug Load (0.3ms)[0m SELECT `friendly_id_slugs`.* FROM `friendly_id_slugs` WHERE `friendly_id_slugs`.`sluggable_id` = 17 AND `friendly_id_slugs`.`sluggable_type` = 'Lines::Article' ORDER BY `friendly_id_slugs`.id DESC LIMIT 1
|
20644
|
+
[1m[36mSQL (0.2ms)[0m [1mDELETE FROM `friendly_id_slugs` WHERE `friendly_id_slugs`.`sluggable_id` = 17 AND `friendly_id_slugs`.`sluggable_type` = 'Lines::Article' AND `friendly_id_slugs`.`slug` = 'testing-with-rspec-3fec76f6-1e0c-4ed7-b708-19efc8820913'[0m
|
20645
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO `friendly_id_slugs` (`created_at`, `slug`, `sluggable_id`, `sluggable_type`) VALUES ('2014-07-04 12:59:32', 'testing-with-rspec-3fec76f6-1e0c-4ed7-b708-19efc8820913', 17, 'Lines::Article')
|
20646
|
+
[1m[36mLines::Picture Load (0.2ms)[0m [1mSELECT `lines_pictures`.* FROM `lines_pictures` WHERE `lines_pictures`.`id` IN (4)[0m
|
20647
|
+
[1m[35mSQL (0.2ms)[0m UPDATE `lines_pictures` SET `article_id` = 17, `updated_at` = '2014-07-04 12:59:32' WHERE `lines_pictures`.`id` = 4
|
20648
|
+
[1m[36mLines::Article Load (0.2ms)[0m [1mSELECT `lines_articles`.* FROM `lines_articles` WHERE `lines_articles`.`id` = 16 LIMIT 1[0m
|
20649
|
+
[1m[35mSQL (0.2ms)[0m UPDATE `lines_articles` SET `lines_articles`.`updated_at` = '2014-07-04 12:59:32' WHERE `lines_articles`.`id` = 16
|
20650
|
+
[1m[36mLines::Article Load (0.2ms)[0m [1mSELECT `lines_articles`.* FROM `lines_articles` WHERE `lines_articles`.`id` = 17 LIMIT 1[0m
|
20651
|
+
[1m[35mSQL (0.2ms)[0m UPDATE `lines_articles` SET `lines_articles`.`updated_at` = '2014-07-04 12:59:32' WHERE `lines_articles`.`id` = 17
|
20652
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
20653
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
20654
|
+
[1m[36mFriendlyId::Slug Load (0.3ms)[0m [1mSELECT `friendly_id_slugs`.* FROM `friendly_id_slugs` WHERE `friendly_id_slugs`.`sluggable_id` = 17 AND `friendly_id_slugs`.`sluggable_type` = 'Lines::Article' ORDER BY `friendly_id_slugs`.id DESC LIMIT 1[0m
|
20655
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
20656
|
+
[1m[36m (2.9ms)[0m [1mROLLBACK[0m
|
20657
|
+
[1m[35m (0.1ms)[0m BEGIN
|
20658
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
20659
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO `lines_authors` (`created_at`, `description`, `email`, `name`, `updated_at`) VALUES ('2014-07-04 12:59:32', 'desc1', 'author1@example.com', 'Author 1', '2014-07-04 12:59:32')
|
20660
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
20661
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
20662
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO `lines_authors` (`created_at`, `description`, `email`, `name`, `updated_at`) VALUES ('2014-07-04 12:59:32', 'desc2', 'author2@example.com', 'Author 2', '2014-07-04 12:59:32')[0m
|
20663
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
20664
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
20665
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO `lines_authors` (`created_at`, `description`, `email`, `name`, `updated_at`) VALUES ('2014-07-04 12:59:32', 'desc3', 'author3@example.com', 'Author 3', '2014-07-04 12:59:32')
|
20666
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
20667
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
20668
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO `lines_authors` (`created_at`, `description`, `email`, `name`, `updated_at`) VALUES ('2014-07-04 12:59:32', 'desc4', 'author4@example.com', 'Author 4', '2014-07-04 12:59:32')[0m
|
20669
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
20670
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
20671
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO `lines_authors` (`created_at`, `description`, `email`, `name`, `updated_at`) VALUES ('2014-07-04 12:59:32', 'desc5', 'author5@example.com', 'Author 5', '2014-07-04 12:59:32')
|
20672
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
20673
|
+
[1m[35mLines::Author Load (0.3ms)[0m SELECT `lines_authors`.* FROM `lines_authors` WHERE `lines_authors`.`id` IN (171, 172, 173, 174, 175)
|
20674
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
20675
|
+
[1m[35mLines::Article Exists (0.3ms)[0m SELECT 1 AS one FROM `lines_articles` INNER JOIN `friendly_id_slugs` ON `friendly_id_slugs`.`sluggable_id` = `lines_articles`.`id` AND `friendly_id_slugs`.`sluggable_type` = 'Lines::Article' WHERE (`lines_articles`.`id` IS NOT NULL) AND `lines_articles`.`slug` = 'testing-with-rspec' LIMIT 1
|
20676
|
+
[1m[36mLines::Article Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `lines_articles` INNER JOIN `friendly_id_slugs` ON `friendly_id_slugs`.`sluggable_id` = `lines_articles`.`id` AND `friendly_id_slugs`.`sluggable_type` = 'Lines::Article' WHERE (`lines_articles`.`id` IS NOT NULL) AND (`friendly_id_slugs`.`sluggable_type` = 'Lines::Article' AND `friendly_id_slugs`.`slug` = 'testing-with-rspec') LIMIT 1[0m
|
20677
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO `lines_articles` (`content`, `created_at`, `hero_image`, `published_at`, `slug`, `sub_title`, `title`, `updated_at`) VALUES ('Content for article', '2014-07-04 12:59:32', 'example.jpg', '2014-07-04 12:59:30', 'testing-with-rspec', 'My subtitle', 'Testing with RSpec', '2014-07-04 12:59:32')
|
20678
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO `lines_authorables` (`article_id`, `author_id`, `created_at`, `updated_at`) VALUES (18, 171, '2014-07-04 12:59:32', '2014-07-04 12:59:32')[0m
|
20679
|
+
[1m[35mLines::Article Load (0.3ms)[0m SELECT `lines_articles`.* FROM `lines_articles` WHERE `lines_articles`.`id` = 18 LIMIT 1
|
20680
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE `lines_articles` SET `lines_articles`.`updated_at` = '2014-07-04 12:59:32' WHERE `lines_articles`.`id` = 18[0m
|
20681
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO `lines_authorables` (`article_id`, `author_id`, `created_at`, `updated_at`) VALUES (18, 172, '2014-07-04 12:59:32', '2014-07-04 12:59:32')
|
20682
|
+
[1m[36mLines::Article Load (0.2ms)[0m [1mSELECT `lines_articles`.* FROM `lines_articles` WHERE `lines_articles`.`id` = 18 LIMIT 1[0m
|
20683
|
+
[1m[35mSQL (0.2ms)[0m UPDATE `lines_articles` SET `lines_articles`.`updated_at` = '2014-07-04 12:59:32' WHERE `lines_articles`.`id` = 18
|
20684
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO `lines_authorables` (`article_id`, `author_id`, `created_at`, `updated_at`) VALUES (18, 173, '2014-07-04 12:59:32', '2014-07-04 12:59:32')[0m
|
20685
|
+
[1m[35mLines::Article Load (0.3ms)[0m SELECT `lines_articles`.* FROM `lines_articles` WHERE `lines_articles`.`id` = 18 LIMIT 1
|
20686
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE `lines_articles` SET `lines_articles`.`updated_at` = '2014-07-04 12:59:32' WHERE `lines_articles`.`id` = 18[0m
|
20687
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO `lines_authorables` (`article_id`, `author_id`, `created_at`, `updated_at`) VALUES (18, 174, '2014-07-04 12:59:32', '2014-07-04 12:59:32')
|
20688
|
+
[1m[36mLines::Article Load (0.2ms)[0m [1mSELECT `lines_articles`.* FROM `lines_articles` WHERE `lines_articles`.`id` = 18 LIMIT 1[0m
|
20689
|
+
[1m[35mSQL (0.2ms)[0m UPDATE `lines_articles` SET `lines_articles`.`updated_at` = '2014-07-04 12:59:32' WHERE `lines_articles`.`id` = 18
|
20690
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO `lines_authorables` (`article_id`, `author_id`, `created_at`, `updated_at`) VALUES (18, 175, '2014-07-04 12:59:32', '2014-07-04 12:59:32')[0m
|
20691
|
+
[1m[35mLines::Article Load (0.2ms)[0m SELECT `lines_articles`.* FROM `lines_articles` WHERE `lines_articles`.`id` = 18 LIMIT 1
|
20692
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE `lines_articles` SET `lines_articles`.`updated_at` = '2014-07-04 12:59:32' WHERE `lines_articles`.`id` = 18[0m
|
20693
|
+
[1m[35mSQL (0.2ms)[0m UPDATE `lines_articles` SET `lines_articles`.`updated_at` = '2014-07-04 12:59:32' WHERE `lines_articles`.`id` = 18
|
20694
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE `lines_articles` SET `lines_articles`.`updated_at` = '2014-07-04 12:59:32' WHERE `lines_articles`.`id` = 18[0m
|
20695
|
+
[1m[35mSQL (0.2ms)[0m UPDATE `lines_articles` SET `lines_articles`.`updated_at` = '2014-07-04 12:59:32' WHERE `lines_articles`.`id` = 18
|
20696
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE `lines_articles` SET `lines_articles`.`updated_at` = '2014-07-04 12:59:32' WHERE `lines_articles`.`id` = 18[0m
|
20697
|
+
[1m[35mSQL (0.2ms)[0m UPDATE `lines_articles` SET `lines_articles`.`updated_at` = '2014-07-04 12:59:32' WHERE `lines_articles`.`id` = 18
|
20698
|
+
[1m[36mFriendlyId::Slug Load (0.3ms)[0m [1mSELECT `friendly_id_slugs`.* FROM `friendly_id_slugs` WHERE `friendly_id_slugs`.`sluggable_id` = 18 AND `friendly_id_slugs`.`sluggable_type` = 'Lines::Article' ORDER BY `friendly_id_slugs`.id DESC LIMIT 1[0m
|
20699
|
+
[1m[35mSQL (0.2ms)[0m DELETE FROM `friendly_id_slugs` WHERE `friendly_id_slugs`.`sluggable_id` = 18 AND `friendly_id_slugs`.`sluggable_type` = 'Lines::Article' AND `friendly_id_slugs`.`slug` = 'testing-with-rspec'
|
20700
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO `friendly_id_slugs` (`created_at`, `slug`, `sluggable_id`, `sluggable_type`) VALUES ('2014-07-04 12:59:32', 'testing-with-rspec', 18, 'Lines::Article')[0m
|
20701
|
+
[1m[35mLines::Picture Load (0.2ms)[0m SELECT `lines_pictures`.* FROM `lines_pictures` WHERE 1=0
|
20702
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
20703
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
20704
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO `lines_pictures` (`article_id`, `created_at`, `image`, `name`, `updated_at`) VALUES (18, '2014-07-04 12:59:32', 'example.jpg', 'Example', '2014-07-04 12:59:32')[0m
|
20705
|
+
[1m[35mSQL (0.2ms)[0m UPDATE `lines_articles` SET `lines_articles`.`updated_at` = '2014-07-04 12:59:32' WHERE `lines_articles`.`id` = 18
|
20706
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
20707
|
+
[1m[35m (4.8ms)[0m ROLLBACK
|
20708
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
20709
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
20710
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO `lines_authors` (`created_at`, `description`, `email`, `name`, `updated_at`) VALUES ('2014-07-04 12:59:32', 'desc1', 'author1@example.com', 'Author 1', '2014-07-04 12:59:32')[0m
|
20711
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
20712
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
20713
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO `lines_authors` (`created_at`, `description`, `email`, `name`, `updated_at`) VALUES ('2014-07-04 12:59:32', 'desc2', 'author2@example.com', 'Author 2', '2014-07-04 12:59:32')
|
20714
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
20715
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
20716
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO `lines_authors` (`created_at`, `description`, `email`, `name`, `updated_at`) VALUES ('2014-07-04 12:59:32', 'desc3', 'author3@example.com', 'Author 3', '2014-07-04 12:59:32')[0m
|
20717
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
20718
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
20719
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO `lines_authors` (`created_at`, `description`, `email`, `name`, `updated_at`) VALUES ('2014-07-04 12:59:32', 'desc4', 'author4@example.com', 'Author 4', '2014-07-04 12:59:32')
|
20720
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
20721
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
20722
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO `lines_authors` (`created_at`, `description`, `email`, `name`, `updated_at`) VALUES ('2014-07-04 12:59:32', 'desc5', 'author5@example.com', 'Author 5', '2014-07-04 12:59:32')[0m
|
20723
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
20724
|
+
[1m[36mLines::Author Load (0.3ms)[0m [1mSELECT `lines_authors`.* FROM `lines_authors` WHERE `lines_authors`.`id` IN (176, 177, 178, 179, 180)[0m
|
20725
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
20726
|
+
[1m[36mLines::Article Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `lines_articles` INNER JOIN `friendly_id_slugs` ON `friendly_id_slugs`.`sluggable_id` = `lines_articles`.`id` AND `friendly_id_slugs`.`sluggable_type` = 'Lines::Article' WHERE (`lines_articles`.`id` IS NOT NULL) AND `lines_articles`.`slug` = 'testing-with-rspec' LIMIT 1[0m
|
20727
|
+
[1m[35mLines::Article Exists (0.2ms)[0m SELECT 1 AS one FROM `lines_articles` INNER JOIN `friendly_id_slugs` ON `friendly_id_slugs`.`sluggable_id` = `lines_articles`.`id` AND `friendly_id_slugs`.`sluggable_type` = 'Lines::Article' WHERE (`lines_articles`.`id` IS NOT NULL) AND (`friendly_id_slugs`.`sluggable_type` = 'Lines::Article' AND `friendly_id_slugs`.`slug` = 'testing-with-rspec') LIMIT 1
|
20728
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO `lines_articles` (`content`, `created_at`, `hero_image`, `published_at`, `slug`, `sub_title`, `title`, `updated_at`) VALUES ('Content for article', '2014-07-04 12:59:32', 'example.jpg', '2014-07-04 12:59:30', 'testing-with-rspec', 'My subtitle', 'Testing with RSpec', '2014-07-04 12:59:32')[0m
|
20729
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO `lines_authorables` (`article_id`, `author_id`, `created_at`, `updated_at`) VALUES (19, 176, '2014-07-04 12:59:32', '2014-07-04 12:59:32')
|
20730
|
+
[1m[36mLines::Article Load (0.3ms)[0m [1mSELECT `lines_articles`.* FROM `lines_articles` WHERE `lines_articles`.`id` = 19 LIMIT 1[0m
|
20731
|
+
[1m[35mSQL (0.2ms)[0m UPDATE `lines_articles` SET `lines_articles`.`updated_at` = '2014-07-04 12:59:32' WHERE `lines_articles`.`id` = 19
|
20732
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO `lines_authorables` (`article_id`, `author_id`, `created_at`, `updated_at`) VALUES (19, 177, '2014-07-04 12:59:32', '2014-07-04 12:59:32')[0m
|
20733
|
+
[1m[35mLines::Article Load (0.2ms)[0m SELECT `lines_articles`.* FROM `lines_articles` WHERE `lines_articles`.`id` = 19 LIMIT 1
|
20734
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE `lines_articles` SET `lines_articles`.`updated_at` = '2014-07-04 12:59:32' WHERE `lines_articles`.`id` = 19[0m
|
20735
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO `lines_authorables` (`article_id`, `author_id`, `created_at`, `updated_at`) VALUES (19, 178, '2014-07-04 12:59:32', '2014-07-04 12:59:32')
|
20736
|
+
[1m[36mLines::Article Load (0.2ms)[0m [1mSELECT `lines_articles`.* FROM `lines_articles` WHERE `lines_articles`.`id` = 19 LIMIT 1[0m
|
20737
|
+
[1m[35mSQL (0.2ms)[0m UPDATE `lines_articles` SET `lines_articles`.`updated_at` = '2014-07-04 12:59:32' WHERE `lines_articles`.`id` = 19
|
20738
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO `lines_authorables` (`article_id`, `author_id`, `created_at`, `updated_at`) VALUES (19, 179, '2014-07-04 12:59:32', '2014-07-04 12:59:32')[0m
|
20739
|
+
[1m[35mLines::Article Load (0.2ms)[0m SELECT `lines_articles`.* FROM `lines_articles` WHERE `lines_articles`.`id` = 19 LIMIT 1
|
20740
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE `lines_articles` SET `lines_articles`.`updated_at` = '2014-07-04 12:59:32' WHERE `lines_articles`.`id` = 19[0m
|
20741
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO `lines_authorables` (`article_id`, `author_id`, `created_at`, `updated_at`) VALUES (19, 180, '2014-07-04 12:59:32', '2014-07-04 12:59:32')
|
20742
|
+
[1m[36mLines::Article Load (0.3ms)[0m [1mSELECT `lines_articles`.* FROM `lines_articles` WHERE `lines_articles`.`id` = 19 LIMIT 1[0m
|
20743
|
+
[1m[35mSQL (0.2ms)[0m UPDATE `lines_articles` SET `lines_articles`.`updated_at` = '2014-07-04 12:59:32' WHERE `lines_articles`.`id` = 19
|
20744
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE `lines_articles` SET `lines_articles`.`updated_at` = '2014-07-04 12:59:32' WHERE `lines_articles`.`id` = 19[0m
|
20745
|
+
[1m[35mSQL (0.2ms)[0m UPDATE `lines_articles` SET `lines_articles`.`updated_at` = '2014-07-04 12:59:32' WHERE `lines_articles`.`id` = 19
|
20746
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE `lines_articles` SET `lines_articles`.`updated_at` = '2014-07-04 12:59:32' WHERE `lines_articles`.`id` = 19[0m
|
20747
|
+
[1m[35mSQL (0.2ms)[0m UPDATE `lines_articles` SET `lines_articles`.`updated_at` = '2014-07-04 12:59:32' WHERE `lines_articles`.`id` = 19
|
20748
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE `lines_articles` SET `lines_articles`.`updated_at` = '2014-07-04 12:59:32' WHERE `lines_articles`.`id` = 19[0m
|
20749
|
+
[1m[35mFriendlyId::Slug Load (0.3ms)[0m SELECT `friendly_id_slugs`.* FROM `friendly_id_slugs` WHERE `friendly_id_slugs`.`sluggable_id` = 19 AND `friendly_id_slugs`.`sluggable_type` = 'Lines::Article' ORDER BY `friendly_id_slugs`.id DESC LIMIT 1
|
20750
|
+
[1m[36mSQL (0.2ms)[0m [1mDELETE FROM `friendly_id_slugs` WHERE `friendly_id_slugs`.`sluggable_id` = 19 AND `friendly_id_slugs`.`sluggable_type` = 'Lines::Article' AND `friendly_id_slugs`.`slug` = 'testing-with-rspec'[0m
|
20751
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO `friendly_id_slugs` (`created_at`, `slug`, `sluggable_id`, `sluggable_type`) VALUES ('2014-07-04 12:59:32', 'testing-with-rspec', 19, 'Lines::Article')
|
20752
|
+
[1m[36mLines::Picture Load (0.2ms)[0m [1mSELECT `lines_pictures`.* FROM `lines_pictures` WHERE 1=0[0m
|
20753
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
20754
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
20755
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO `lines_pictures` (`article_id`, `created_at`, `image`, `name`, `updated_at`) VALUES (19, '2014-07-04 12:59:32', 'example.jpg', 'Example', '2014-07-04 12:59:32')
|
20756
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE `lines_articles` SET `lines_articles`.`updated_at` = '2014-07-04 12:59:32' WHERE `lines_articles`.`id` = 19[0m
|
20757
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
20758
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
20759
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO `lines_authors` (`created_at`, `description`, `email`, `name`, `updated_at`) VALUES ('2014-07-04 12:59:33', 'desc1', 'author1@example.com', 'Author 1', '2014-07-04 12:59:33')
|
20760
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
20761
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
20762
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO `lines_authors` (`created_at`, `description`, `email`, `name`, `updated_at`) VALUES ('2014-07-04 12:59:33', 'desc2', 'author2@example.com', 'Author 2', '2014-07-04 12:59:33')[0m
|
20763
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
20764
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
20765
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO `lines_authors` (`created_at`, `description`, `email`, `name`, `updated_at`) VALUES ('2014-07-04 12:59:33', 'desc3', 'author3@example.com', 'Author 3', '2014-07-04 12:59:33')
|
20766
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
20767
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
20768
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO `lines_authors` (`created_at`, `description`, `email`, `name`, `updated_at`) VALUES ('2014-07-04 12:59:33', 'desc4', 'author4@example.com', 'Author 4', '2014-07-04 12:59:33')[0m
|
20769
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
20770
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
20771
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO `lines_authors` (`created_at`, `description`, `email`, `name`, `updated_at`) VALUES ('2014-07-04 12:59:33', 'desc5', 'author5@example.com', 'Author 5', '2014-07-04 12:59:33')
|
20772
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
20773
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
20774
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO `lines_authors` (`created_at`, `description`, `email`, `name`, `updated_at`) VALUES ('2014-07-04 12:59:33', 'desc6', 'author6@example.com', 'Author 6', '2014-07-04 12:59:33')[0m
|
20775
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
20776
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
20777
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO `lines_authors` (`created_at`, `description`, `email`, `name`, `updated_at`) VALUES ('2014-07-04 12:59:33', 'desc7', 'author7@example.com', 'Author 7', '2014-07-04 12:59:33')
|
20778
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
20779
|
+
[1m[35mLines::Author Load (0.3ms)[0m SELECT `lines_authors`.* FROM `lines_authors` WHERE `lines_authors`.`id` IN (181, 182, 183, 184, 185, 186, 187)
|
20780
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
20781
|
+
[1m[35mLines::Article Exists (0.4ms)[0m SELECT 1 AS one FROM `lines_articles` INNER JOIN `friendly_id_slugs` ON `friendly_id_slugs`.`sluggable_id` = `lines_articles`.`id` AND `friendly_id_slugs`.`sluggable_type` = 'Lines::Article' WHERE (`lines_articles`.`id` IS NOT NULL) AND `lines_articles`.`slug` = 'testing-with-rspec' LIMIT 1
|
20782
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO `lines_articles` (`content`, `created_at`, `hero_image`, `published_at`, `slug`, `sub_title`, `title`, `updated_at`) VALUES ('![Alt text](/uploads/lines/picture/image/6/example.jpg)', '2014-07-04 12:59:33', 'example.jpg', '2014-07-04 12:59:30', 'testing-with-rspec-04365c71-f791-4326-a462-4c78998bd951', 'My subtitle', 'Testing with RSpec', '2014-07-04 12:59:33')[0m
|
20783
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO `lines_authorables` (`article_id`, `author_id`, `created_at`, `updated_at`) VALUES (20, 181, '2014-07-04 12:59:33', '2014-07-04 12:59:33')
|
20784
|
+
[1m[36mLines::Article Load (0.3ms)[0m [1mSELECT `lines_articles`.* FROM `lines_articles` WHERE `lines_articles`.`id` = 20 LIMIT 1[0m
|
20785
|
+
[1m[35mSQL (0.3ms)[0m UPDATE `lines_articles` SET `lines_articles`.`updated_at` = '2014-07-04 12:59:33' WHERE `lines_articles`.`id` = 20
|
20786
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO `lines_authorables` (`article_id`, `author_id`, `created_at`, `updated_at`) VALUES (20, 182, '2014-07-04 12:59:33', '2014-07-04 12:59:33')[0m
|
20787
|
+
[1m[35mLines::Article Load (0.3ms)[0m SELECT `lines_articles`.* FROM `lines_articles` WHERE `lines_articles`.`id` = 20 LIMIT 1
|
20788
|
+
[1m[36mSQL (0.3ms)[0m [1mUPDATE `lines_articles` SET `lines_articles`.`updated_at` = '2014-07-04 12:59:33' WHERE `lines_articles`.`id` = 20[0m
|
20789
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO `lines_authorables` (`article_id`, `author_id`, `created_at`, `updated_at`) VALUES (20, 183, '2014-07-04 12:59:33', '2014-07-04 12:59:33')
|
20790
|
+
[1m[36mLines::Article Load (0.2ms)[0m [1mSELECT `lines_articles`.* FROM `lines_articles` WHERE `lines_articles`.`id` = 20 LIMIT 1[0m
|
20791
|
+
[1m[35mSQL (0.2ms)[0m UPDATE `lines_articles` SET `lines_articles`.`updated_at` = '2014-07-04 12:59:33' WHERE `lines_articles`.`id` = 20
|
20792
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO `lines_authorables` (`article_id`, `author_id`, `created_at`, `updated_at`) VALUES (20, 184, '2014-07-04 12:59:33', '2014-07-04 12:59:33')[0m
|
20793
|
+
[1m[35mLines::Article Load (0.2ms)[0m SELECT `lines_articles`.* FROM `lines_articles` WHERE `lines_articles`.`id` = 20 LIMIT 1
|
20794
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE `lines_articles` SET `lines_articles`.`updated_at` = '2014-07-04 12:59:33' WHERE `lines_articles`.`id` = 20[0m
|
20795
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO `lines_authorables` (`article_id`, `author_id`, `created_at`, `updated_at`) VALUES (20, 185, '2014-07-04 12:59:33', '2014-07-04 12:59:33')
|
20796
|
+
[1m[36mLines::Article Load (0.2ms)[0m [1mSELECT `lines_articles`.* FROM `lines_articles` WHERE `lines_articles`.`id` = 20 LIMIT 1[0m
|
20797
|
+
[1m[35mSQL (0.2ms)[0m UPDATE `lines_articles` SET `lines_articles`.`updated_at` = '2014-07-04 12:59:33' WHERE `lines_articles`.`id` = 20
|
20798
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO `lines_authorables` (`article_id`, `author_id`, `created_at`, `updated_at`) VALUES (20, 186, '2014-07-04 12:59:33', '2014-07-04 12:59:33')[0m
|
20799
|
+
[1m[35mLines::Article Load (0.2ms)[0m SELECT `lines_articles`.* FROM `lines_articles` WHERE `lines_articles`.`id` = 20 LIMIT 1
|
20800
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE `lines_articles` SET `lines_articles`.`updated_at` = '2014-07-04 12:59:33' WHERE `lines_articles`.`id` = 20[0m
|
20801
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO `lines_authorables` (`article_id`, `author_id`, `created_at`, `updated_at`) VALUES (20, 187, '2014-07-04 12:59:33', '2014-07-04 12:59:33')
|
20802
|
+
[1m[36mLines::Article Load (0.2ms)[0m [1mSELECT `lines_articles`.* FROM `lines_articles` WHERE `lines_articles`.`id` = 20 LIMIT 1[0m
|
20803
|
+
[1m[35mSQL (0.2ms)[0m UPDATE `lines_articles` SET `lines_articles`.`updated_at` = '2014-07-04 12:59:33' WHERE `lines_articles`.`id` = 20
|
20804
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE `lines_articles` SET `lines_articles`.`updated_at` = '2014-07-04 12:59:33' WHERE `lines_articles`.`id` = 20[0m
|
20805
|
+
[1m[35mSQL (0.2ms)[0m UPDATE `lines_articles` SET `lines_articles`.`updated_at` = '2014-07-04 12:59:33' WHERE `lines_articles`.`id` = 20
|
20806
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE `lines_articles` SET `lines_articles`.`updated_at` = '2014-07-04 12:59:33' WHERE `lines_articles`.`id` = 20[0m
|
20807
|
+
[1m[35mSQL (0.2ms)[0m UPDATE `lines_articles` SET `lines_articles`.`updated_at` = '2014-07-04 12:59:33' WHERE `lines_articles`.`id` = 20
|
20808
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE `lines_articles` SET `lines_articles`.`updated_at` = '2014-07-04 12:59:33' WHERE `lines_articles`.`id` = 20[0m
|
20809
|
+
[1m[35mSQL (0.2ms)[0m UPDATE `lines_articles` SET `lines_articles`.`updated_at` = '2014-07-04 12:59:33' WHERE `lines_articles`.`id` = 20
|
20810
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE `lines_articles` SET `lines_articles`.`updated_at` = '2014-07-04 12:59:33' WHERE `lines_articles`.`id` = 20[0m
|
20811
|
+
[1m[35mFriendlyId::Slug Load (0.3ms)[0m SELECT `friendly_id_slugs`.* FROM `friendly_id_slugs` WHERE `friendly_id_slugs`.`sluggable_id` = 20 AND `friendly_id_slugs`.`sluggable_type` = 'Lines::Article' ORDER BY `friendly_id_slugs`.id DESC LIMIT 1
|
20812
|
+
[1m[36mSQL (0.2ms)[0m [1mDELETE FROM `friendly_id_slugs` WHERE `friendly_id_slugs`.`sluggable_id` = 20 AND `friendly_id_slugs`.`sluggable_type` = 'Lines::Article' AND `friendly_id_slugs`.`slug` = 'testing-with-rspec-04365c71-f791-4326-a462-4c78998bd951'[0m
|
20813
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO `friendly_id_slugs` (`created_at`, `slug`, `sluggable_id`, `sluggable_type`) VALUES ('2014-07-04 12:59:33', 'testing-with-rspec-04365c71-f791-4326-a462-4c78998bd951', 20, 'Lines::Article')
|
20814
|
+
[1m[36mLines::Picture Load (0.3ms)[0m [1mSELECT `lines_pictures`.* FROM `lines_pictures` WHERE `lines_pictures`.`id` IN (6)[0m
|
20815
|
+
[1m[35mSQL (0.2ms)[0m UPDATE `lines_pictures` SET `article_id` = 20, `updated_at` = '2014-07-04 12:59:33' WHERE `lines_pictures`.`id` = 6
|
20816
|
+
[1m[36mLines::Article Load (0.2ms)[0m [1mSELECT `lines_articles`.* FROM `lines_articles` WHERE `lines_articles`.`id` = 19 LIMIT 1[0m
|
20817
|
+
[1m[35mSQL (0.2ms)[0m UPDATE `lines_articles` SET `lines_articles`.`updated_at` = '2014-07-04 12:59:33' WHERE `lines_articles`.`id` = 19
|
20818
|
+
[1m[36mLines::Article Load (0.2ms)[0m [1mSELECT `lines_articles`.* FROM `lines_articles` WHERE `lines_articles`.`id` = 20 LIMIT 1[0m
|
20819
|
+
[1m[35mSQL (0.2ms)[0m UPDATE `lines_articles` SET `lines_articles`.`updated_at` = '2014-07-04 12:59:33' WHERE `lines_articles`.`id` = 20
|
20820
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
20821
|
+
[1m[35mLines::Picture Load (0.2ms)[0m SELECT `lines_pictures`.* FROM `lines_pictures` WHERE `lines_pictures`.`article_id` = 20 ORDER BY `lines_pictures`.`id` ASC LIMIT 1
|
20822
|
+
[1m[36m (2.3ms)[0m [1mROLLBACK[0m
|