flowmor_router 0.2.1 → 0.2.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: b98386121b4bdf28961d5609e38be1b73e05cc47
4
- data.tar.gz: 603ce477d9752cd29bd925367d289a1d3d40de76
3
+ metadata.gz: 76110e92def8d09bdb91b8aa30e34b9b0b13aa66
4
+ data.tar.gz: 03a92958769550c15c22ca3d975f2e12337b6e7c
5
5
  SHA512:
6
- metadata.gz: b61723cb2b8612f01af3f75d56240544aa7487af10f648b12866400ff60a962a6713131b5f1861d0a6fa852be4b9e884ceb1b651b9e7b04e115d88464dc0c439
7
- data.tar.gz: 6e3b88f55e1afbdd752ea9465c507fa9c42f727e245e882d23255e21868bc52dc922f11feb09ee11fdb266db60bcfd4ab2e6e0b0fbeeea0eb89d77163ffc5eaf
6
+ metadata.gz: 98e1b24079da4737f81a6a96c86066d7d4a36f479f387a46de9106c4da93a20bfc7ae4b003b42eb9c85f367a22d4b3e5ea8bd00be7d030093e34741b2d282d90
7
+ data.tar.gz: e06a82ce1ba8876f11d9f406ca586515dc44c7a432f986c2ce6fa8a4638ebd8c7c955f44e21a85bfd570309e38faf259aadd0eae0f78d2f800282d11fae23720
data/README.md CHANGED
@@ -27,11 +27,23 @@ If you're blogging with markdown or other file-based approaches, you'll apprecia
27
27
 
28
28
  ```haml
29
29
  =%h1 About
30
- %p Please be sure to read my post, #{link_to "How to Use Flowmor Router", post_how_to_use_flowmor_router_path}
30
+ %p
31
+ Please be sure to read my post,
32
+ =link_to "How to Use Flowmor Router", post_how_to_use_flowmor_router_path
31
33
  ```
32
34
 
33
- Every model instance's path is named after the model and title/slug/name for the record. How the paths and path names are generated can be customized.
35
+ Every model instance's path is named after the model and title/slug/name for the record. How the paths and path names are generated can be customized. A route's constructed of the following pattern:
34
36
 
37
+ ```ruby
38
+ "#{route_path_prefix}#{actor}#{route_path_suffix(record)}/#{name(record)}"
39
+ ```
40
+
41
+ Where:
42
+
43
+ * route_path_prefix is optional and set by the :prefix option
44
+ * actor, which is the "acts_as" name and is either explicitly named (e.g. acts_as_routable :posts) or inferred from the model name when omitted.
45
+ * route_path_suffix is optional and set by the :suffix option
46
+ * name is the value taken from the record's name field, or parameterized title field or computed via the method supplied with the :name option.
35
47
 
36
48
  ## State of the project
37
49
 
@@ -42,12 +54,13 @@ Every model instance's path is named after the model and title/slug/name for the
42
54
  * Also greatly simplified some of the implementation and cleaned up weird naming conventions.
43
55
  * Added ability to have multiple actors on one model
44
56
  * Added suffix and prefix
57
+ * There was a huge amount of refactoring from 0.0.x to 0.1.x and then again to 0.2.x, but that's more because I wasn't clear where I wanted to take things and had some oddly named stuff until 0.2.x. Things should be fairly stable going forward.
45
58
 
46
59
  Its got enough functionality to work really well for me [(mwlang)](https://github.com/mwlang) in its current form. It's a simple implementation with relatively few lines of code, adequately test covered. It works and is used in production on a handful of sites. You can see it in action on [my personal site](http://codeconnoisseur.org) and [business site](http://cybrains.net).
47
60
 
48
61
  ### Is it For You?
49
62
 
50
- This isn't for everyone. The Flowmor Router build routes ahead of time based on objects in the database. Rails purists will argue this method pollutes the routes space. It does provide functionality similar to [friendly_id](https://github.com/norman/friendly_id) or by simply redefining the id of a model with AR's #to_param. If you run multiple instances of an application, you'll need to take care of syncing when the database is updated. The simplest way to do this is by adding Post.reload_routes (for example) to the before_filter callback of the controller. Sounds like a performance killer, but its really not. Just think every time you refresh during development that the routes are reloaded!
63
+ This isn't for everyone. The Flowmor Router builds routes ahead of time based on objects in the database. Rails purists will argue this method pollutes the routes space. It does provide functionality similar to [friendly_id](https://github.com/norman/friendly_id) or by simply redefining the id of a model with AR's #to_param. If you run multiple instances of an application, you'll need to take care of syncing when the database is updated. The simplest way to do this is by adding Post.reload_routes (for example) to the before_filter callback of the controller. Sounds like a performance killer, but its really not. Just think every time you refresh during development that the routes are reloaded!
51
64
 
52
65
  On the other hand, this approach allows you a lot of flexibility to creating truly custom routes in your app. It also allows you to avoid using a global "match any" in your config/routes.rb. A use case is porting over a WordPress site to Rails where there was a highly customized permalink structure in place. It's really only meant for "#show" actions. I personally wouldn't try to also incorporate CRUD actions with friendly route names. Rails' conventional routes does the job extremely well for CRUD actions. This also means other gems like ActiveAdmin will work as advertised since friendly routes aren't interfering with Rails routes.
53
66
 
@@ -296,7 +309,7 @@ Similar to :prefix is the :suffix and it's inserted into the route constructed r
296
309
 
297
310
  ### route
298
311
 
299
- If you want to skip all the fancy route building provided by the Engine, then pass in a Proc to the :route option.
312
+ If you want to skip all the fancy route building provided by the Engine, then pass in a Proc to the :route option and do it yourself.
300
313
 
301
314
  ```ruby
302
315
  class Post < ActiveRecord::Base
@@ -320,7 +333,7 @@ end
320
333
  @post.path # => /posts/my_-_silly_-_title
321
334
  ```
322
335
 
323
- If you need to get any fancier than that, then just about everything you need can be found in the [lib/flowmor_router/acts_as_flowmor_routable.rb](https://github.com/mwlang/flowmor_router/blob/master/lib/flowmor_router/acts_as_flowmor_routable.rb) implementation.
336
+ If you need to get any fancier than that, then just about everything you need can be found in the [lib/flowmor_router/router_classes.rb](https://github.com/mwlang/flowmor_router/blob/master/lib/flowmor_router/router_classes.rb) implementation.
324
337
 
325
338
  By default, all acts_as_routable models and their instances are added to the routes table. What gets routed can be customized by supplying a :scope option.
326
339
 
data/config/routes.rb CHANGED
@@ -1,6 +1,6 @@
1
1
  Rails.application.routes.draw do
2
2
 
3
- puts "REDRAWING ROUTES for #{FlowmorRouter::RouterClasses.router_classes.map{|m| m.model.name.to_s}}"
3
+ # puts "REDRAWING ROUTES for #{FlowmorRouter::RouterClasses.router_classes.map{|m| m.model.name.to_s}}"
4
4
 
5
5
  # Routes from app/view/static
6
6
  Dir.glob(File.join(Rails.root, 'app', 'views', 'static', '*')).reject{|r| File.directory?(r)}.each do |fn|
@@ -12,9 +12,9 @@ Rails.application.routes.draw do
12
12
  end
13
13
 
14
14
  FlowmorRouter::RouterClasses.router_classes.each do |router_class|
15
- puts " MODEL: #{router_class.model.name}"
15
+ # puts " MODEL: #{router_class.model.name}"
16
16
  router_class.routable.each do |record|
17
- puts " ROUTING: #{router_class.route_path(record)} to: #{router_class.controller_action} defaults: { id: #{record.id} } as: #{router_class.route_name(record)}"
17
+ # puts " ROUTING: #{router_class.route_path(record)} to: #{router_class.controller_action} defaults: { id: #{record.id} } as: #{router_class.route_name(record)}"
18
18
  get router_class.route_path(record),
19
19
  to: router_class.controller_action,
20
20
  defaults: { id: record.id },
@@ -24,7 +24,6 @@ module FlowmorRouter
24
24
 
25
25
  # Register and assign a distinctive name to the router_class
26
26
  router_class = FlowmorRouter::RouterClasses.register(actor, self, options)
27
- puts "REGISTERED #{router_class.named_instance}"
28
27
  class_attribute router_class.named_instance
29
28
  self.send "#{router_class.named_instance}=", router_class
30
29
 
@@ -43,7 +42,9 @@ module FlowmorRouter
43
42
  end
44
43
 
45
44
  begin
46
- Rails.application.routes_reloader.reload! unless Rails.configuration.eager_load
45
+ unless Rails.configuration.eager_load || Rails.env == "test"
46
+ Rails.application.routes_reloader.reload!
47
+ end
47
48
  rescue SystemStackError
48
49
  # NOP -- Supressing Stack Level Too deep error
49
50
  # caused by models being loaded lazily during development mode.
@@ -1,3 +1,3 @@
1
1
  module FlowmorRouter
2
- VERSION = "0.2.1"
2
+ VERSION = "0.2.2"
3
3
  end
@@ -150552,3 +150552,1830 @@ NewsArticleTest: test_news_article#url
150552
150552
  NewsArticle Load (0.0ms) SELECT "news_articles".* FROM "news_articles"
150553
150553
   (0.0ms) RELEASE SAVEPOINT active_record_1
150554
150554
   (0.4ms) rollback transaction
150555
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
150556
+  (1.0ms) CREATE TABLE "articles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "name" varchar, "created_at" datetime, "updated_at" datetime, "published" boolean) 
150557
+  (0.7ms) CREATE TABLE "news_articles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "caption" varchar, "slug" varchar, "created_at" datetime, "updated_at" datetime)
150558
+  (0.8ms) CREATE TABLE "post_categories" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "name" varchar, "created_at" datetime, "updated_at" datetime) 
150559
+  (0.7ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "category_id" integer, "name" varchar, "created_at" datetime, "updated_at" datetime)
150560
+  (0.8ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL) 
150561
+  (0.0ms) select sqlite_version(*)
150562
+  (0.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
150563
+  (0.1ms) SELECT version FROM "schema_migrations"
150564
+  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140818105255')
150565
+  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20140811154447')
150566
+  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140811155356')
150567
+  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140811182855')
150568
+  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20140811184010')
150569
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
150570
+  (0.1ms) begin transaction
150571
+ ------------------------------------
150572
+ ArticleTest: test_article#route_name
150573
+ ------------------------------------
150574
+ Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."published" = 't'
150575
+  (0.0ms) SAVEPOINT active_record_1
150576
+ SQL (0.3ms) INSERT INTO "articles" ("title", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Dummy Article"], ["published", "t"], ["created_at", "2015-04-13 06:45:13.528022"], ["updated_at", "2015-04-13 06:45:13.528022"]]
150577
+ Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."published" = 't'
150578
+  (0.1ms) RELEASE SAVEPOINT active_record_1
150579
+  (0.3ms) rollback transaction
150580
+  (0.0ms) begin transaction
150581
+ ------------------------------------------------------
150582
+ ArticleTest: test_RouterClasses_has_Article_registered
150583
+ ------------------------------------------------------
150584
+  (0.0ms) SAVEPOINT active_record_1
150585
+ SQL (0.2ms) INSERT INTO "articles" ("title", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Dummy Article"], ["published", "t"], ["created_at", "2015-04-13 06:45:13.599365"], ["updated_at", "2015-04-13 06:45:13.599365"]]
150586
+ Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."published" = 't'
150587
+  (0.0ms) RELEASE SAVEPOINT active_record_1
150588
+  (0.3ms) rollback transaction
150589
+  (0.0ms) begin transaction
150590
+ -------------------------------------------
150591
+ ArticleTest: test_article#controller_action
150592
+ -------------------------------------------
150593
+  (0.0ms) SAVEPOINT active_record_1
150594
+ SQL (0.2ms) INSERT INTO "articles" ("title", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Dummy Article"], ["published", "t"], ["created_at", "2015-04-13 06:45:13.603853"], ["updated_at", "2015-04-13 06:45:13.603853"]]
150595
+ Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."published" = 't'
150596
+  (0.0ms) RELEASE SAVEPOINT active_record_1
150597
+  (0.3ms) rollback transaction
150598
+  (0.0ms) begin transaction
150599
+ -------------------------------------------------
150600
+ ArticleTest: test_unpublished_articles_not_routed
150601
+ -------------------------------------------------
150602
+  (0.0ms) SAVEPOINT active_record_1
150603
+ SQL (0.1ms) INSERT INTO "articles" ("title", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Dummy Article"], ["published", "t"], ["created_at", "2015-04-13 06:45:13.607827"], ["updated_at", "2015-04-13 06:45:13.607827"]]
150604
+ Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."published" = 't'
150605
+  (0.0ms) RELEASE SAVEPOINT active_record_1
150606
+  (0.0ms) SAVEPOINT active_record_1
150607
+ SQL (0.8ms) INSERT INTO "articles" ("title", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Published"], ["published", "t"], ["created_at", "2015-04-13 06:45:13.611078"], ["updated_at", "2015-04-13 06:45:13.611078"]]
150608
+ Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."published" = 't'
150609
+  (0.0ms) RELEASE SAVEPOINT active_record_1
150610
+  (0.0ms) SAVEPOINT active_record_1
150611
+ SQL (0.0ms) INSERT INTO "articles" ("title", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Unpublished"], ["published", "f"], ["created_at", "2015-04-13 06:45:13.616457"], ["updated_at", "2015-04-13 06:45:13.616457"]]
150612
+ Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."published" = 't'
150613
+  (0.1ms) RELEASE SAVEPOINT active_record_1
150614
+  (0.4ms) rollback transaction
150615
+  (0.0ms) begin transaction
150616
+ ----------------------------------------------------------------------------------------
150617
+ ArticleTest: test_article#flowmor_article_articles_router_class_is_a_RouterClasses_class
150618
+ ----------------------------------------------------------------------------------------
150619
+  (0.0ms) SAVEPOINT active_record_1
150620
+ SQL (0.2ms) INSERT INTO "articles" ("title", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Dummy Article"], ["published", "t"], ["created_at", "2015-04-13 06:45:13.621207"], ["updated_at", "2015-04-13 06:45:13.621207"]]
150621
+ Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."published" = 't'
150622
+  (0.0ms) RELEASE SAVEPOINT active_record_1
150623
+  (0.3ms) rollback transaction
150624
+  (0.0ms) begin transaction
150625
+ ------------------------------
150626
+ ArticleTest: test_article#path
150627
+ ------------------------------
150628
+  (0.0ms) SAVEPOINT active_record_1
150629
+ SQL (0.1ms) INSERT INTO "articles" ("title", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Dummy Article"], ["published", "t"], ["created_at", "2015-04-13 06:45:13.625533"], ["updated_at", "2015-04-13 06:45:13.625533"]]
150630
+ Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."published" = 't'
150631
+  (0.0ms) RELEASE SAVEPOINT active_record_1
150632
+  (0.0ms) SAVEPOINT active_record_1
150633
+ SQL (0.3ms) INSERT INTO "articles" ("published", "created_at", "updated_at") VALUES (?, ?, ?) [["published", "t"], ["created_at", "2015-04-13 06:45:13.628645"], ["updated_at", "2015-04-13 06:45:13.628645"]]
150634
+ Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."published" = 't'
150635
+  (0.0ms) RELEASE SAVEPOINT active_record_1
150636
+  (0.0ms) SAVEPOINT active_record_1
150637
+ SQL (0.0ms) INSERT INTO "articles" ("title", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Another Article"], ["published", "t"], ["created_at", "2015-04-13 06:45:13.632451"], ["updated_at", "2015-04-13 06:45:13.632451"]]
150638
+ Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."published" = 't'
150639
+  (0.0ms) RELEASE SAVEPOINT active_record_1
150640
+  (0.4ms) rollback transaction
150641
+  (0.0ms) begin transaction
150642
+ --------------------------------------------------------
150643
+ FlowmorRouter::RouterClassesTest: test_defined_correctly
150644
+ --------------------------------------------------------
150645
+  (0.0ms) rollback transaction
150646
+  (0.0ms) begin transaction
150647
+ ----------------------------------------------------------------------------
150648
+ FlowmorRouter::RouterClassesTest: test_Bat_becomes_routable_with_named_model
150649
+ ----------------------------------------------------------------------------
150650
+ Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."published" = 't'
150651
+  (0.0ms) rollback transaction
150652
+  (0.0ms) begin transaction
150653
+ ----------------------------------------------------------------------------
150654
+ FlowmorRouter::RouterClassesTest: test_Fib_becomes_routable_with_named_model
150655
+ ----------------------------------------------------------------------------
150656
+ Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."published" = 't'
150657
+  (0.0ms) rollback transaction
150658
+  (0.0ms) begin transaction
150659
+ ----------------------------------------------------------------------------
150660
+ FlowmorRouter::RouterClassesTest: test_Baz_becomes_routable_with_named_model
150661
+ ----------------------------------------------------------------------------
150662
+ Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."published" = 't'
150663
+  (0.0ms) rollback transaction
150664
+  (0.0ms) begin transaction
150665
+ -----------------------------------------------------------------------------
150666
+ FlowmorRouter::RouterClassesTest: test_Down_becomes_routable_with_named_model
150667
+ -----------------------------------------------------------------------------
150668
+ Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."published" = 't'
150669
+  (0.1ms) rollback transaction
150670
+  (0.0ms) begin transaction
150671
+ -----------------------------------------------------------
150672
+ FlowmorRouter::RouterClassesTest: test_can_register_a_class
150673
+ -----------------------------------------------------------
150674
+  (0.0ms) rollback transaction
150675
+  (0.1ms) begin transaction
150676
+ -----------------------------------------------------------
150677
+ FlowmorRouter::RouterClassesTest: test_Bar_becomes_routable
150678
+ -----------------------------------------------------------
150679
+ Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."published" = 't'
150680
+  (0.0ms) rollback transaction
150681
+  (0.0ms) begin transaction
150682
+ -------------------------------------------
150683
+ StaticControllerTest: test_should_get_index
150684
+ -------------------------------------------
150685
+ Processing by StaticController#index as HTML
150686
+ Rendered static/index.html.erb within layouts/application (0.8ms)
150687
+ Completed 200 OK in 11ms (Views: 10.5ms | ActiveRecord: 0.0ms)
150688
+  (0.1ms) rollback transaction
150689
+  (0.1ms) begin transaction
150690
+ -----------------------------
150691
+ FlowmorRouterTest: test_truth
150692
+ -----------------------------
150693
+  (0.0ms) rollback transaction
150694
+  (0.0ms) begin transaction
150695
+ --------------------------------------
150696
+ NewsArticleTest: test_news_article#url
150697
+ --------------------------------------
150698
+ Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."published" = 't'
150699
+ NewsArticle Load (0.1ms) SELECT "news_articles".* FROM "news_articles"
150700
+  (0.0ms) SAVEPOINT active_record_1
150701
+ SQL (0.3ms) INSERT INTO "news_articles" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-04-13 06:45:13.679442"], ["updated_at", "2015-04-13 06:45:13.679442"]]
150702
+ Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."published" = 't'
150703
+ NewsArticle Load (0.0ms) SELECT "news_articles".* FROM "news_articles"
150704
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
150705
+  (0.0ms) SAVEPOINT active_record_1
150706
+ SQL (0.3ms) INSERT INTO "news_articles" ("caption", "created_at", "updated_at") VALUES (?, ?, ?) [["caption", "Real News Article"], ["created_at", "2015-04-13 06:45:13.682745"], ["updated_at", "2015-04-13 06:45:13.682745"]]
150707
+ Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."published" = 't'
150708
+ NewsArticle Load (0.0ms) SELECT "news_articles".* FROM "news_articles"
150709
+  (0.0ms) RELEASE SAVEPOINT active_record_1
150710
+  (0.4ms) rollback transaction
150711
+  (0.0ms) begin transaction
150712
+ ---------------------------------------
150713
+ NewsArticleTest: test_news_article#path
150714
+ ---------------------------------------
150715
+  (0.0ms) SAVEPOINT active_record_1
150716
+ SQL (0.3ms) INSERT INTO "news_articles" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-04-13 06:45:13.687633"], ["updated_at", "2015-04-13 06:45:13.687633"]]
150717
+ Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."published" = 't'
150718
+ NewsArticle Load (0.1ms) SELECT "news_articles".* FROM "news_articles"
150719
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
150720
+  (0.0ms) SAVEPOINT active_record_1
150721
+ SQL (0.3ms) INSERT INTO "news_articles" ("caption", "created_at", "updated_at") VALUES (?, ?, ?) [["caption", "Real News Article"], ["created_at", "2015-04-13 06:45:13.691470"], ["updated_at", "2015-04-13 06:45:13.691470"]]
150722
+ Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."published" = 't'
150723
+ NewsArticle Load (0.1ms) SELECT "news_articles".* FROM "news_articles"
150724
+  (0.0ms) RELEASE SAVEPOINT active_record_1
150725
+  (0.4ms) rollback transaction
150726
+  (0.0ms) begin transaction
150727
+ ---------------------------------------------
150728
+ NewsArticleTest: test_news_article#route_name
150729
+ ---------------------------------------------
150730
+  (0.0ms) rollback transaction
150731
+  (0.0ms) begin transaction
150732
+ ---------------------------------------------------
150733
+ NewsArticleTest: test_NewsArticle_controller_action
150734
+ ---------------------------------------------------
150735
+  (0.0ms) rollback transaction
150736
+  (0.0ms) begin transaction
150737
+ -------------------------------------------------------------
150738
+ PostCategoryCategoryTest: test_PostCategory_controller_action
150739
+ -------------------------------------------------------------
150740
+ Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."published" = 't'
150741
+ NewsArticle Load (0.0ms) SELECT "news_articles".* FROM "news_articles"
150742
+ PostCategory Load (0.1ms) SELECT "post_categories".* FROM "post_categories"
150743
+  (0.0ms) rollback transaction
150744
+  (0.0ms) begin transaction
150745
+ -------------------------------------------------
150746
+ PostCategoryCategoryTest: test_post_category#path
150747
+ -------------------------------------------------
150748
+  (0.0ms) SAVEPOINT active_record_1
150749
+ SQL (0.2ms) INSERT INTO "post_categories" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-04-13 06:45:13.704436"], ["updated_at", "2015-04-13 06:45:13.704436"]]
150750
+ Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."published" = 't'
150751
+ NewsArticle Load (0.0ms) SELECT "news_articles".* FROM "news_articles"
150752
+ PostCategory Load (0.1ms) SELECT "post_categories".* FROM "post_categories"
150753
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
150754
+  (0.0ms) SAVEPOINT active_record_1
150755
+ SQL (0.3ms) INSERT INTO "post_categories" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "General"], ["created_at", "2015-04-13 06:45:13.708169"], ["updated_at", "2015-04-13 06:45:13.708169"]]
150756
+ Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."published" = 't'
150757
+ NewsArticle Load (0.0ms) SELECT "news_articles".* FROM "news_articles"
150758
+ PostCategory Load (0.0ms) SELECT "post_categories".* FROM "post_categories"
150759
+  (0.0ms) RELEASE SAVEPOINT active_record_1
150760
+  (0.4ms) rollback transaction
150761
+  (0.0ms) begin transaction
150762
+ -------------------------------------------------------
150763
+ PostCategoryCategoryTest: test_post_category#route_name
150764
+ -------------------------------------------------------
150765
+  (0.0ms) rollback transaction
150766
+  (0.0ms) begin transaction
150767
+ -------------------------------------
150768
+ PostTest: test_Post_controller_action
150769
+ -------------------------------------
150770
+  (0.0ms) SAVEPOINT active_record_1
150771
+ SQL (0.2ms) INSERT INTO "post_categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "general"], ["created_at", "2015-04-13 06:45:13.714336"], ["updated_at", "2015-04-13 06:45:13.714336"]]
150772
+ Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."published" = 't'
150773
+ NewsArticle Load (0.0ms) SELECT "news_articles".* FROM "news_articles"
150774
+ PostCategory Load (0.0ms) SELECT "post_categories".* FROM "post_categories"
150775
+  (0.0ms) RELEASE SAVEPOINT active_record_1
150776
+ Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."published" = 't'
150777
+ NewsArticle Load (0.0ms) SELECT "news_articles".* FROM "news_articles"
150778
+ PostCategory Load (0.1ms) SELECT "post_categories".* FROM "post_categories"
150779
+ Post Load (0.1ms) SELECT "posts".* FROM "posts"
150780
+ Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."published" = 't'
150781
+ NewsArticle Load (0.0ms) SELECT "news_articles".* FROM "news_articles"
150782
+ PostCategory Load (0.1ms) SELECT "post_categories".* FROM "post_categories"
150783
+ Post Load (0.0ms) SELECT "posts".* FROM "posts"
150784
+ Post Load (0.1ms) SELECT "posts".* FROM "posts"
150785
+  (0.0ms) SAVEPOINT active_record_1
150786
+ SQL (0.3ms) INSERT INTO "posts" ("title", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Once Upon a Time"], ["name", "once-upon-a-time"], ["created_at", "2015-04-13 06:45:13.761372"], ["updated_at", "2015-04-13 06:45:13.761372"]]
150787
+ Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."published" = 't'
150788
+ NewsArticle Load (0.1ms) SELECT "news_articles".* FROM "news_articles"
150789
+ PostCategory Load (0.0ms) SELECT "post_categories".* FROM "post_categories"
150790
+ Post Load (0.0ms) SELECT "posts".* FROM "posts"
150791
+ Post Load (0.0ms) SELECT "posts".* FROM "posts"
150792
+  (0.0ms) RELEASE SAVEPOINT active_record_1
150793
+  (0.3ms) rollback transaction
150794
+  (0.0ms) begin transaction
150795
+ ------------------------------
150796
+ PostTest: test_post#route_name
150797
+ ------------------------------
150798
+  (0.0ms) SAVEPOINT active_record_1
150799
+ SQL (0.2ms) INSERT INTO "post_categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "general"], ["created_at", "2015-04-13 06:45:13.771896"], ["updated_at", "2015-04-13 06:45:13.771896"]]
150800
+ Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."published" = 't'
150801
+ NewsArticle Load (0.0ms) SELECT "news_articles".* FROM "news_articles"
150802
+ PostCategory Load (0.0ms) SELECT "post_categories".* FROM "post_categories"
150803
+ Post Load (0.0ms) SELECT "posts".* FROM "posts"
150804
+ Post Load (0.0ms) SELECT "posts".* FROM "posts"
150805
+  (0.0ms) RELEASE SAVEPOINT active_record_1
150806
+  (0.0ms) SAVEPOINT active_record_1
150807
+ SQL (0.3ms) INSERT INTO "posts" ("title", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Once Upon a Time"], ["name", "once-upon-a-time"], ["created_at", "2015-04-13 06:45:13.776183"], ["updated_at", "2015-04-13 06:45:13.776183"]]
150808
+ Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."published" = 't'
150809
+ NewsArticle Load (0.0ms) SELECT "news_articles".* FROM "news_articles"
150810
+ PostCategory Load (0.0ms) SELECT "post_categories".* FROM "post_categories"
150811
+ Post Load (0.0ms) SELECT "posts".* FROM "posts"
150812
+ Post Load (0.0ms) SELECT "posts".* FROM "posts"
150813
+  (0.0ms) RELEASE SAVEPOINT active_record_1
150814
+  (0.3ms) rollback transaction
150815
+  (0.0ms) begin transaction
150816
+ --------------------------------
150817
+ PostTest: test_post#archive_path
150818
+ --------------------------------
150819
+  (0.0ms) SAVEPOINT active_record_1
150820
+ SQL (0.2ms) INSERT INTO "post_categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "general"], ["created_at", "2015-04-13 06:45:13.782220"], ["updated_at", "2015-04-13 06:45:13.782220"]]
150821
+ Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."published" = 't'
150822
+ NewsArticle Load (0.0ms) SELECT "news_articles".* FROM "news_articles"
150823
+ PostCategory Load (0.0ms) SELECT "post_categories".* FROM "post_categories"
150824
+ Post Load (0.0ms) SELECT "posts".* FROM "posts"
150825
+ Post Load (0.0ms) SELECT "posts".* FROM "posts"
150826
+  (0.0ms) RELEASE SAVEPOINT active_record_1
150827
+  (0.0ms) SAVEPOINT active_record_1
150828
+ SQL (0.2ms) INSERT INTO "posts" ("title", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Once Upon a Time"], ["name", "once-upon-a-time"], ["created_at", "2015-04-13 06:45:13.785879"], ["updated_at", "2015-04-13 06:45:13.785879"]]
150829
+ Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."published" = 't'
150830
+ NewsArticle Load (0.0ms) SELECT "news_articles".* FROM "news_articles"
150831
+ PostCategory Load (0.0ms) SELECT "post_categories".* FROM "post_categories"
150832
+ Post Load (0.0ms) SELECT "posts".* FROM "posts"
150833
+ Post Load (0.0ms) SELECT "posts".* FROM "posts"
150834
+  (0.2ms) RELEASE SAVEPOINT active_record_1
150835
+  (0.4ms) rollback transaction
150836
+  (0.0ms) begin transaction
150837
+ ------------------------
150838
+ PostTest: test_post#path
150839
+ ------------------------
150840
+  (0.0ms) SAVEPOINT active_record_1
150841
+ SQL (0.2ms) INSERT INTO "post_categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "general"], ["created_at", "2015-04-13 06:45:13.793100"], ["updated_at", "2015-04-13 06:45:13.793100"]]
150842
+ Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."published" = 't'
150843
+ NewsArticle Load (0.0ms) SELECT "news_articles".* FROM "news_articles"
150844
+ PostCategory Load (0.0ms) SELECT "post_categories".* FROM "post_categories"
150845
+ Post Load (0.0ms) SELECT "posts".* FROM "posts"
150846
+ Post Load (0.0ms) SELECT "posts".* FROM "posts"
150847
+  (0.0ms) RELEASE SAVEPOINT active_record_1
150848
+  (0.0ms) SAVEPOINT active_record_1
150849
+ SQL (0.3ms) INSERT INTO "posts" ("title", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Once Upon a Time"], ["name", "once-upon-a-time"], ["created_at", "2015-04-13 06:45:13.797628"], ["updated_at", "2015-04-13 06:45:13.797628"]]
150850
+ Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."published" = 't'
150851
+ NewsArticle Load (0.0ms) SELECT "news_articles".* FROM "news_articles"
150852
+ PostCategory Load (0.0ms) SELECT "post_categories".* FROM "post_categories"
150853
+ Post Load (0.0ms) SELECT "posts".* FROM "posts"
150854
+ Post Load (0.1ms) SELECT "posts".* FROM "posts"
150855
+  (0.0ms) RELEASE SAVEPOINT active_record_1
150856
+  (0.4ms) rollback transaction
150857
+  (0.0ms) begin transaction
150858
+ -------------------------------------------------
150859
+ RoutableRecordsTest: test_/general/lets-test-this
150860
+ -------------------------------------------------
150861
+  (0.0ms) SAVEPOINT active_record_1
150862
+ SQL (0.2ms) INSERT INTO "posts" ("title", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Let's Test This"], ["name", "lets-test-this"], ["created_at", "2015-04-13 06:45:13.805262"], ["updated_at", "2015-04-13 06:45:13.805262"]]
150863
+ Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."published" = 't'
150864
+ NewsArticle Load (0.0ms) SELECT "news_articles".* FROM "news_articles"
150865
+ PostCategory Load (0.0ms) SELECT "post_categories".* FROM "post_categories"
150866
+ Post Load (0.0ms) SELECT "posts".* FROM "posts"
150867
+ Post Load (0.1ms) SELECT "posts".* FROM "posts"
150868
+  (0.1ms) RELEASE SAVEPOINT active_record_1
150869
+ Started GET "/by_category/posts/general/lets-test-this" for 127.0.0.1 at 2015-04-12 23:45:13 -0700
150870
+ Processing by BlogController#show as HTML
150871
+ Parameters: {"id"=>1}
150872
+ Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 1]]
150873
+ Rendered blog/show.html.erb within layouts/application (0.3ms)
150874
+ Completed 200 OK in 3ms (Views: 1.8ms | ActiveRecord: 0.1ms)
150875
+  (0.3ms) rollback transaction
150876
+  (0.1ms) begin transaction
150877
+ -----------------------------------
150878
+ RoutableRecordsTest: test_two_words
150879
+ -----------------------------------
150880
+ Started GET "/two-words" for 127.0.0.1 at 2015-04-12 23:45:13 -0700
150881
+ Processing by StaticController#two_words as HTML
150882
+ Rendered static/two_words.html.erb within layouts/application (0.3ms)
150883
+ Completed 200 OK in 1ms (Views: 1.3ms | ActiveRecord: 0.0ms)
150884
+  (0.0ms) rollback transaction
150885
+  (0.0ms) begin transaction
150886
+ ----------------------------------------------------
150887
+ RoutableRecordsTest: test_only_routable_routes_built
150888
+ ----------------------------------------------------
150889
+  (0.0ms) SAVEPOINT active_record_1
150890
+ SQL (0.2ms) INSERT INTO "articles" ("title", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Route This"], ["published", "t"], ["created_at", "2015-04-13 06:45:13.829296"], ["updated_at", "2015-04-13 06:45:13.829296"]]
150891
+ Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."published" = 't'
150892
+ NewsArticle Load (0.1ms) SELECT "news_articles".* FROM "news_articles"
150893
+ PostCategory Load (0.0ms) SELECT "post_categories".* FROM "post_categories"
150894
+ Post Load (0.0ms) SELECT "posts".* FROM "posts"
150895
+ Post Load (0.0ms) SELECT "posts".* FROM "posts"
150896
+  (0.0ms) RELEASE SAVEPOINT active_record_1
150897
+  (0.0ms) SAVEPOINT active_record_1
150898
+ SQL (0.3ms) INSERT INTO "articles" ("title", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Ignore This"], ["published", "f"], ["created_at", "2015-04-13 06:45:13.834886"], ["updated_at", "2015-04-13 06:45:13.834886"]]
150899
+ Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."published" = 't'
150900
+ NewsArticle Load (0.0ms) SELECT "news_articles".* FROM "news_articles"
150901
+ PostCategory Load (0.0ms) SELECT "post_categories".* FROM "post_categories"
150902
+ Post Load (0.0ms) SELECT "posts".* FROM "posts"
150903
+ Post Load (0.0ms) SELECT "posts".* FROM "posts"
150904
+  (0.0ms) RELEASE SAVEPOINT active_record_1
150905
+
150906
+ ROUTES: [nil, "static_index", "static_two_words", "articles_route_this"]
150907
+ Started GET "/articles/route-this" for 127.0.0.1 at 2015-04-12 23:45:13 -0700
150908
+ Processing by ArticleController#show as HTML
150909
+ Parameters: {"id"=>1}
150910
+ Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? LIMIT 1 [["id", 1]]
150911
+ Rendered article/show.html.erb within layouts/application (0.3ms)
150912
+ Completed 200 OK in 2ms (Views: 1.6ms | ActiveRecord: 0.1ms)
150913
+ Started GET "/articles/ignore-this" for 127.0.0.1 at 2015-04-12 23:45:13 -0700
150914
+  (0.5ms) rollback transaction
150915
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
150916
+  (1.8ms) CREATE TABLE "articles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "name" varchar, "created_at" datetime, "updated_at" datetime, "published" boolean) 
150917
+  (0.8ms) CREATE TABLE "news_articles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "caption" varchar, "slug" varchar, "created_at" datetime, "updated_at" datetime)
150918
+  (0.9ms) CREATE TABLE "post_categories" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "name" varchar, "created_at" datetime, "updated_at" datetime) 
150919
+  (0.8ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "category_id" integer, "name" varchar, "created_at" datetime, "updated_at" datetime)
150920
+  (0.8ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL) 
150921
+  (0.1ms) select sqlite_version(*)
150922
+  (0.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
150923
+  (0.1ms) SELECT version FROM "schema_migrations"
150924
+  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20140818105255')
150925
+  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140811154447')
150926
+  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140811155356')
150927
+  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140811182855')
150928
+  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140811184010')
150929
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
150930
+  (0.1ms) begin transaction
150931
+ ------------------------
150932
+ PostTest: test_post#path
150933
+ ------------------------
150934
+ PostCategory Load (0.1ms) SELECT "post_categories".* FROM "post_categories"
150935
+  (0.0ms) SAVEPOINT active_record_1
150936
+ SQL (0.3ms) INSERT INTO "post_categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "general"], ["created_at", "2015-04-13 06:45:50.665868"], ["updated_at", "2015-04-13 06:45:50.665868"]]
150937
+ PostCategory Load (0.1ms) SELECT "post_categories".* FROM "post_categories"
150938
+  (0.1ms) RELEASE SAVEPOINT active_record_1
150939
+ PostCategory Load (0.1ms) SELECT "post_categories".* FROM "post_categories"
150940
+ Post Load (0.1ms) SELECT "posts".* FROM "posts"
150941
+ PostCategory Load (0.0ms) SELECT "post_categories".* FROM "post_categories"
150942
+ Post Load (0.0ms) SELECT "posts".* FROM "posts"
150943
+ Post Load (0.0ms) SELECT "posts".* FROM "posts"
150944
+  (0.0ms) SAVEPOINT active_record_1
150945
+ SQL (0.9ms) INSERT INTO "posts" ("title", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Once Upon a Time"], ["name", "once-upon-a-time"], ["created_at", "2015-04-13 06:45:50.739736"], ["updated_at", "2015-04-13 06:45:50.739736"]]
150946
+ PostCategory Load (0.1ms) SELECT "post_categories".* FROM "post_categories"
150947
+ Post Load (0.1ms) SELECT "posts".* FROM "posts"
150948
+ Post Load (0.1ms) SELECT "posts".* FROM "posts"
150949
+  (0.0ms) RELEASE SAVEPOINT active_record_1
150950
+  (1.0ms) rollback transaction
150951
+  (0.1ms) begin transaction
150952
+ --------------------------------
150953
+ PostTest: test_post#archive_path
150954
+ --------------------------------
150955
+  (0.0ms) SAVEPOINT active_record_1
150956
+ SQL (0.2ms) INSERT INTO "post_categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "general"], ["created_at", "2015-04-13 06:45:50.751284"], ["updated_at", "2015-04-13 06:45:50.751284"]]
150957
+ PostCategory Load (0.1ms) SELECT "post_categories".* FROM "post_categories"
150958
+ Post Load (0.0ms) SELECT "posts".* FROM "posts"
150959
+ Post Load (0.1ms) SELECT "posts".* FROM "posts"
150960
+  (0.0ms) RELEASE SAVEPOINT active_record_1
150961
+  (0.0ms) SAVEPOINT active_record_1
150962
+ SQL (0.2ms) INSERT INTO "posts" ("title", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Once Upon a Time"], ["name", "once-upon-a-time"], ["created_at", "2015-04-13 06:45:50.755183"], ["updated_at", "2015-04-13 06:45:50.755183"]]
150963
+ PostCategory Load (0.0ms) SELECT "post_categories".* FROM "post_categories"
150964
+ Post Load (0.1ms) SELECT "posts".* FROM "posts"
150965
+ Post Load (0.1ms) SELECT "posts".* FROM "posts"
150966
+  (0.0ms) RELEASE SAVEPOINT active_record_1
150967
+  (0.4ms) rollback transaction
150968
+  (0.0ms) begin transaction
150969
+ ------------------------------
150970
+ PostTest: test_post#route_name
150971
+ ------------------------------
150972
+  (0.0ms) SAVEPOINT active_record_1
150973
+ SQL (0.2ms) INSERT INTO "post_categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "general"], ["created_at", "2015-04-13 06:45:50.760930"], ["updated_at", "2015-04-13 06:45:50.760930"]]
150974
+ PostCategory Load (0.1ms) SELECT "post_categories".* FROM "post_categories"
150975
+ Post Load (0.1ms) SELECT "posts".* FROM "posts"
150976
+ Post Load (0.1ms) SELECT "posts".* FROM "posts"
150977
+  (0.0ms) RELEASE SAVEPOINT active_record_1
150978
+  (0.0ms) SAVEPOINT active_record_1
150979
+ SQL (0.3ms) INSERT INTO "posts" ("title", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Once Upon a Time"], ["name", "once-upon-a-time"], ["created_at", "2015-04-13 06:45:50.765847"], ["updated_at", "2015-04-13 06:45:50.765847"]]
150980
+ PostCategory Load (0.1ms) SELECT "post_categories".* FROM "post_categories"
150981
+ Post Load (0.1ms) SELECT "posts".* FROM "posts"
150982
+ Post Load (0.1ms) SELECT "posts".* FROM "posts"
150983
+  (0.0ms) RELEASE SAVEPOINT active_record_1
150984
+  (0.4ms) rollback transaction
150985
+  (0.0ms) begin transaction
150986
+ -------------------------------------
150987
+ PostTest: test_Post_controller_action
150988
+ -------------------------------------
150989
+  (0.0ms) SAVEPOINT active_record_1
150990
+ SQL (0.2ms) INSERT INTO "post_categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "general"], ["created_at", "2015-04-13 06:45:50.773083"], ["updated_at", "2015-04-13 06:45:50.773083"]]
150991
+ PostCategory Load (0.1ms) SELECT "post_categories".* FROM "post_categories"
150992
+ Post Load (0.1ms) SELECT "posts".* FROM "posts"
150993
+ Post Load (0.0ms) SELECT "posts".* FROM "posts"
150994
+  (0.0ms) RELEASE SAVEPOINT active_record_1
150995
+  (0.0ms) SAVEPOINT active_record_1
150996
+ SQL (0.3ms) INSERT INTO "posts" ("title", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Once Upon a Time"], ["name", "once-upon-a-time"], ["created_at", "2015-04-13 06:45:50.777229"], ["updated_at", "2015-04-13 06:45:50.777229"]]
150997
+ PostCategory Load (0.1ms) SELECT "post_categories".* FROM "post_categories"
150998
+ Post Load (0.1ms) SELECT "posts".* FROM "posts"
150999
+ Post Load (0.1ms) SELECT "posts".* FROM "posts"
151000
+  (0.0ms) RELEASE SAVEPOINT active_record_1
151001
+  (0.4ms) rollback transaction
151002
+  (0.1ms) begin transaction
151003
+ ------------------------------
151004
+ ArticleTest: test_article#path
151005
+ ------------------------------
151006
+ PostCategory Load (0.1ms) SELECT "post_categories".* FROM "post_categories"
151007
+ Post Load (0.0ms) SELECT "posts".* FROM "posts"
151008
+ Post Load (0.0ms) SELECT "posts".* FROM "posts"
151009
+ Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."published" = 't'
151010
+  (0.0ms) SAVEPOINT active_record_1
151011
+ SQL (0.2ms) INSERT INTO "articles" ("title", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Dummy Article"], ["published", "t"], ["created_at", "2015-04-13 06:45:50.794960"], ["updated_at", "2015-04-13 06:45:50.794960"]]
151012
+ PostCategory Load (0.0ms) SELECT "post_categories".* FROM "post_categories"
151013
+ Post Load (0.0ms) SELECT "posts".* FROM "posts"
151014
+ Post Load (0.0ms) SELECT "posts".* FROM "posts"
151015
+ Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."published" = 't'
151016
+  (0.0ms) RELEASE SAVEPOINT active_record_1
151017
+  (0.0ms) SAVEPOINT active_record_1
151018
+ SQL (0.3ms) INSERT INTO "articles" ("published", "created_at", "updated_at") VALUES (?, ?, ?) [["published", "t"], ["created_at", "2015-04-13 06:45:50.799133"], ["updated_at", "2015-04-13 06:45:50.799133"]]
151019
+ PostCategory Load (0.0ms) SELECT "post_categories".* FROM "post_categories"
151020
+ Post Load (0.0ms) SELECT "posts".* FROM "posts"
151021
+ Post Load (0.0ms) SELECT "posts".* FROM "posts"
151022
+ Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."published" = 't'
151023
+  (0.1ms) RELEASE SAVEPOINT active_record_1
151024
+  (0.0ms) SAVEPOINT active_record_1
151025
+ SQL (0.1ms) INSERT INTO "articles" ("title", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Another Article"], ["published", "t"], ["created_at", "2015-04-13 06:45:50.803627"], ["updated_at", "2015-04-13 06:45:50.803627"]]
151026
+ PostCategory Load (0.0ms) SELECT "post_categories".* FROM "post_categories"
151027
+ Post Load (0.0ms) SELECT "posts".* FROM "posts"
151028
+ Post Load (0.1ms) SELECT "posts".* FROM "posts"
151029
+ Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."published" = 't'
151030
+  (0.1ms) RELEASE SAVEPOINT active_record_1
151031
+  (0.4ms) rollback transaction
151032
+  (0.0ms) begin transaction
151033
+ ------------------------------------
151034
+ ArticleTest: test_article#route_name
151035
+ ------------------------------------
151036
+  (0.1ms) SAVEPOINT active_record_1
151037
+ SQL (0.2ms) INSERT INTO "articles" ("title", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Dummy Article"], ["published", "t"], ["created_at", "2015-04-13 06:45:50.810001"], ["updated_at", "2015-04-13 06:45:50.810001"]]
151038
+ PostCategory Load (0.1ms) SELECT "post_categories".* FROM "post_categories"
151039
+ Post Load (0.0ms) SELECT "posts".* FROM "posts"
151040
+ Post Load (0.0ms) SELECT "posts".* FROM "posts"
151041
+ Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."published" = 't'
151042
+  (0.0ms) RELEASE SAVEPOINT active_record_1
151043
+  (0.3ms) rollback transaction
151044
+  (0.0ms) begin transaction
151045
+ -------------------------------------------
151046
+ ArticleTest: test_article#controller_action
151047
+ -------------------------------------------
151048
+  (0.0ms) SAVEPOINT active_record_1
151049
+ SQL (0.2ms) INSERT INTO "articles" ("title", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Dummy Article"], ["published", "t"], ["created_at", "2015-04-13 06:45:50.815044"], ["updated_at", "2015-04-13 06:45:50.815044"]]
151050
+ PostCategory Load (0.1ms) SELECT "post_categories".* FROM "post_categories"
151051
+ Post Load (0.0ms) SELECT "posts".* FROM "posts"
151052
+ Post Load (0.0ms) SELECT "posts".* FROM "posts"
151053
+ Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."published" = 't'
151054
+  (0.0ms) RELEASE SAVEPOINT active_record_1
151055
+  (0.3ms) rollback transaction
151056
+  (0.0ms) begin transaction
151057
+ ----------------------------------------------------------------------------------------
151058
+ ArticleTest: test_article#flowmor_article_articles_router_class_is_a_RouterClasses_class
151059
+ ----------------------------------------------------------------------------------------
151060
+  (0.0ms) SAVEPOINT active_record_1
151061
+ SQL (0.1ms) INSERT INTO "articles" ("title", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Dummy Article"], ["published", "t"], ["created_at", "2015-04-13 06:45:50.819527"], ["updated_at", "2015-04-13 06:45:50.819527"]]
151062
+ PostCategory Load (0.0ms) SELECT "post_categories".* FROM "post_categories"
151063
+ Post Load (0.0ms) SELECT "posts".* FROM "posts"
151064
+ Post Load (0.0ms) SELECT "posts".* FROM "posts"
151065
+ Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."published" = 't'
151066
+  (0.0ms) RELEASE SAVEPOINT active_record_1
151067
+  (0.3ms) rollback transaction
151068
+  (0.0ms) begin transaction
151069
+ ------------------------------------------------------
151070
+ ArticleTest: test_RouterClasses_has_Article_registered
151071
+ ------------------------------------------------------
151072
+  (0.0ms) SAVEPOINT active_record_1
151073
+ SQL (0.2ms) INSERT INTO "articles" ("title", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Dummy Article"], ["published", "t"], ["created_at", "2015-04-13 06:45:50.824022"], ["updated_at", "2015-04-13 06:45:50.824022"]]
151074
+ PostCategory Load (0.0ms) SELECT "post_categories".* FROM "post_categories"
151075
+ Post Load (0.0ms) SELECT "posts".* FROM "posts"
151076
+ Post Load (0.0ms) SELECT "posts".* FROM "posts"
151077
+ Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."published" = 't'
151078
+  (0.0ms) RELEASE SAVEPOINT active_record_1
151079
+  (0.3ms) rollback transaction
151080
+  (0.0ms) begin transaction
151081
+ -------------------------------------------------
151082
+ ArticleTest: test_unpublished_articles_not_routed
151083
+ -------------------------------------------------
151084
+  (0.0ms) SAVEPOINT active_record_1
151085
+ SQL (0.2ms) INSERT INTO "articles" ("title", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Dummy Article"], ["published", "t"], ["created_at", "2015-04-13 06:45:50.828680"], ["updated_at", "2015-04-13 06:45:50.828680"]]
151086
+ PostCategory Load (0.0ms) SELECT "post_categories".* FROM "post_categories"
151087
+ Post Load (0.0ms) SELECT "posts".* FROM "posts"
151088
+ Post Load (0.0ms) SELECT "posts".* FROM "posts"
151089
+ Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."published" = 't'
151090
+  (0.0ms) RELEASE SAVEPOINT active_record_1
151091
+  (0.0ms) SAVEPOINT active_record_1
151092
+ SQL (0.3ms) INSERT INTO "articles" ("title", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Published"], ["published", "t"], ["created_at", "2015-04-13 06:45:50.832435"], ["updated_at", "2015-04-13 06:45:50.832435"]]
151093
+ PostCategory Load (0.0ms) SELECT "post_categories".* FROM "post_categories"
151094
+ Post Load (0.0ms) SELECT "posts".* FROM "posts"
151095
+ Post Load (0.0ms) SELECT "posts".* FROM "posts"
151096
+ Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."published" = 't'
151097
+  (0.0ms) RELEASE SAVEPOINT active_record_1
151098
+  (0.0ms) SAVEPOINT active_record_1
151099
+ SQL (0.0ms) INSERT INTO "articles" ("title", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Unpublished"], ["published", "f"], ["created_at", "2015-04-13 06:45:50.836853"], ["updated_at", "2015-04-13 06:45:50.836853"]]
151100
+ PostCategory Load (0.1ms) SELECT "post_categories".* FROM "post_categories"
151101
+ Post Load (0.0ms) SELECT "posts".* FROM "posts"
151102
+ Post Load (0.0ms) SELECT "posts".* FROM "posts"
151103
+ Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."published" = 't'
151104
+  (0.0ms) RELEASE SAVEPOINT active_record_1
151105
+  (0.5ms) rollback transaction
151106
+  (0.0ms) begin transaction
151107
+ -------------------------------------------
151108
+ StaticControllerTest: test_should_get_index
151109
+ -------------------------------------------
151110
+ Processing by StaticController#index as HTML
151111
+ Rendered static/index.html.erb within layouts/application (0.8ms)
151112
+ Completed 200 OK in 10ms (Views: 9.9ms | ActiveRecord: 0.0ms)
151113
+  (0.1ms) rollback transaction
151114
+  (0.0ms) begin transaction
151115
+ -------------------------------------------------------------
151116
+ PostCategoryCategoryTest: test_PostCategory_controller_action
151117
+ -------------------------------------------------------------
151118
+  (0.0ms) rollback transaction
151119
+  (0.0ms) begin transaction
151120
+ -------------------------------------------------------
151121
+ PostCategoryCategoryTest: test_post_category#route_name
151122
+ -------------------------------------------------------
151123
+  (0.0ms) rollback transaction
151124
+  (0.0ms) begin transaction
151125
+ -------------------------------------------------
151126
+ PostCategoryCategoryTest: test_post_category#path
151127
+ -------------------------------------------------
151128
+  (0.1ms) SAVEPOINT active_record_1
151129
+ SQL (0.3ms) INSERT INTO "post_categories" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-04-13 06:45:50.893666"], ["updated_at", "2015-04-13 06:45:50.893666"]]
151130
+ PostCategory Load (0.1ms) SELECT "post_categories".* FROM "post_categories"
151131
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
151132
+  (0.0ms) SAVEPOINT active_record_1
151133
+ SQL (0.3ms) INSERT INTO "post_categories" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "General"], ["created_at", "2015-04-13 06:45:50.897141"], ["updated_at", "2015-04-13 06:45:50.897141"]]
151134
+ PostCategory Load (0.1ms) SELECT "post_categories".* FROM "post_categories"
151135
+ Post Load (0.0ms) SELECT "posts".* FROM "posts"
151136
+ Post Load (0.1ms) SELECT "posts".* FROM "posts"
151137
+ Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."published" = 't'
151138
+  (0.0ms) RELEASE SAVEPOINT active_record_1
151139
+  (2.0ms) rollback transaction
151140
+  (0.1ms) begin transaction
151141
+ ---------------------------------------------------
151142
+ NewsArticleTest: test_NewsArticle_controller_action
151143
+ ---------------------------------------------------
151144
+ PostCategory Load (0.1ms) SELECT "post_categories".* FROM "post_categories"
151145
+ Post Load (0.0ms) SELECT "posts".* FROM "posts"
151146
+ Post Load (0.0ms) SELECT "posts".* FROM "posts"
151147
+ Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."published" = 't'
151148
+ NewsArticle Load (0.0ms) SELECT "news_articles".* FROM "news_articles"
151149
+  (0.0ms) rollback transaction
151150
+  (0.0ms) begin transaction
151151
+ ---------------------------------------------
151152
+ NewsArticleTest: test_news_article#route_name
151153
+ ---------------------------------------------
151154
+  (0.0ms) rollback transaction
151155
+  (0.0ms) begin transaction
151156
+ --------------------------------------
151157
+ NewsArticleTest: test_news_article#url
151158
+ --------------------------------------
151159
+  (0.0ms) SAVEPOINT active_record_1
151160
+ SQL (0.2ms) INSERT INTO "news_articles" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-04-13 06:45:50.911378"], ["updated_at", "2015-04-13 06:45:50.911378"]]
151161
+ PostCategory Load (0.0ms) SELECT "post_categories".* FROM "post_categories"
151162
+ Post Load (0.0ms) SELECT "posts".* FROM "posts"
151163
+ Post Load (0.0ms) SELECT "posts".* FROM "posts"
151164
+ Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."published" = 't'
151165
+ NewsArticle Load (0.0ms) SELECT "news_articles".* FROM "news_articles"
151166
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
151167
+  (0.0ms) SAVEPOINT active_record_1
151168
+ SQL (0.6ms) INSERT INTO "news_articles" ("caption", "created_at", "updated_at") VALUES (?, ?, ?) [["caption", "Real News Article"], ["created_at", "2015-04-13 06:45:50.915025"], ["updated_at", "2015-04-13 06:45:50.915025"]]
151169
+ PostCategory Load (0.1ms) SELECT "post_categories".* FROM "post_categories"
151170
+ Post Load (0.0ms) SELECT "posts".* FROM "posts"
151171
+ Post Load (0.0ms) SELECT "posts".* FROM "posts"
151172
+ Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."published" = 't'
151173
+ NewsArticle Load (0.0ms) SELECT "news_articles".* FROM "news_articles"
151174
+  (0.0ms) RELEASE SAVEPOINT active_record_1
151175
+  (0.4ms) rollback transaction
151176
+  (0.0ms) begin transaction
151177
+ ---------------------------------------
151178
+ NewsArticleTest: test_news_article#path
151179
+ ---------------------------------------
151180
+  (0.0ms) SAVEPOINT active_record_1
151181
+ SQL (0.2ms) INSERT INTO "news_articles" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-04-13 06:45:50.920229"], ["updated_at", "2015-04-13 06:45:50.920229"]]
151182
+ PostCategory Load (0.0ms) SELECT "post_categories".* FROM "post_categories"
151183
+ Post Load (0.0ms) SELECT "posts".* FROM "posts"
151184
+ Post Load (0.0ms) SELECT "posts".* FROM "posts"
151185
+ Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."published" = 't'
151186
+ NewsArticle Load (0.0ms) SELECT "news_articles".* FROM "news_articles"
151187
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
151188
+  (0.0ms) SAVEPOINT active_record_1
151189
+ SQL (0.2ms) INSERT INTO "news_articles" ("caption", "created_at", "updated_at") VALUES (?, ?, ?) [["caption", "Real News Article"], ["created_at", "2015-04-13 06:45:50.923492"], ["updated_at", "2015-04-13 06:45:50.923492"]]
151190
+ PostCategory Load (0.0ms) SELECT "post_categories".* FROM "post_categories"
151191
+ Post Load (0.0ms) SELECT "posts".* FROM "posts"
151192
+ Post Load (0.0ms) SELECT "posts".* FROM "posts"
151193
+ Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."published" = 't'
151194
+ NewsArticle Load (0.0ms) SELECT "news_articles".* FROM "news_articles"
151195
+  (0.0ms) RELEASE SAVEPOINT active_record_1
151196
+  (0.4ms) rollback transaction
151197
+  (0.0ms) begin transaction
151198
+ -----------------------------
151199
+ FlowmorRouterTest: test_truth
151200
+ -----------------------------
151201
+  (0.0ms) rollback transaction
151202
+  (0.0ms) begin transaction
151203
+ -------------------------------------------------
151204
+ RoutableRecordsTest: test_/general/lets-test-this
151205
+ -------------------------------------------------
151206
+  (0.0ms) SAVEPOINT active_record_1
151207
+ SQL (0.3ms) INSERT INTO "posts" ("title", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Let's Test This"], ["name", "lets-test-this"], ["created_at", "2015-04-13 06:45:50.929796"], ["updated_at", "2015-04-13 06:45:50.929796"]]
151208
+ PostCategory Load (0.1ms) SELECT "post_categories".* FROM "post_categories"
151209
+ Post Load (0.0ms) SELECT "posts".* FROM "posts"
151210
+ Post Load (0.0ms) SELECT "posts".* FROM "posts"
151211
+ Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."published" = 't'
151212
+ NewsArticle Load (0.0ms) SELECT "news_articles".* FROM "news_articles"
151213
+  (0.0ms) RELEASE SAVEPOINT active_record_1
151214
+ Started GET "/by_category/posts/general/lets-test-this" for 127.0.0.1 at 2015-04-12 23:45:50 -0700
151215
+ Processing by BlogController#show as HTML
151216
+ Parameters: {"id"=>1}
151217
+ Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 1]]
151218
+ Rendered blog/show.html.erb within layouts/application (0.3ms)
151219
+ Completed 200 OK in 3ms (Views: 1.5ms | ActiveRecord: 0.1ms)
151220
+  (0.4ms) rollback transaction
151221
+  (0.0ms) begin transaction
151222
+ ----------------------------------------------------
151223
+ RoutableRecordsTest: test_only_routable_routes_built
151224
+ ----------------------------------------------------
151225
+  (0.0ms) SAVEPOINT active_record_1
151226
+ SQL (0.2ms) INSERT INTO "articles" ("title", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Route This"], ["published", "t"], ["created_at", "2015-04-13 06:45:50.946521"], ["updated_at", "2015-04-13 06:45:50.946521"]]
151227
+ PostCategory Load (0.1ms) SELECT "post_categories".* FROM "post_categories"
151228
+ Post Load (0.0ms) SELECT "posts".* FROM "posts"
151229
+ Post Load (0.0ms) SELECT "posts".* FROM "posts"
151230
+ Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."published" = 't'
151231
+ NewsArticle Load (0.0ms) SELECT "news_articles".* FROM "news_articles"
151232
+  (0.0ms) RELEASE SAVEPOINT active_record_1
151233
+  (0.0ms) SAVEPOINT active_record_1
151234
+ SQL (0.2ms) INSERT INTO "articles" ("title", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Ignore This"], ["published", "f"], ["created_at", "2015-04-13 06:45:50.951552"], ["updated_at", "2015-04-13 06:45:50.951552"]]
151235
+ PostCategory Load (0.0ms) SELECT "post_categories".* FROM "post_categories"
151236
+ Post Load (0.0ms) SELECT "posts".* FROM "posts"
151237
+ Post Load (0.0ms) SELECT "posts".* FROM "posts"
151238
+ Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."published" = 't'
151239
+ NewsArticle Load (0.0ms) SELECT "news_articles".* FROM "news_articles"
151240
+  (0.0ms) RELEASE SAVEPOINT active_record_1
151241
+
151242
+ ROUTES: [nil, "static_index", "static_two_words", "articles_route_this"]
151243
+ Started GET "/articles/route-this" for 127.0.0.1 at 2015-04-12 23:45:50 -0700
151244
+ Processing by ArticleController#show as HTML
151245
+ Parameters: {"id"=>1}
151246
+ Article Load (0.3ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? LIMIT 1 [["id", 1]]
151247
+ Rendered article/show.html.erb within layouts/application (0.3ms)
151248
+ Completed 200 OK in 2ms (Views: 1.4ms | ActiveRecord: 0.3ms)
151249
+ Started GET "/articles/ignore-this" for 127.0.0.1 at 2015-04-12 23:45:50 -0700
151250
+  (0.4ms) rollback transaction
151251
+  (0.0ms) begin transaction
151252
+ -----------------------------------
151253
+ RoutableRecordsTest: test_two_words
151254
+ -----------------------------------
151255
+ Started GET "/two-words" for 127.0.0.1 at 2015-04-12 23:45:50 -0700
151256
+ Processing by StaticController#two_words as HTML
151257
+ Rendered static/two_words.html.erb within layouts/application (0.3ms)
151258
+ Completed 200 OK in 1ms (Views: 1.1ms | ActiveRecord: 0.0ms)
151259
+  (0.0ms) rollback transaction
151260
+  (0.0ms) begin transaction
151261
+ ----------------------------------------------------------------------------
151262
+ FlowmorRouter::RouterClassesTest: test_Bat_becomes_routable_with_named_model
151263
+ ----------------------------------------------------------------------------
151264
+ PostCategory Load (0.1ms) SELECT "post_categories".* FROM "post_categories"
151265
+ Post Load (0.0ms) SELECT "posts".* FROM "posts"
151266
+ Post Load (0.0ms) SELECT "posts".* FROM "posts"
151267
+ Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."published" = 't'
151268
+ NewsArticle Load (0.0ms) SELECT "news_articles".* FROM "news_articles"
151269
+  (0.0ms) rollback transaction
151270
+  (0.0ms) begin transaction
151271
+ -----------------------------------------------------------
151272
+ FlowmorRouter::RouterClassesTest: test_Bar_becomes_routable
151273
+ -----------------------------------------------------------
151274
+ PostCategory Load (0.1ms) SELECT "post_categories".* FROM "post_categories"
151275
+ Post Load (0.0ms) SELECT "posts".* FROM "posts"
151276
+ Post Load (0.0ms) SELECT "posts".* FROM "posts"
151277
+ Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."published" = 't'
151278
+ NewsArticle Load (0.0ms) SELECT "news_articles".* FROM "news_articles"
151279
+  (0.0ms) rollback transaction
151280
+  (0.0ms) begin transaction
151281
+ -----------------------------------------------------------
151282
+ FlowmorRouter::RouterClassesTest: test_can_register_a_class
151283
+ -----------------------------------------------------------
151284
+  (0.0ms) rollback transaction
151285
+  (0.0ms) begin transaction
151286
+ ----------------------------------------------------------------------------
151287
+ FlowmorRouter::RouterClassesTest: test_Fib_becomes_routable_with_named_model
151288
+ ----------------------------------------------------------------------------
151289
+ PostCategory Load (0.1ms) SELECT "post_categories".* FROM "post_categories"
151290
+ Post Load (0.0ms) SELECT "posts".* FROM "posts"
151291
+ Post Load (0.0ms) SELECT "posts".* FROM "posts"
151292
+ Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."published" = 't'
151293
+ NewsArticle Load (0.0ms) SELECT "news_articles".* FROM "news_articles"
151294
+  (0.0ms) rollback transaction
151295
+  (0.0ms) begin transaction
151296
+ -----------------------------------------------------------------------------
151297
+ FlowmorRouter::RouterClassesTest: test_Down_becomes_routable_with_named_model
151298
+ -----------------------------------------------------------------------------
151299
+ PostCategory Load (0.1ms) SELECT "post_categories".* FROM "post_categories"
151300
+ Post Load (0.0ms) SELECT "posts".* FROM "posts"
151301
+ Post Load (0.0ms) SELECT "posts".* FROM "posts"
151302
+ Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."published" = 't'
151303
+ NewsArticle Load (0.0ms) SELECT "news_articles".* FROM "news_articles"
151304
+  (0.0ms) rollback transaction
151305
+  (0.0ms) begin transaction
151306
+ ----------------------------------------------------------------------------
151307
+ FlowmorRouter::RouterClassesTest: test_Baz_becomes_routable_with_named_model
151308
+ ----------------------------------------------------------------------------
151309
+ PostCategory Load (0.1ms) SELECT "post_categories".* FROM "post_categories"
151310
+ Post Load (0.0ms) SELECT "posts".* FROM "posts"
151311
+ Post Load (0.0ms) SELECT "posts".* FROM "posts"
151312
+ Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."published" = 't'
151313
+ NewsArticle Load (0.0ms) SELECT "news_articles".* FROM "news_articles"
151314
+  (0.0ms) rollback transaction
151315
+  (0.0ms) begin transaction
151316
+ --------------------------------------------------------
151317
+ FlowmorRouter::RouterClassesTest: test_defined_correctly
151318
+ --------------------------------------------------------
151319
+  (0.0ms) rollback transaction
151320
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
151321
+  (1.6ms) CREATE TABLE "articles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "name" varchar, "created_at" datetime, "updated_at" datetime, "published" boolean) 
151322
+  (0.8ms) CREATE TABLE "news_articles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "caption" varchar, "slug" varchar, "created_at" datetime, "updated_at" datetime)
151323
+  (1.0ms) CREATE TABLE "post_categories" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "name" varchar, "created_at" datetime, "updated_at" datetime) 
151324
+  (0.7ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "category_id" integer, "name" varchar, "created_at" datetime, "updated_at" datetime)
151325
+  (0.8ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL) 
151326
+  (0.1ms) select sqlite_version(*)
151327
+  (0.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
151328
+  (0.1ms) SELECT version FROM "schema_migrations"
151329
+  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140818105255')
151330
+  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140811154447')
151331
+  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140811155356')
151332
+  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140811182855')
151333
+  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140811184010')
151334
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
151335
+  (0.1ms) begin transaction
151336
+ -------------------------------------
151337
+ PostTest: test_Post_controller_action
151338
+ -------------------------------------
151339
+  (0.0ms) SAVEPOINT active_record_1
151340
+ SQL (0.3ms) INSERT INTO "post_categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "general"], ["created_at", "2015-04-13 06:49:02.411495"], ["updated_at", "2015-04-13 06:49:02.411495"]]
151341
+ PostCategory Load (0.1ms) SELECT "post_categories".* FROM "post_categories"
151342
+  (0.1ms) RELEASE SAVEPOINT active_record_1
151343
+  (0.0ms) SAVEPOINT active_record_1
151344
+ SQL (1.0ms) INSERT INTO "posts" ("title", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Once Upon a Time"], ["name", "once-upon-a-time"], ["created_at", "2015-04-13 06:49:02.485506"], ["updated_at", "2015-04-13 06:49:02.485506"]]
151345
+ PostCategory Load (0.1ms) SELECT "post_categories".* FROM "post_categories"
151346
+ Post Load (0.1ms) SELECT "posts".* FROM "posts"
151347
+ Post Load (0.0ms) SELECT "posts".* FROM "posts"
151348
+  (0.0ms) RELEASE SAVEPOINT active_record_1
151349
+  (1.0ms) rollback transaction
151350
+  (0.1ms) begin transaction
151351
+ --------------------------------
151352
+ PostTest: test_post#archive_path
151353
+ --------------------------------
151354
+  (0.0ms) SAVEPOINT active_record_1
151355
+ SQL (0.2ms) INSERT INTO "post_categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "general"], ["created_at", "2015-04-13 06:49:02.496069"], ["updated_at", "2015-04-13 06:49:02.496069"]]
151356
+ PostCategory Load (0.1ms) SELECT "post_categories".* FROM "post_categories"
151357
+ Post Load (0.0ms) SELECT "posts".* FROM "posts"
151358
+ Post Load (0.0ms) SELECT "posts".* FROM "posts"
151359
+  (0.0ms) RELEASE SAVEPOINT active_record_1
151360
+  (0.0ms) SAVEPOINT active_record_1
151361
+ SQL (0.3ms) INSERT INTO "posts" ("title", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Once Upon a Time"], ["name", "once-upon-a-time"], ["created_at", "2015-04-13 06:49:02.500169"], ["updated_at", "2015-04-13 06:49:02.500169"]]
151362
+ PostCategory Load (0.0ms) SELECT "post_categories".* FROM "post_categories"
151363
+ Post Load (0.1ms) SELECT "posts".* FROM "posts"
151364
+ Post Load (0.1ms) SELECT "posts".* FROM "posts"
151365
+  (0.0ms) RELEASE SAVEPOINT active_record_1
151366
+  (0.4ms) rollback transaction
151367
+  (0.0ms) begin transaction
151368
+ ------------------------
151369
+ PostTest: test_post#path
151370
+ ------------------------
151371
+  (0.0ms) SAVEPOINT active_record_1
151372
+ SQL (0.2ms) INSERT INTO "post_categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "general"], ["created_at", "2015-04-13 06:49:02.506353"], ["updated_at", "2015-04-13 06:49:02.506353"]]
151373
+ PostCategory Load (0.1ms) SELECT "post_categories".* FROM "post_categories"
151374
+ Post Load (0.1ms) SELECT "posts".* FROM "posts"
151375
+ Post Load (0.0ms) SELECT "posts".* FROM "posts"
151376
+  (0.0ms) RELEASE SAVEPOINT active_record_1
151377
+  (0.0ms) SAVEPOINT active_record_1
151378
+ SQL (0.2ms) INSERT INTO "posts" ("title", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Once Upon a Time"], ["name", "once-upon-a-time"], ["created_at", "2015-04-13 06:49:02.510146"], ["updated_at", "2015-04-13 06:49:02.510146"]]
151379
+ PostCategory Load (0.1ms) SELECT "post_categories".* FROM "post_categories"
151380
+ Post Load (0.0ms) SELECT "posts".* FROM "posts"
151381
+ Post Load (0.1ms) SELECT "posts".* FROM "posts"
151382
+  (0.1ms) RELEASE SAVEPOINT active_record_1
151383
+  (0.4ms) rollback transaction
151384
+  (0.1ms) begin transaction
151385
+ ------------------------------
151386
+ PostTest: test_post#route_name
151387
+ ------------------------------
151388
+  (0.0ms) SAVEPOINT active_record_1
151389
+ SQL (0.1ms) INSERT INTO "post_categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "general"], ["created_at", "2015-04-13 06:49:02.516266"], ["updated_at", "2015-04-13 06:49:02.516266"]]
151390
+ PostCategory Load (0.1ms) SELECT "post_categories".* FROM "post_categories"
151391
+ Post Load (0.0ms) SELECT "posts".* FROM "posts"
151392
+ Post Load (0.1ms) SELECT "posts".* FROM "posts"
151393
+  (0.0ms) RELEASE SAVEPOINT active_record_1
151394
+  (0.0ms) SAVEPOINT active_record_1
151395
+ SQL (0.3ms) INSERT INTO "posts" ("title", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Once Upon a Time"], ["name", "once-upon-a-time"], ["created_at", "2015-04-13 06:49:02.520050"], ["updated_at", "2015-04-13 06:49:02.520050"]]
151396
+ PostCategory Load (0.1ms) SELECT "post_categories".* FROM "post_categories"
151397
+ Post Load (0.0ms) SELECT "posts".* FROM "posts"
151398
+ Post Load (0.1ms) SELECT "posts".* FROM "posts"
151399
+  (0.1ms) RELEASE SAVEPOINT active_record_1
151400
+  (0.5ms) rollback transaction
151401
+  (0.0ms) begin transaction
151402
+ -----------------------------------------------------------
151403
+ FlowmorRouter::RouterClassesTest: test_Bar_becomes_routable
151404
+ -----------------------------------------------------------
151405
+  (0.0ms) rollback transaction
151406
+  (0.0ms) begin transaction
151407
+ ----------------------------------------------------------------------------
151408
+ FlowmorRouter::RouterClassesTest: test_Fib_becomes_routable_with_named_model
151409
+ ----------------------------------------------------------------------------
151410
+  (0.0ms) rollback transaction
151411
+  (0.1ms) begin transaction
151412
+ ----------------------------------------------------------------------------
151413
+ FlowmorRouter::RouterClassesTest: test_Bat_becomes_routable_with_named_model
151414
+ ----------------------------------------------------------------------------
151415
+  (0.0ms) rollback transaction
151416
+  (0.1ms) begin transaction
151417
+ -----------------------------------------------------------------------------
151418
+ FlowmorRouter::RouterClassesTest: test_Down_becomes_routable_with_named_model
151419
+ -----------------------------------------------------------------------------
151420
+  (0.0ms) rollback transaction
151421
+  (0.0ms) begin transaction
151422
+ ----------------------------------------------------------------------------
151423
+ FlowmorRouter::RouterClassesTest: test_Baz_becomes_routable_with_named_model
151424
+ ----------------------------------------------------------------------------
151425
+  (0.0ms) rollback transaction
151426
+  (0.0ms) begin transaction
151427
+ -----------------------------------------------------------
151428
+ FlowmorRouter::RouterClassesTest: test_can_register_a_class
151429
+ -----------------------------------------------------------
151430
+  (0.0ms) rollback transaction
151431
+  (0.0ms) begin transaction
151432
+ --------------------------------------------------------
151433
+ FlowmorRouter::RouterClassesTest: test_defined_correctly
151434
+ --------------------------------------------------------
151435
+  (0.0ms) rollback transaction
151436
+  (0.0ms) begin transaction
151437
+ --------------------------------------
151438
+ NewsArticleTest: test_news_article#url
151439
+ --------------------------------------
151440
+  (0.0ms) SAVEPOINT active_record_1
151441
+ SQL (0.2ms) INSERT INTO "news_articles" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-04-13 06:49:02.536361"], ["updated_at", "2015-04-13 06:49:02.536361"]]
151442
+ PostCategory Load (0.1ms) SELECT "post_categories".* FROM "post_categories"
151443
+ Post Load (0.1ms) SELECT "posts".* FROM "posts"
151444
+ Post Load (0.1ms) SELECT "posts".* FROM "posts"
151445
+ NewsArticle Load (0.0ms) SELECT "news_articles".* FROM "news_articles"
151446
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
151447
+  (0.0ms) SAVEPOINT active_record_1
151448
+ SQL (0.3ms) INSERT INTO "news_articles" ("caption", "created_at", "updated_at") VALUES (?, ?, ?) [["caption", "Real News Article"], ["created_at", "2015-04-13 06:49:02.540013"], ["updated_at", "2015-04-13 06:49:02.540013"]]
151449
+ PostCategory Load (0.0ms) SELECT "post_categories".* FROM "post_categories"
151450
+ Post Load (0.0ms) SELECT "posts".* FROM "posts"
151451
+ Post Load (0.0ms) SELECT "posts".* FROM "posts"
151452
+ NewsArticle Load (0.0ms) SELECT "news_articles".* FROM "news_articles"
151453
+  (0.0ms) RELEASE SAVEPOINT active_record_1
151454
+  (0.4ms) rollback transaction
151455
+  (0.0ms) begin transaction
151456
+ ---------------------------------------------
151457
+ NewsArticleTest: test_news_article#route_name
151458
+ ---------------------------------------------
151459
+  (0.0ms) rollback transaction
151460
+  (0.0ms) begin transaction
151461
+ ---------------------------------------
151462
+ NewsArticleTest: test_news_article#path
151463
+ ---------------------------------------
151464
+  (0.0ms) SAVEPOINT active_record_1
151465
+ SQL (0.1ms) INSERT INTO "news_articles" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-04-13 06:49:02.545382"], ["updated_at", "2015-04-13 06:49:02.545382"]]
151466
+ PostCategory Load (0.1ms) SELECT "post_categories".* FROM "post_categories"
151467
+ Post Load (0.0ms) SELECT "posts".* FROM "posts"
151468
+ Post Load (0.0ms) SELECT "posts".* FROM "posts"
151469
+ NewsArticle Load (0.0ms) SELECT "news_articles".* FROM "news_articles"
151470
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
151471
+  (0.0ms) SAVEPOINT active_record_1
151472
+ SQL (0.2ms) INSERT INTO "news_articles" ("caption", "created_at", "updated_at") VALUES (?, ?, ?) [["caption", "Real News Article"], ["created_at", "2015-04-13 06:49:02.548481"], ["updated_at", "2015-04-13 06:49:02.548481"]]
151473
+ PostCategory Load (0.1ms) SELECT "post_categories".* FROM "post_categories"
151474
+ Post Load (0.0ms) SELECT "posts".* FROM "posts"
151475
+ Post Load (0.1ms) SELECT "posts".* FROM "posts"
151476
+ NewsArticle Load (0.0ms) SELECT "news_articles".* FROM "news_articles"
151477
+  (0.0ms) RELEASE SAVEPOINT active_record_1
151478
+  (0.4ms) rollback transaction
151479
+  (0.0ms) begin transaction
151480
+ ---------------------------------------------------
151481
+ NewsArticleTest: test_NewsArticle_controller_action
151482
+ ---------------------------------------------------
151483
+  (0.0ms) rollback transaction
151484
+  (0.0ms) begin transaction
151485
+ -------------------------------------------------------------
151486
+ PostCategoryCategoryTest: test_PostCategory_controller_action
151487
+ -------------------------------------------------------------
151488
+  (0.0ms) rollback transaction
151489
+  (0.0ms) begin transaction
151490
+ -------------------------------------------------
151491
+ PostCategoryCategoryTest: test_post_category#path
151492
+ -------------------------------------------------
151493
+  (0.0ms) SAVEPOINT active_record_1
151494
+ SQL (0.2ms) INSERT INTO "post_categories" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-04-13 06:49:02.555455"], ["updated_at", "2015-04-13 06:49:02.555455"]]
151495
+ PostCategory Load (0.1ms) SELECT "post_categories".* FROM "post_categories"
151496
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
151497
+  (0.0ms) SAVEPOINT active_record_1
151498
+ SQL (0.2ms) INSERT INTO "post_categories" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "General"], ["created_at", "2015-04-13 06:49:02.558328"], ["updated_at", "2015-04-13 06:49:02.558328"]]
151499
+ PostCategory Load (0.1ms) SELECT "post_categories".* FROM "post_categories"
151500
+ Post Load (0.0ms) SELECT "posts".* FROM "posts"
151501
+ Post Load (0.1ms) SELECT "posts".* FROM "posts"
151502
+ NewsArticle Load (0.0ms) SELECT "news_articles".* FROM "news_articles"
151503
+  (0.0ms) RELEASE SAVEPOINT active_record_1
151504
+  (0.3ms) rollback transaction
151505
+  (0.0ms) begin transaction
151506
+ -------------------------------------------------------
151507
+ PostCategoryCategoryTest: test_post_category#route_name
151508
+ -------------------------------------------------------
151509
+  (0.0ms) rollback transaction
151510
+  (0.0ms) begin transaction
151511
+ -----------------------------
151512
+ FlowmorRouterTest: test_truth
151513
+ -----------------------------
151514
+  (0.0ms) rollback transaction
151515
+  (0.0ms) begin transaction
151516
+ -------------------------------------------
151517
+ StaticControllerTest: test_should_get_index
151518
+ -------------------------------------------
151519
+ Processing by StaticController#index as HTML
151520
+ Rendered static/index.html.erb within layouts/application (0.8ms)
151521
+ Completed 200 OK in 10ms (Views: 9.8ms | ActiveRecord: 0.0ms)
151522
+  (0.1ms) rollback transaction
151523
+  (0.0ms) begin transaction
151524
+ -------------------------------------------------
151525
+ RoutableRecordsTest: test_/general/lets-test-this
151526
+ -------------------------------------------------
151527
+  (0.0ms) SAVEPOINT active_record_1
151528
+ SQL (0.2ms) INSERT INTO "posts" ("title", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Let's Test This"], ["name", "lets-test-this"], ["created_at", "2015-04-13 06:49:02.582609"], ["updated_at", "2015-04-13 06:49:02.582609"]]
151529
+ PostCategory Load (0.1ms) SELECT "post_categories".* FROM "post_categories"
151530
+ Post Load (0.1ms) SELECT "posts".* FROM "posts"
151531
+ Post Load (0.1ms) SELECT "posts".* FROM "posts"
151532
+ NewsArticle Load (0.0ms) SELECT "news_articles".* FROM "news_articles"
151533
+  (0.0ms) RELEASE SAVEPOINT active_record_1
151534
+ Started GET "/by_category/posts/general/lets-test-this" for 127.0.0.1 at 2015-04-12 23:49:02 -0700
151535
+ Processing by BlogController#show as HTML
151536
+ Parameters: {"id"=>1}
151537
+ Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 1]]
151538
+ Rendered blog/show.html.erb within layouts/application (0.3ms)
151539
+ Completed 200 OK in 5ms (Views: 1.6ms | ActiveRecord: 0.1ms)
151540
+  (0.4ms) rollback transaction
151541
+  (0.0ms) begin transaction
151542
+ ----------------------------------------------------
151543
+ RoutableRecordsTest: test_only_routable_routes_built
151544
+ ----------------------------------------------------
151545
+  (0.0ms) SAVEPOINT active_record_1
151546
+ SQL (0.2ms) INSERT INTO "articles" ("title", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Route This"], ["published", "t"], ["created_at", "2015-04-13 06:49:02.603995"], ["updated_at", "2015-04-13 06:49:02.603995"]]
151547
+ PostCategory Load (0.0ms) SELECT "post_categories".* FROM "post_categories"
151548
+ Post Load (0.1ms) SELECT "posts".* FROM "posts"
151549
+ Post Load (0.0ms) SELECT "posts".* FROM "posts"
151550
+ NewsArticle Load (0.0ms) SELECT "news_articles".* FROM "news_articles"
151551
+ Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."published" = 't'
151552
+  (0.0ms) RELEASE SAVEPOINT active_record_1
151553
+  (0.0ms) SAVEPOINT active_record_1
151554
+ SQL (0.3ms) INSERT INTO "articles" ("title", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Ignore This"], ["published", "f"], ["created_at", "2015-04-13 06:49:02.638837"], ["updated_at", "2015-04-13 06:49:02.638837"]]
151555
+ PostCategory Load (0.1ms) SELECT "post_categories".* FROM "post_categories"
151556
+ Post Load (0.0ms) SELECT "posts".* FROM "posts"
151557
+ Post Load (0.1ms) SELECT "posts".* FROM "posts"
151558
+ NewsArticle Load (0.1ms) SELECT "news_articles".* FROM "news_articles"
151559
+ Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."published" = 't'
151560
+  (0.0ms) RELEASE SAVEPOINT active_record_1
151561
+
151562
+ ROUTES: [nil, "static_index", "static_two_words", "articles_route_this"]
151563
+ Started GET "/articles/route-this" for 127.0.0.1 at 2015-04-12 23:49:02 -0700
151564
+ Processing by ArticleController#show as HTML
151565
+ Parameters: {"id"=>1}
151566
+ Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? LIMIT 1 [["id", 1]]
151567
+ Rendered article/show.html.erb within layouts/application (0.3ms)
151568
+ Completed 200 OK in 2ms (Views: 1.4ms | ActiveRecord: 0.1ms)
151569
+ Started GET "/articles/ignore-this" for 127.0.0.1 at 2015-04-12 23:49:02 -0700
151570
+  (0.4ms) rollback transaction
151571
+  (0.0ms) begin transaction
151572
+ -----------------------------------
151573
+ RoutableRecordsTest: test_two_words
151574
+ -----------------------------------
151575
+ Started GET "/two-words" for 127.0.0.1 at 2015-04-12 23:49:02 -0700
151576
+ Processing by StaticController#two_words as HTML
151577
+ Rendered static/two_words.html.erb within layouts/application (0.2ms)
151578
+ Completed 200 OK in 1ms (Views: 0.9ms | ActiveRecord: 0.0ms)
151579
+  (0.0ms) rollback transaction
151580
+  (0.0ms) begin transaction
151581
+ ----------------------------------------------------------------------------------------
151582
+ ArticleTest: test_article#flowmor_article_articles_router_class_is_a_RouterClasses_class
151583
+ ----------------------------------------------------------------------------------------
151584
+  (0.0ms) SAVEPOINT active_record_1
151585
+ SQL (0.2ms) INSERT INTO "articles" ("title", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Dummy Article"], ["published", "t"], ["created_at", "2015-04-13 06:49:02.656714"], ["updated_at", "2015-04-13 06:49:02.656714"]]
151586
+ PostCategory Load (0.1ms) SELECT "post_categories".* FROM "post_categories"
151587
+ Post Load (0.0ms) SELECT "posts".* FROM "posts"
151588
+ Post Load (0.1ms) SELECT "posts".* FROM "posts"
151589
+ NewsArticle Load (0.0ms) SELECT "news_articles".* FROM "news_articles"
151590
+ Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."published" = 't'
151591
+  (0.0ms) RELEASE SAVEPOINT active_record_1
151592
+  (0.4ms) rollback transaction
151593
+  (0.0ms) begin transaction
151594
+ -------------------------------------------
151595
+ ArticleTest: test_article#controller_action
151596
+ -------------------------------------------
151597
+  (0.0ms) SAVEPOINT active_record_1
151598
+ SQL (0.2ms) INSERT INTO "articles" ("title", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Dummy Article"], ["published", "t"], ["created_at", "2015-04-13 06:49:02.662231"], ["updated_at", "2015-04-13 06:49:02.662231"]]
151599
+ PostCategory Load (0.0ms) SELECT "post_categories".* FROM "post_categories"
151600
+ Post Load (0.0ms) SELECT "posts".* FROM "posts"
151601
+ Post Load (0.1ms) SELECT "posts".* FROM "posts"
151602
+ NewsArticle Load (0.0ms) SELECT "news_articles".* FROM "news_articles"
151603
+ Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."published" = 't'
151604
+  (0.0ms) RELEASE SAVEPOINT active_record_1
151605
+  (0.3ms) rollback transaction
151606
+  (0.0ms) begin transaction
151607
+ ------------------------------
151608
+ ArticleTest: test_article#path
151609
+ ------------------------------
151610
+  (0.0ms) SAVEPOINT active_record_1
151611
+ SQL (0.1ms) INSERT INTO "articles" ("title", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Dummy Article"], ["published", "t"], ["created_at", "2015-04-13 06:49:02.667000"], ["updated_at", "2015-04-13 06:49:02.667000"]]
151612
+ PostCategory Load (0.0ms) SELECT "post_categories".* FROM "post_categories"
151613
+ Post Load (0.0ms) SELECT "posts".* FROM "posts"
151614
+ Post Load (0.0ms) SELECT "posts".* FROM "posts"
151615
+ NewsArticle Load (0.0ms) SELECT "news_articles".* FROM "news_articles"
151616
+ Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."published" = 't'
151617
+  (0.0ms) RELEASE SAVEPOINT active_record_1
151618
+  (0.0ms) SAVEPOINT active_record_1
151619
+ SQL (0.3ms) INSERT INTO "articles" ("published", "created_at", "updated_at") VALUES (?, ?, ?) [["published", "t"], ["created_at", "2015-04-13 06:49:02.671121"], ["updated_at", "2015-04-13 06:49:02.671121"]]
151620
+ PostCategory Load (0.1ms) SELECT "post_categories".* FROM "post_categories"
151621
+ Post Load (0.0ms) SELECT "posts".* FROM "posts"
151622
+ Post Load (0.0ms) SELECT "posts".* FROM "posts"
151623
+ NewsArticle Load (0.0ms) SELECT "news_articles".* FROM "news_articles"
151624
+ Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."published" = 't'
151625
+  (0.0ms) RELEASE SAVEPOINT active_record_1
151626
+  (0.0ms) SAVEPOINT active_record_1
151627
+ SQL (0.0ms) INSERT INTO "articles" ("title", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Another Article"], ["published", "t"], ["created_at", "2015-04-13 06:49:02.676346"], ["updated_at", "2015-04-13 06:49:02.676346"]]
151628
+ PostCategory Load (0.0ms) SELECT "post_categories".* FROM "post_categories"
151629
+ Post Load (0.0ms) SELECT "posts".* FROM "posts"
151630
+ Post Load (0.0ms) SELECT "posts".* FROM "posts"
151631
+ NewsArticle Load (0.0ms) SELECT "news_articles".* FROM "news_articles"
151632
+ Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."published" = 't'
151633
+  (0.0ms) RELEASE SAVEPOINT active_record_1
151634
+  (0.4ms) rollback transaction
151635
+  (0.0ms) begin transaction
151636
+ ------------------------------------------------------
151637
+ ArticleTest: test_RouterClasses_has_Article_registered
151638
+ ------------------------------------------------------
151639
+  (0.0ms) SAVEPOINT active_record_1
151640
+ SQL (0.2ms) INSERT INTO "articles" ("title", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Dummy Article"], ["published", "t"], ["created_at", "2015-04-13 06:49:02.682164"], ["updated_at", "2015-04-13 06:49:02.682164"]]
151641
+ PostCategory Load (0.0ms) SELECT "post_categories".* FROM "post_categories"
151642
+ Post Load (0.0ms) SELECT "posts".* FROM "posts"
151643
+ Post Load (0.0ms) SELECT "posts".* FROM "posts"
151644
+ NewsArticle Load (0.0ms) SELECT "news_articles".* FROM "news_articles"
151645
+ Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."published" = 't'
151646
+  (0.0ms) RELEASE SAVEPOINT active_record_1
151647
+  (0.3ms) rollback transaction
151648
+  (0.1ms) begin transaction
151649
+ -------------------------------------------------
151650
+ ArticleTest: test_unpublished_articles_not_routed
151651
+ -------------------------------------------------
151652
+  (0.0ms) SAVEPOINT active_record_1
151653
+ SQL (0.1ms) INSERT INTO "articles" ("title", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Dummy Article"], ["published", "t"], ["created_at", "2015-04-13 06:49:02.686913"], ["updated_at", "2015-04-13 06:49:02.686913"]]
151654
+ PostCategory Load (0.0ms) SELECT "post_categories".* FROM "post_categories"
151655
+ Post Load (0.0ms) SELECT "posts".* FROM "posts"
151656
+ Post Load (0.0ms) SELECT "posts".* FROM "posts"
151657
+ NewsArticle Load (0.0ms) SELECT "news_articles".* FROM "news_articles"
151658
+ Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."published" = 't'
151659
+  (0.0ms) RELEASE SAVEPOINT active_record_1
151660
+  (0.0ms) SAVEPOINT active_record_1
151661
+ SQL (0.2ms) INSERT INTO "articles" ("title", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Published"], ["published", "t"], ["created_at", "2015-04-13 06:49:02.691007"], ["updated_at", "2015-04-13 06:49:02.691007"]]
151662
+ PostCategory Load (0.0ms) SELECT "post_categories".* FROM "post_categories"
151663
+ Post Load (0.0ms) SELECT "posts".* FROM "posts"
151664
+ Post Load (0.0ms) SELECT "posts".* FROM "posts"
151665
+ NewsArticle Load (0.0ms) SELECT "news_articles".* FROM "news_articles"
151666
+ Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."published" = 't'
151667
+  (0.0ms) RELEASE SAVEPOINT active_record_1
151668
+  (0.0ms) SAVEPOINT active_record_1
151669
+ SQL (0.0ms) INSERT INTO "articles" ("title", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Unpublished"], ["published", "f"], ["created_at", "2015-04-13 06:49:02.695701"], ["updated_at", "2015-04-13 06:49:02.695701"]]
151670
+ PostCategory Load (0.0ms) SELECT "post_categories".* FROM "post_categories"
151671
+ Post Load (0.0ms) SELECT "posts".* FROM "posts"
151672
+ Post Load (0.1ms) SELECT "posts".* FROM "posts"
151673
+ NewsArticle Load (0.0ms) SELECT "news_articles".* FROM "news_articles"
151674
+ Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."published" = 't'
151675
+  (0.0ms) RELEASE SAVEPOINT active_record_1
151676
+  (0.4ms) rollback transaction
151677
+  (0.0ms) begin transaction
151678
+ ------------------------------------
151679
+ ArticleTest: test_article#route_name
151680
+ ------------------------------------
151681
+  (0.0ms) SAVEPOINT active_record_1
151682
+ SQL (0.2ms) INSERT INTO "articles" ("title", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Dummy Article"], ["published", "t"], ["created_at", "2015-04-13 06:49:02.701001"], ["updated_at", "2015-04-13 06:49:02.701001"]]
151683
+ PostCategory Load (0.0ms) SELECT "post_categories".* FROM "post_categories"
151684
+ Post Load (0.0ms) SELECT "posts".* FROM "posts"
151685
+ Post Load (0.0ms) SELECT "posts".* FROM "posts"
151686
+ NewsArticle Load (0.0ms) SELECT "news_articles".* FROM "news_articles"
151687
+ Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."published" = 't'
151688
+  (0.0ms) RELEASE SAVEPOINT active_record_1
151689
+  (0.3ms) rollback transaction
151690
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
151691
+  (1.8ms) CREATE TABLE "articles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "name" varchar, "created_at" datetime, "updated_at" datetime, "published" boolean) 
151692
+  (1.0ms) CREATE TABLE "news_articles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "caption" varchar, "slug" varchar, "created_at" datetime, "updated_at" datetime)
151693
+  (0.8ms) CREATE TABLE "post_categories" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "name" varchar, "created_at" datetime, "updated_at" datetime) 
151694
+  (0.7ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "category_id" integer, "name" varchar, "created_at" datetime, "updated_at" datetime)
151695
+  (1.0ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL) 
151696
+  (0.1ms) select sqlite_version(*)
151697
+  (1.0ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
151698
+  (0.1ms) SELECT version FROM "schema_migrations"
151699
+  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20140818105255')
151700
+  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20140811154447')
151701
+  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140811155356')
151702
+  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140811182855')
151703
+  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140811184010')
151704
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
151705
+  (0.1ms) begin transaction
151706
+ -------------------------------------------------------------
151707
+ PostCategoryCategoryTest: test_PostCategory_controller_action
151708
+ -------------------------------------------------------------
151709
+  (0.0ms) rollback transaction
151710
+  (0.0ms) begin transaction
151711
+ -------------------------------------------------------
151712
+ PostCategoryCategoryTest: test_post_category#route_name
151713
+ -------------------------------------------------------
151714
+  (0.1ms) rollback transaction
151715
+  (0.0ms) begin transaction
151716
+ -------------------------------------------------
151717
+ PostCategoryCategoryTest: test_post_category#path
151718
+ -------------------------------------------------
151719
+  (0.0ms) SAVEPOINT active_record_1
151720
+ SQL (0.3ms) INSERT INTO "post_categories" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-04-13 06:50:04.271369"], ["updated_at", "2015-04-13 06:50:04.271369"]]
151721
+ PostCategory Load (0.1ms) SELECT "post_categories".* FROM "post_categories"
151722
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
151723
+  (0.0ms) SAVEPOINT active_record_1
151724
+ SQL (0.9ms) INSERT INTO "post_categories" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "General"], ["created_at", "2015-04-13 06:50:04.275954"], ["updated_at", "2015-04-13 06:50:04.275954"]]
151725
+ PostCategory Load (0.1ms) SELECT "post_categories".* FROM "post_categories"
151726
+  (0.0ms) RELEASE SAVEPOINT active_record_1
151727
+  (1.1ms) rollback transaction
151728
+  (0.1ms) begin transaction
151729
+ -----------------------------
151730
+ FlowmorRouterTest: test_truth
151731
+ -----------------------------
151732
+  (0.1ms) rollback transaction
151733
+  (0.0ms) begin transaction
151734
+ ----------------------------------------------------------------------------------------
151735
+ ArticleTest: test_article#flowmor_article_articles_router_class_is_a_RouterClasses_class
151736
+ ----------------------------------------------------------------------------------------
151737
+  (0.0ms) SAVEPOINT active_record_1
151738
+ SQL (0.2ms) INSERT INTO "articles" ("title", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Dummy Article"], ["published", "t"], ["created_at", "2015-04-13 06:50:04.288276"], ["updated_at", "2015-04-13 06:50:04.288276"]]
151739
+ PostCategory Load (0.1ms) SELECT "post_categories".* FROM "post_categories"
151740
+ Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."published" = 't'
151741
+  (0.0ms) RELEASE SAVEPOINT active_record_1
151742
+  (0.4ms) rollback transaction
151743
+  (0.0ms) begin transaction
151744
+ ------------------------------
151745
+ ArticleTest: test_article#path
151746
+ ------------------------------
151747
+  (0.0ms) SAVEPOINT active_record_1
151748
+ SQL (0.2ms) INSERT INTO "articles" ("title", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Dummy Article"], ["published", "t"], ["created_at", "2015-04-13 06:50:04.295085"], ["updated_at", "2015-04-13 06:50:04.295085"]]
151749
+ PostCategory Load (0.0ms) SELECT "post_categories".* FROM "post_categories"
151750
+ Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."published" = 't'
151751
+  (0.0ms) RELEASE SAVEPOINT active_record_1
151752
+  (0.0ms) SAVEPOINT active_record_1
151753
+ SQL (0.2ms) INSERT INTO "articles" ("published", "created_at", "updated_at") VALUES (?, ?, ?) [["published", "t"], ["created_at", "2015-04-13 06:50:04.298205"], ["updated_at", "2015-04-13 06:50:04.298205"]]
151754
+ PostCategory Load (0.0ms) SELECT "post_categories".* FROM "post_categories"
151755
+ Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."published" = 't'
151756
+  (0.0ms) RELEASE SAVEPOINT active_record_1
151757
+  (0.0ms) SAVEPOINT active_record_1
151758
+ SQL (0.0ms) INSERT INTO "articles" ("title", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Another Article"], ["published", "t"], ["created_at", "2015-04-13 06:50:04.301553"], ["updated_at", "2015-04-13 06:50:04.301553"]]
151759
+ PostCategory Load (0.0ms) SELECT "post_categories".* FROM "post_categories"
151760
+ Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."published" = 't'
151761
+  (0.0ms) RELEASE SAVEPOINT active_record_1
151762
+  (0.4ms) rollback transaction
151763
+  (0.0ms) begin transaction
151764
+ ------------------------------------------------------
151765
+ ArticleTest: test_RouterClasses_has_Article_registered
151766
+ ------------------------------------------------------
151767
+  (0.0ms) SAVEPOINT active_record_1
151768
+ SQL (0.2ms) INSERT INTO "articles" ("title", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Dummy Article"], ["published", "t"], ["created_at", "2015-04-13 06:50:04.306285"], ["updated_at", "2015-04-13 06:50:04.306285"]]
151769
+ PostCategory Load (0.1ms) SELECT "post_categories".* FROM "post_categories"
151770
+ Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."published" = 't'
151771
+  (0.0ms) RELEASE SAVEPOINT active_record_1
151772
+  (0.3ms) rollback transaction
151773
+  (0.1ms) begin transaction
151774
+ -------------------------------------------
151775
+ ArticleTest: test_article#controller_action
151776
+ -------------------------------------------
151777
+  (0.0ms) SAVEPOINT active_record_1
151778
+ SQL (0.1ms) INSERT INTO "articles" ("title", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Dummy Article"], ["published", "t"], ["created_at", "2015-04-13 06:50:04.310209"], ["updated_at", "2015-04-13 06:50:04.310209"]]
151779
+ PostCategory Load (0.0ms) SELECT "post_categories".* FROM "post_categories"
151780
+ Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."published" = 't'
151781
+  (0.0ms) RELEASE SAVEPOINT active_record_1
151782
+  (0.3ms) rollback transaction
151783
+  (0.1ms) begin transaction
151784
+ ------------------------------------
151785
+ ArticleTest: test_article#route_name
151786
+ ------------------------------------
151787
+  (0.0ms) SAVEPOINT active_record_1
151788
+ SQL (0.1ms) INSERT INTO "articles" ("title", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Dummy Article"], ["published", "t"], ["created_at", "2015-04-13 06:50:04.313520"], ["updated_at", "2015-04-13 06:50:04.313520"]]
151789
+ PostCategory Load (0.1ms) SELECT "post_categories".* FROM "post_categories"
151790
+ Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."published" = 't'
151791
+  (0.1ms) RELEASE SAVEPOINT active_record_1
151792
+  (0.4ms) rollback transaction
151793
+  (0.0ms) begin transaction
151794
+ -------------------------------------------------
151795
+ ArticleTest: test_unpublished_articles_not_routed
151796
+ -------------------------------------------------
151797
+  (0.1ms) SAVEPOINT active_record_1
151798
+ SQL (0.2ms) INSERT INTO "articles" ("title", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Dummy Article"], ["published", "t"], ["created_at", "2015-04-13 06:50:04.318050"], ["updated_at", "2015-04-13 06:50:04.318050"]]
151799
+ PostCategory Load (0.0ms) SELECT "post_categories".* FROM "post_categories"
151800
+ Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."published" = 't'
151801
+  (0.0ms) RELEASE SAVEPOINT active_record_1
151802
+  (0.0ms) SAVEPOINT active_record_1
151803
+ SQL (0.2ms) INSERT INTO "articles" ("title", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Published"], ["published", "t"], ["created_at", "2015-04-13 06:50:04.321237"], ["updated_at", "2015-04-13 06:50:04.321237"]]
151804
+ PostCategory Load (0.0ms) SELECT "post_categories".* FROM "post_categories"
151805
+ Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."published" = 't'
151806
+  (0.0ms) RELEASE SAVEPOINT active_record_1
151807
+  (0.0ms) SAVEPOINT active_record_1
151808
+ SQL (0.0ms) INSERT INTO "articles" ("title", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Unpublished"], ["published", "f"], ["created_at", "2015-04-13 06:50:04.324381"], ["updated_at", "2015-04-13 06:50:04.324381"]]
151809
+ PostCategory Load (0.0ms) SELECT "post_categories".* FROM "post_categories"
151810
+ Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."published" = 't'
151811
+  (0.0ms) RELEASE SAVEPOINT active_record_1
151812
+  (0.4ms) rollback transaction
151813
+  (0.0ms) begin transaction
151814
+ ------------------------------
151815
+ PostTest: test_post#route_name
151816
+ ------------------------------
151817
+  (0.0ms) SAVEPOINT active_record_1
151818
+ SQL (0.2ms) INSERT INTO "post_categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "general"], ["created_at", "2015-04-13 06:50:04.330068"], ["updated_at", "2015-04-13 06:50:04.330068"]]
151819
+ PostCategory Load (0.1ms) SELECT "post_categories".* FROM "post_categories"
151820
+ Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."published" = 't'
151821
+  (0.0ms) RELEASE SAVEPOINT active_record_1
151822
+  (0.0ms) SAVEPOINT active_record_1
151823
+ SQL (0.3ms) INSERT INTO "posts" ("title", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Once Upon a Time"], ["name", "once-upon-a-time"], ["created_at", "2015-04-13 06:50:04.339010"], ["updated_at", "2015-04-13 06:50:04.339010"]]
151824
+ PostCategory Load (0.1ms) SELECT "post_categories".* FROM "post_categories"
151825
+ Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."published" = 't'
151826
+ Post Load (0.0ms) SELECT "posts".* FROM "posts"
151827
+ Post Load (0.0ms) SELECT "posts".* FROM "posts"
151828
+  (0.0ms) RELEASE SAVEPOINT active_record_1
151829
+  (0.5ms) rollback transaction
151830
+  (0.1ms) begin transaction
151831
+ ------------------------
151832
+ PostTest: test_post#path
151833
+ ------------------------
151834
+  (0.1ms) SAVEPOINT active_record_1
151835
+ SQL (0.2ms) INSERT INTO "post_categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "general"], ["created_at", "2015-04-13 06:50:04.348597"], ["updated_at", "2015-04-13 06:50:04.348597"]]
151836
+ PostCategory Load (0.1ms) SELECT "post_categories".* FROM "post_categories"
151837
+ Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."published" = 't'
151838
+ Post Load (0.0ms) SELECT "posts".* FROM "posts"
151839
+ Post Load (0.1ms) SELECT "posts".* FROM "posts"
151840
+  (0.0ms) RELEASE SAVEPOINT active_record_1
151841
+  (0.0ms) SAVEPOINT active_record_1
151842
+ SQL (0.3ms) INSERT INTO "posts" ("title", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Once Upon a Time"], ["name", "once-upon-a-time"], ["created_at", "2015-04-13 06:50:04.353284"], ["updated_at", "2015-04-13 06:50:04.353284"]]
151843
+ PostCategory Load (0.1ms) SELECT "post_categories".* FROM "post_categories"
151844
+ Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."published" = 't'
151845
+ Post Load (0.1ms) SELECT "posts".* FROM "posts"
151846
+ Post Load (0.1ms) SELECT "posts".* FROM "posts"
151847
+  (0.0ms) RELEASE SAVEPOINT active_record_1
151848
+  (0.4ms) rollback transaction
151849
+  (0.0ms) begin transaction
151850
+ --------------------------------
151851
+ PostTest: test_post#archive_path
151852
+ --------------------------------
151853
+  (0.0ms) SAVEPOINT active_record_1
151854
+ SQL (0.2ms) INSERT INTO "post_categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "general"], ["created_at", "2015-04-13 06:50:04.359802"], ["updated_at", "2015-04-13 06:50:04.359802"]]
151855
+ PostCategory Load (0.1ms) SELECT "post_categories".* FROM "post_categories"
151856
+ Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."published" = 't'
151857
+ Post Load (0.0ms) SELECT "posts".* FROM "posts"
151858
+ Post Load (0.0ms) SELECT "posts".* FROM "posts"
151859
+  (0.0ms) RELEASE SAVEPOINT active_record_1
151860
+  (0.0ms) SAVEPOINT active_record_1
151861
+ SQL (0.3ms) INSERT INTO "posts" ("title", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Once Upon a Time"], ["name", "once-upon-a-time"], ["created_at", "2015-04-13 06:50:04.363945"], ["updated_at", "2015-04-13 06:50:04.363945"]]
151862
+ PostCategory Load (0.1ms) SELECT "post_categories".* FROM "post_categories"
151863
+ Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."published" = 't'
151864
+ Post Load (0.0ms) SELECT "posts".* FROM "posts"
151865
+ Post Load (0.1ms) SELECT "posts".* FROM "posts"
151866
+  (0.0ms) RELEASE SAVEPOINT active_record_1
151867
+  (0.4ms) rollback transaction
151868
+  (0.1ms) begin transaction
151869
+ -------------------------------------
151870
+ PostTest: test_Post_controller_action
151871
+ -------------------------------------
151872
+  (0.0ms) SAVEPOINT active_record_1
151873
+ SQL (0.1ms) INSERT INTO "post_categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "general"], ["created_at", "2015-04-13 06:50:04.369843"], ["updated_at", "2015-04-13 06:50:04.369843"]]
151874
+ PostCategory Load (0.1ms) SELECT "post_categories".* FROM "post_categories"
151875
+ Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."published" = 't'
151876
+ Post Load (0.0ms) SELECT "posts".* FROM "posts"
151877
+ Post Load (0.0ms) SELECT "posts".* FROM "posts"
151878
+  (0.0ms) RELEASE SAVEPOINT active_record_1
151879
+  (0.0ms) SAVEPOINT active_record_1
151880
+ SQL (0.2ms) INSERT INTO "posts" ("title", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Once Upon a Time"], ["name", "once-upon-a-time"], ["created_at", "2015-04-13 06:50:04.373771"], ["updated_at", "2015-04-13 06:50:04.373771"]]
151881
+ PostCategory Load (0.1ms) SELECT "post_categories".* FROM "post_categories"
151882
+ Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."published" = 't'
151883
+ Post Load (0.0ms) SELECT "posts".* FROM "posts"
151884
+ Post Load (0.0ms) SELECT "posts".* FROM "posts"
151885
+  (0.0ms) RELEASE SAVEPOINT active_record_1
151886
+  (0.4ms) rollback transaction
151887
+  (0.0ms) begin transaction
151888
+ -------------------------------------------
151889
+ StaticControllerTest: test_should_get_index
151890
+ -------------------------------------------
151891
+ Processing by StaticController#index as HTML
151892
+ Rendered static/index.html.erb within layouts/application (0.7ms)
151893
+ Completed 200 OK in 10ms (Views: 9.8ms | ActiveRecord: 0.0ms)
151894
+  (0.1ms) rollback transaction
151895
+  (0.0ms) begin transaction
151896
+ -----------------------------------------------------------------------------
151897
+ FlowmorRouter::RouterClassesTest: test_Down_becomes_routable_with_named_model
151898
+ -----------------------------------------------------------------------------
151899
+  (0.0ms) rollback transaction
151900
+  (0.0ms) begin transaction
151901
+ -----------------------------------------------------------
151902
+ FlowmorRouter::RouterClassesTest: test_Bar_becomes_routable
151903
+ -----------------------------------------------------------
151904
+  (0.0ms) rollback transaction
151905
+  (0.0ms) begin transaction
151906
+ --------------------------------------------------------
151907
+ FlowmorRouter::RouterClassesTest: test_defined_correctly
151908
+ --------------------------------------------------------
151909
+  (0.0ms) rollback transaction
151910
+  (0.0ms) begin transaction
151911
+ -----------------------------------------------------------
151912
+ FlowmorRouter::RouterClassesTest: test_can_register_a_class
151913
+ -----------------------------------------------------------
151914
+  (0.0ms) rollback transaction
151915
+  (0.1ms) begin transaction
151916
+ ----------------------------------------------------------------------------
151917
+ FlowmorRouter::RouterClassesTest: test_Fib_becomes_routable_with_named_model
151918
+ ----------------------------------------------------------------------------
151919
+  (0.0ms) rollback transaction
151920
+  (0.0ms) begin transaction
151921
+ ----------------------------------------------------------------------------
151922
+ FlowmorRouter::RouterClassesTest: test_Bat_becomes_routable_with_named_model
151923
+ ----------------------------------------------------------------------------
151924
+  (0.0ms) rollback transaction
151925
+  (0.0ms) begin transaction
151926
+ ----------------------------------------------------------------------------
151927
+ FlowmorRouter::RouterClassesTest: test_Baz_becomes_routable_with_named_model
151928
+ ----------------------------------------------------------------------------
151929
+  (0.0ms) rollback transaction
151930
+  (0.0ms) begin transaction
151931
+ -----------------------------------
151932
+ RoutableRecordsTest: test_two_words
151933
+ -----------------------------------
151934
+ Started GET "/two-words" for 127.0.0.1 at 2015-04-12 23:50:04 -0700
151935
+ Processing by StaticController#two_words as HTML
151936
+ Rendered static/two_words.html.erb within layouts/application (0.2ms)
151937
+ Completed 200 OK in 1ms (Views: 1.0ms | ActiveRecord: 0.0ms)
151938
+  (0.1ms) rollback transaction
151939
+  (0.0ms) begin transaction
151940
+ ----------------------------------------------------
151941
+ RoutableRecordsTest: test_only_routable_routes_built
151942
+ ----------------------------------------------------
151943
+  (0.0ms) SAVEPOINT active_record_1
151944
+ SQL (0.2ms) INSERT INTO "articles" ("title", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Route This"], ["published", "t"], ["created_at", "2015-04-13 06:50:04.444340"], ["updated_at", "2015-04-13 06:50:04.444340"]]
151945
+ PostCategory Load (0.0ms) SELECT "post_categories".* FROM "post_categories"
151946
+ Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."published" = 't'
151947
+ Post Load (0.0ms) SELECT "posts".* FROM "posts"
151948
+ Post Load (0.0ms) SELECT "posts".* FROM "posts"
151949
+  (0.0ms) RELEASE SAVEPOINT active_record_1
151950
+  (0.0ms) SAVEPOINT active_record_1
151951
+ SQL (0.2ms) INSERT INTO "articles" ("title", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Ignore This"], ["published", "f"], ["created_at", "2015-04-13 06:50:04.448204"], ["updated_at", "2015-04-13 06:50:04.448204"]]
151952
+ PostCategory Load (0.0ms) SELECT "post_categories".* FROM "post_categories"
151953
+ Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."published" = 't'
151954
+ Post Load (0.0ms) SELECT "posts".* FROM "posts"
151955
+ Post Load (0.0ms) SELECT "posts".* FROM "posts"
151956
+  (0.0ms) RELEASE SAVEPOINT active_record_1
151957
+
151958
+ ROUTES: [nil, "static_index", "static_two_words", "articles_route_this"]
151959
+ Started GET "/articles/route-this" for 127.0.0.1 at 2015-04-12 23:50:04 -0700
151960
+ Processing by ArticleController#show as HTML
151961
+ Parameters: {"id"=>1}
151962
+ Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? LIMIT 1 [["id", 1]]
151963
+ Rendered article/show.html.erb within layouts/application (0.5ms)
151964
+ Completed 200 OK in 5ms (Views: 2.4ms | ActiveRecord: 0.1ms)
151965
+ Started GET "/articles/ignore-this" for 127.0.0.1 at 2015-04-12 23:50:04 -0700
151966
+  (0.4ms) rollback transaction
151967
+  (0.0ms) begin transaction
151968
+ -------------------------------------------------
151969
+ RoutableRecordsTest: test_/general/lets-test-this
151970
+ -------------------------------------------------
151971
+  (0.0ms) SAVEPOINT active_record_1
151972
+ SQL (0.2ms) INSERT INTO "posts" ("title", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Let's Test This"], ["name", "lets-test-this"], ["created_at", "2015-04-13 06:50:04.463564"], ["updated_at", "2015-04-13 06:50:04.463564"]]
151973
+ PostCategory Load (0.1ms) SELECT "post_categories".* FROM "post_categories"
151974
+ Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."published" = 't'
151975
+ Post Load (0.0ms) SELECT "posts".* FROM "posts"
151976
+ Post Load (0.0ms) SELECT "posts".* FROM "posts"
151977
+  (0.0ms) RELEASE SAVEPOINT active_record_1
151978
+ Started GET "/by_category/posts/general/lets-test-this" for 127.0.0.1 at 2015-04-12 23:50:04 -0700
151979
+ Processing by BlogController#show as HTML
151980
+ Parameters: {"id"=>1}
151981
+ Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 1]]
151982
+ Rendered blog/show.html.erb within layouts/application (0.3ms)
151983
+ Completed 200 OK in 2ms (Views: 1.4ms | ActiveRecord: 0.1ms)
151984
+  (0.3ms) rollback transaction
151985
+  (0.0ms) begin transaction
151986
+ ---------------------------------------------
151987
+ NewsArticleTest: test_news_article#route_name
151988
+ ---------------------------------------------
151989
+  (0.0ms) rollback transaction
151990
+  (0.0ms) begin transaction
151991
+ --------------------------------------
151992
+ NewsArticleTest: test_news_article#url
151993
+ --------------------------------------
151994
+  (0.0ms) SAVEPOINT active_record_1
151995
+ SQL (0.3ms) INSERT INTO "news_articles" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-04-13 06:50:04.479624"], ["updated_at", "2015-04-13 06:50:04.479624"]]
151996
+ PostCategory Load (0.0ms) SELECT "post_categories".* FROM "post_categories"
151997
+ Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."published" = 't'
151998
+ Post Load (0.0ms) SELECT "posts".* FROM "posts"
151999
+ Post Load (0.0ms) SELECT "posts".* FROM "posts"
152000
+ NewsArticle Load (0.0ms) SELECT "news_articles".* FROM "news_articles"
152001
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
152002
+  (0.0ms) SAVEPOINT active_record_1
152003
+ SQL (0.3ms) INSERT INTO "news_articles" ("caption", "created_at", "updated_at") VALUES (?, ?, ?) [["caption", "Real News Article"], ["created_at", "2015-04-13 06:50:04.483285"], ["updated_at", "2015-04-13 06:50:04.483285"]]
152004
+ PostCategory Load (0.4ms) SELECT "post_categories".* FROM "post_categories"
152005
+ Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."published" = 't'
152006
+ Post Load (0.0ms) SELECT "posts".* FROM "posts"
152007
+ Post Load (0.0ms) SELECT "posts".* FROM "posts"
152008
+ NewsArticle Load (0.0ms) SELECT "news_articles".* FROM "news_articles"
152009
+  (0.0ms) RELEASE SAVEPOINT active_record_1
152010
+  (0.4ms) rollback transaction
152011
+  (0.0ms) begin transaction
152012
+ ---------------------------------------
152013
+ NewsArticleTest: test_news_article#path
152014
+ ---------------------------------------
152015
+  (0.0ms) SAVEPOINT active_record_1
152016
+ SQL (0.2ms) INSERT INTO "news_articles" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-04-13 06:50:04.488705"], ["updated_at", "2015-04-13 06:50:04.488705"]]
152017
+ PostCategory Load (0.0ms) SELECT "post_categories".* FROM "post_categories"
152018
+ Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."published" = 't'
152019
+ Post Load (0.0ms) SELECT "posts".* FROM "posts"
152020
+ Post Load (0.0ms) SELECT "posts".* FROM "posts"
152021
+ NewsArticle Load (0.0ms) SELECT "news_articles".* FROM "news_articles"
152022
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
152023
+  (0.0ms) SAVEPOINT active_record_1
152024
+ SQL (0.2ms) INSERT INTO "news_articles" ("caption", "created_at", "updated_at") VALUES (?, ?, ?) [["caption", "Real News Article"], ["created_at", "2015-04-13 06:50:04.492339"], ["updated_at", "2015-04-13 06:50:04.492339"]]
152025
+ PostCategory Load (0.0ms) SELECT "post_categories".* FROM "post_categories"
152026
+ Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."published" = 't'
152027
+ Post Load (0.0ms) SELECT "posts".* FROM "posts"
152028
+ Post Load (0.1ms) SELECT "posts".* FROM "posts"
152029
+ NewsArticle Load (0.1ms) SELECT "news_articles".* FROM "news_articles"
152030
+  (0.1ms) RELEASE SAVEPOINT active_record_1
152031
+  (0.4ms) rollback transaction
152032
+  (0.0ms) begin transaction
152033
+ ---------------------------------------------------
152034
+ NewsArticleTest: test_NewsArticle_controller_action
152035
+ ---------------------------------------------------
152036
+  (0.0ms) rollback transaction
152037
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
152038
+  (1.7ms) CREATE TABLE "articles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "name" varchar, "created_at" datetime, "updated_at" datetime, "published" boolean) 
152039
+  (0.8ms) CREATE TABLE "news_articles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "caption" varchar, "slug" varchar, "created_at" datetime, "updated_at" datetime)
152040
+  (0.9ms) CREATE TABLE "post_categories" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "name" varchar, "created_at" datetime, "updated_at" datetime) 
152041
+  (0.6ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "category_id" integer, "name" varchar, "created_at" datetime, "updated_at" datetime)
152042
+  (0.9ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL) 
152043
+  (0.1ms) select sqlite_version(*)
152044
+  (0.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
152045
+  (0.1ms) SELECT version FROM "schema_migrations"
152046
+  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140818105255')
152047
+  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20140811154447')
152048
+  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20140811155356')
152049
+  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20140811182855')
152050
+  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140811184010')
152051
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
152052
+  (0.1ms) begin transaction
152053
+ ----------------------------------------------------------------------------------------
152054
+ ArticleTest: test_article#flowmor_article_articles_router_class_is_a_RouterClasses_class
152055
+ ----------------------------------------------------------------------------------------
152056
+  (0.0ms) SAVEPOINT active_record_1
152057
+ SQL (0.3ms) INSERT INTO "articles" ("title", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Dummy Article"], ["published", "t"], ["created_at", "2015-04-13 06:50:32.873695"], ["updated_at", "2015-04-13 06:50:32.873695"]]
152058
+ Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."published" = 't'
152059
+  (0.1ms) RELEASE SAVEPOINT active_record_1
152060
+  (1.0ms) rollback transaction
152061
+  (0.1ms) begin transaction
152062
+ -------------------------------------------------
152063
+ ArticleTest: test_unpublished_articles_not_routed
152064
+ -------------------------------------------------
152065
+  (0.0ms) SAVEPOINT active_record_1
152066
+ SQL (0.2ms) INSERT INTO "articles" ("title", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Dummy Article"], ["published", "t"], ["created_at", "2015-04-13 06:50:32.949547"], ["updated_at", "2015-04-13 06:50:32.949547"]]
152067
+ Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."published" = 't'
152068
+  (0.0ms) RELEASE SAVEPOINT active_record_1
152069
+  (0.0ms) SAVEPOINT active_record_1
152070
+ SQL (0.8ms) INSERT INTO "articles" ("title", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Published"], ["published", "t"], ["created_at", "2015-04-13 06:50:32.952912"], ["updated_at", "2015-04-13 06:50:32.952912"]]
152071
+ Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."published" = 't'
152072
+  (0.0ms) RELEASE SAVEPOINT active_record_1
152073
+  (0.0ms) SAVEPOINT active_record_1
152074
+ SQL (0.0ms) INSERT INTO "articles" ("title", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Unpublished"], ["published", "f"], ["created_at", "2015-04-13 06:50:32.956517"], ["updated_at", "2015-04-13 06:50:32.956517"]]
152075
+ Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."published" = 't'
152076
+  (0.0ms) RELEASE SAVEPOINT active_record_1
152077
+  (0.4ms) rollback transaction
152078
+  (0.0ms) begin transaction
152079
+ ------------------------------
152080
+ ArticleTest: test_article#path
152081
+ ------------------------------
152082
+  (0.0ms) SAVEPOINT active_record_1
152083
+ SQL (0.2ms) INSERT INTO "articles" ("title", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Dummy Article"], ["published", "t"], ["created_at", "2015-04-13 06:50:32.960706"], ["updated_at", "2015-04-13 06:50:32.960706"]]
152084
+ Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."published" = 't'
152085
+  (0.0ms) RELEASE SAVEPOINT active_record_1
152086
+  (0.0ms) SAVEPOINT active_record_1
152087
+ SQL (0.3ms) INSERT INTO "articles" ("published", "created_at", "updated_at") VALUES (?, ?, ?) [["published", "t"], ["created_at", "2015-04-13 06:50:32.964273"], ["updated_at", "2015-04-13 06:50:32.964273"]]
152088
+ Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."published" = 't'
152089
+  (0.0ms) RELEASE SAVEPOINT active_record_1
152090
+  (0.0ms) SAVEPOINT active_record_1
152091
+ SQL (0.0ms) INSERT INTO "articles" ("title", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Another Article"], ["published", "t"], ["created_at", "2015-04-13 06:50:32.967661"], ["updated_at", "2015-04-13 06:50:32.967661"]]
152092
+ Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."published" = 't'
152093
+  (0.0ms) RELEASE SAVEPOINT active_record_1
152094
+  (0.4ms) rollback transaction
152095
+  (0.1ms) begin transaction
152096
+ ------------------------------------------------------
152097
+ ArticleTest: test_RouterClasses_has_Article_registered
152098
+ ------------------------------------------------------
152099
+  (0.0ms) SAVEPOINT active_record_1
152100
+ SQL (0.1ms) INSERT INTO "articles" ("title", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Dummy Article"], ["published", "t"], ["created_at", "2015-04-13 06:50:32.971841"], ["updated_at", "2015-04-13 06:50:32.971841"]]
152101
+ Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."published" = 't'
152102
+  (0.0ms) RELEASE SAVEPOINT active_record_1
152103
+  (0.3ms) rollback transaction
152104
+  (0.0ms) begin transaction
152105
+ ------------------------------------
152106
+ ArticleTest: test_article#route_name
152107
+ ------------------------------------
152108
+  (0.0ms) SAVEPOINT active_record_1
152109
+ SQL (0.1ms) INSERT INTO "articles" ("title", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Dummy Article"], ["published", "t"], ["created_at", "2015-04-13 06:50:32.975485"], ["updated_at", "2015-04-13 06:50:32.975485"]]
152110
+ Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."published" = 't'
152111
+  (0.0ms) RELEASE SAVEPOINT active_record_1
152112
+  (0.3ms) rollback transaction
152113
+  (0.1ms) begin transaction
152114
+ -------------------------------------------
152115
+ ArticleTest: test_article#controller_action
152116
+ -------------------------------------------
152117
+  (0.0ms) SAVEPOINT active_record_1
152118
+ SQL (0.1ms) INSERT INTO "articles" ("title", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Dummy Article"], ["published", "t"], ["created_at", "2015-04-13 06:50:32.978825"], ["updated_at", "2015-04-13 06:50:32.978825"]]
152119
+ Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."published" = 't'
152120
+  (0.0ms) RELEASE SAVEPOINT active_record_1
152121
+  (0.3ms) rollback transaction
152122
+  (0.0ms) begin transaction
152123
+ -----------------------------
152124
+ FlowmorRouterTest: test_truth
152125
+ -----------------------------
152126
+  (0.0ms) rollback transaction
152127
+  (0.0ms) begin transaction
152128
+ -----------------------------------
152129
+ RoutableRecordsTest: test_two_words
152130
+ -----------------------------------
152131
+ Started GET "/two-words" for 127.0.0.1 at 2015-04-12 23:50:32 -0700
152132
+ Processing by StaticController#two_words as HTML
152133
+ Rendered static/two_words.html.erb within layouts/application (1.0ms)
152134
+ Completed 200 OK in 13ms (Views: 12.7ms | ActiveRecord: 0.0ms)
152135
+  (0.1ms) rollback transaction
152136
+  (0.0ms) begin transaction
152137
+ ----------------------------------------------------
152138
+ RoutableRecordsTest: test_only_routable_routes_built
152139
+ ----------------------------------------------------
152140
+  (0.0ms) SAVEPOINT active_record_1
152141
+ SQL (0.2ms) INSERT INTO "articles" ("title", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Route This"], ["published", "t"], ["created_at", "2015-04-13 06:50:33.007223"], ["updated_at", "2015-04-13 06:50:33.007223"]]
152142
+ Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."published" = 't'
152143
+  (0.0ms) RELEASE SAVEPOINT active_record_1
152144
+  (0.0ms) SAVEPOINT active_record_1
152145
+ SQL (0.2ms) INSERT INTO "articles" ("title", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Ignore This"], ["published", "f"], ["created_at", "2015-04-13 06:50:33.010454"], ["updated_at", "2015-04-13 06:50:33.010454"]]
152146
+ Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."published" = 't'
152147
+  (0.0ms) RELEASE SAVEPOINT active_record_1
152148
+
152149
+ ROUTES: [nil, "static_index", "static_two_words", "articles_route_this"]
152150
+ Started GET "/articles/route-this" for 127.0.0.1 at 2015-04-12 23:50:33 -0700
152151
+ Processing by ArticleController#show as HTML
152152
+ Parameters: {"id"=>1}
152153
+ Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? LIMIT 1 [["id", 1]]
152154
+ Rendered article/show.html.erb within layouts/application (0.4ms)
152155
+ Completed 200 OK in 3ms (Views: 1.6ms | ActiveRecord: 0.1ms)
152156
+ Started GET "/articles/ignore-this" for 127.0.0.1 at 2015-04-12 23:50:33 -0700
152157
+  (0.5ms) rollback transaction
152158
+  (0.0ms) begin transaction
152159
+ -------------------------------------------------
152160
+ RoutableRecordsTest: test_/general/lets-test-this
152161
+ -------------------------------------------------
152162
+  (0.0ms) SAVEPOINT active_record_1
152163
+ SQL (0.2ms) INSERT INTO "posts" ("title", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Let's Test This"], ["name", "lets-test-this"], ["created_at", "2015-04-13 06:50:33.030551"], ["updated_at", "2015-04-13 06:50:33.030551"]]
152164
+ Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."published" = 't'
152165
+ PostCategory Load (0.1ms) SELECT "post_categories".* FROM "post_categories"
152166
+ Post Load (0.1ms) SELECT "posts".* FROM "posts"
152167
+ Post Load (0.1ms) SELECT "posts".* FROM "posts"
152168
+  (0.0ms) RELEASE SAVEPOINT active_record_1
152169
+ Started GET "/by_category/posts/general/lets-test-this" for 127.0.0.1 at 2015-04-12 23:50:33 -0700
152170
+ Processing by BlogController#show as HTML
152171
+ Parameters: {"id"=>1}
152172
+ Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 1]]
152173
+ Rendered blog/show.html.erb within layouts/application (0.3ms)
152174
+ Completed 200 OK in 2ms (Views: 1.6ms | ActiveRecord: 0.1ms)
152175
+  (0.4ms) rollback transaction
152176
+  (0.0ms) begin transaction
152177
+ -------------------------------------------------------
152178
+ PostCategoryCategoryTest: test_post_category#route_name
152179
+ -------------------------------------------------------
152180
+  (0.0ms) rollback transaction
152181
+  (0.0ms) begin transaction
152182
+ -------------------------------------------------
152183
+ PostCategoryCategoryTest: test_post_category#path
152184
+ -------------------------------------------------
152185
+  (0.0ms) SAVEPOINT active_record_1
152186
+ SQL (0.2ms) INSERT INTO "post_categories" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-04-13 06:50:33.052216"], ["updated_at", "2015-04-13 06:50:33.052216"]]
152187
+ Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."published" = 't'
152188
+ PostCategory Load (0.0ms) SELECT "post_categories".* FROM "post_categories"
152189
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
152190
+  (0.0ms) SAVEPOINT active_record_1
152191
+ SQL (0.3ms) INSERT INTO "post_categories" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "General"], ["created_at", "2015-04-13 06:50:33.055400"], ["updated_at", "2015-04-13 06:50:33.055400"]]
152192
+ Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."published" = 't'
152193
+ PostCategory Load (0.0ms) SELECT "post_categories".* FROM "post_categories"
152194
+ Post Load (0.0ms) SELECT "posts".* FROM "posts"
152195
+ Post Load (0.0ms) SELECT "posts".* FROM "posts"
152196
+  (0.0ms) RELEASE SAVEPOINT active_record_1
152197
+  (0.5ms) rollback transaction
152198
+  (0.1ms) begin transaction
152199
+ -------------------------------------------------------------
152200
+ PostCategoryCategoryTest: test_PostCategory_controller_action
152201
+ -------------------------------------------------------------
152202
+  (0.0ms) rollback transaction
152203
+  (0.1ms) begin transaction
152204
+ ---------------------------------------------
152205
+ NewsArticleTest: test_news_article#route_name
152206
+ ---------------------------------------------
152207
+  (0.0ms) rollback transaction
152208
+  (0.0ms) begin transaction
152209
+ ---------------------------------------------------
152210
+ NewsArticleTest: test_NewsArticle_controller_action
152211
+ ---------------------------------------------------
152212
+  (0.0ms) rollback transaction
152213
+  (0.0ms) begin transaction
152214
+ --------------------------------------
152215
+ NewsArticleTest: test_news_article#url
152216
+ --------------------------------------
152217
+  (0.0ms) SAVEPOINT active_record_1
152218
+ SQL (0.3ms) INSERT INTO "news_articles" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-04-13 06:50:33.066329"], ["updated_at", "2015-04-13 06:50:33.066329"]]
152219
+ Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."published" = 't'
152220
+ PostCategory Load (0.0ms) SELECT "post_categories".* FROM "post_categories"
152221
+ Post Load (0.0ms) SELECT "posts".* FROM "posts"
152222
+ Post Load (0.0ms) SELECT "posts".* FROM "posts"
152223
+ NewsArticle Load (0.1ms) SELECT "news_articles".* FROM "news_articles"
152224
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
152225
+  (0.0ms) SAVEPOINT active_record_1
152226
+ SQL (0.3ms) INSERT INTO "news_articles" ("caption", "created_at", "updated_at") VALUES (?, ?, ?) [["caption", "Real News Article"], ["created_at", "2015-04-13 06:50:33.070379"], ["updated_at", "2015-04-13 06:50:33.070379"]]
152227
+ Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."published" = 't'
152228
+ PostCategory Load (0.0ms) SELECT "post_categories".* FROM "post_categories"
152229
+ Post Load (0.0ms) SELECT "posts".* FROM "posts"
152230
+ Post Load (0.0ms) SELECT "posts".* FROM "posts"
152231
+ NewsArticle Load (0.0ms) SELECT "news_articles".* FROM "news_articles"
152232
+  (0.0ms) RELEASE SAVEPOINT active_record_1
152233
+  (0.4ms) rollback transaction
152234
+  (0.0ms) begin transaction
152235
+ ---------------------------------------
152236
+ NewsArticleTest: test_news_article#path
152237
+ ---------------------------------------
152238
+  (0.0ms) SAVEPOINT active_record_1
152239
+ SQL (0.2ms) INSERT INTO "news_articles" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-04-13 06:50:33.075013"], ["updated_at", "2015-04-13 06:50:33.075013"]]
152240
+ Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."published" = 't'
152241
+ PostCategory Load (0.0ms) SELECT "post_categories".* FROM "post_categories"
152242
+ Post Load (0.0ms) SELECT "posts".* FROM "posts"
152243
+ Post Load (0.0ms) SELECT "posts".* FROM "posts"
152244
+ NewsArticle Load (0.0ms) SELECT "news_articles".* FROM "news_articles"
152245
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
152246
+  (0.0ms) SAVEPOINT active_record_1
152247
+ SQL (0.3ms) INSERT INTO "news_articles" ("caption", "created_at", "updated_at") VALUES (?, ?, ?) [["caption", "Real News Article"], ["created_at", "2015-04-13 06:50:33.107749"], ["updated_at", "2015-04-13 06:50:33.107749"]]
152248
+ Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."published" = 't'
152249
+ PostCategory Load (0.0ms) SELECT "post_categories".* FROM "post_categories"
152250
+ Post Load (0.0ms) SELECT "posts".* FROM "posts"
152251
+ Post Load (0.0ms) SELECT "posts".* FROM "posts"
152252
+ NewsArticle Load (0.0ms) SELECT "news_articles".* FROM "news_articles"
152253
+  (0.0ms) RELEASE SAVEPOINT active_record_1
152254
+  (0.4ms) rollback transaction
152255
+  (0.0ms) begin transaction
152256
+ -------------------------------------
152257
+ PostTest: test_Post_controller_action
152258
+ -------------------------------------
152259
+  (0.0ms) SAVEPOINT active_record_1
152260
+ SQL (0.2ms) INSERT INTO "post_categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "general"], ["created_at", "2015-04-13 06:50:33.113170"], ["updated_at", "2015-04-13 06:50:33.113170"]]
152261
+ Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."published" = 't'
152262
+ PostCategory Load (0.0ms) SELECT "post_categories".* FROM "post_categories"
152263
+ Post Load (0.0ms) SELECT "posts".* FROM "posts"
152264
+ Post Load (0.0ms) SELECT "posts".* FROM "posts"
152265
+ NewsArticle Load (0.0ms) SELECT "news_articles".* FROM "news_articles"
152266
+  (0.0ms) RELEASE SAVEPOINT active_record_1
152267
+  (0.0ms) SAVEPOINT active_record_1
152268
+ SQL (0.3ms) INSERT INTO "posts" ("title", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Once Upon a Time"], ["name", "once-upon-a-time"], ["created_at", "2015-04-13 06:50:33.116721"], ["updated_at", "2015-04-13 06:50:33.116721"]]
152269
+ Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."published" = 't'
152270
+ PostCategory Load (0.0ms) SELECT "post_categories".* FROM "post_categories"
152271
+ Post Load (0.0ms) SELECT "posts".* FROM "posts"
152272
+ Post Load (0.0ms) SELECT "posts".* FROM "posts"
152273
+ NewsArticle Load (0.0ms) SELECT "news_articles".* FROM "news_articles"
152274
+  (0.0ms) RELEASE SAVEPOINT active_record_1
152275
+  (0.4ms) rollback transaction
152276
+  (0.0ms) begin transaction
152277
+ --------------------------------
152278
+ PostTest: test_post#archive_path
152279
+ --------------------------------
152280
+  (0.0ms) SAVEPOINT active_record_1
152281
+ SQL (0.2ms) INSERT INTO "post_categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "general"], ["created_at", "2015-04-13 06:50:33.122020"], ["updated_at", "2015-04-13 06:50:33.122020"]]
152282
+ Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."published" = 't'
152283
+ PostCategory Load (0.0ms) SELECT "post_categories".* FROM "post_categories"
152284
+ Post Load (0.0ms) SELECT "posts".* FROM "posts"
152285
+ Post Load (0.0ms) SELECT "posts".* FROM "posts"
152286
+ NewsArticle Load (0.0ms) SELECT "news_articles".* FROM "news_articles"
152287
+  (0.0ms) RELEASE SAVEPOINT active_record_1
152288
+  (0.0ms) SAVEPOINT active_record_1
152289
+ SQL (0.2ms) INSERT INTO "posts" ("title", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Once Upon a Time"], ["name", "once-upon-a-time"], ["created_at", "2015-04-13 06:50:33.125484"], ["updated_at", "2015-04-13 06:50:33.125484"]]
152290
+ Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."published" = 't'
152291
+ PostCategory Load (0.0ms) SELECT "post_categories".* FROM "post_categories"
152292
+ Post Load (0.0ms) SELECT "posts".* FROM "posts"
152293
+ Post Load (0.0ms) SELECT "posts".* FROM "posts"
152294
+ NewsArticle Load (0.0ms) SELECT "news_articles".* FROM "news_articles"
152295
+  (0.0ms) RELEASE SAVEPOINT active_record_1
152296
+  (0.4ms) rollback transaction
152297
+  (0.1ms) begin transaction
152298
+ ------------------------------
152299
+ PostTest: test_post#route_name
152300
+ ------------------------------
152301
+  (0.0ms) SAVEPOINT active_record_1
152302
+ SQL (0.2ms) INSERT INTO "post_categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "general"], ["created_at", "2015-04-13 06:50:33.131199"], ["updated_at", "2015-04-13 06:50:33.131199"]]
152303
+ Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."published" = 't'
152304
+ PostCategory Load (0.1ms) SELECT "post_categories".* FROM "post_categories"
152305
+ Post Load (0.1ms) SELECT "posts".* FROM "posts"
152306
+ Post Load (0.0ms) SELECT "posts".* FROM "posts"
152307
+ NewsArticle Load (0.0ms) SELECT "news_articles".* FROM "news_articles"
152308
+  (0.0ms) RELEASE SAVEPOINT active_record_1
152309
+  (0.0ms) SAVEPOINT active_record_1
152310
+ SQL (0.3ms) INSERT INTO "posts" ("title", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Once Upon a Time"], ["name", "once-upon-a-time"], ["created_at", "2015-04-13 06:50:33.136591"], ["updated_at", "2015-04-13 06:50:33.136591"]]
152311
+ Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."published" = 't'
152312
+ PostCategory Load (0.1ms) SELECT "post_categories".* FROM "post_categories"
152313
+ Post Load (0.1ms) SELECT "posts".* FROM "posts"
152314
+ Post Load (0.0ms) SELECT "posts".* FROM "posts"
152315
+ NewsArticle Load (0.0ms) SELECT "news_articles".* FROM "news_articles"
152316
+  (0.0ms) RELEASE SAVEPOINT active_record_1
152317
+  (0.4ms) rollback transaction
152318
+  (0.0ms) begin transaction
152319
+ ------------------------
152320
+ PostTest: test_post#path
152321
+ ------------------------
152322
+  (0.0ms) SAVEPOINT active_record_1
152323
+ SQL (0.1ms) INSERT INTO "post_categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "general"], ["created_at", "2015-04-13 06:50:33.142898"], ["updated_at", "2015-04-13 06:50:33.142898"]]
152324
+ Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."published" = 't'
152325
+ PostCategory Load (0.0ms) SELECT "post_categories".* FROM "post_categories"
152326
+ Post Load (0.0ms) SELECT "posts".* FROM "posts"
152327
+ Post Load (0.0ms) SELECT "posts".* FROM "posts"
152328
+ NewsArticle Load (0.0ms) SELECT "news_articles".* FROM "news_articles"
152329
+  (0.0ms) RELEASE SAVEPOINT active_record_1
152330
+  (0.0ms) SAVEPOINT active_record_1
152331
+ SQL (0.3ms) INSERT INTO "posts" ("title", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Once Upon a Time"], ["name", "once-upon-a-time"], ["created_at", "2015-04-13 06:50:33.146485"], ["updated_at", "2015-04-13 06:50:33.146485"]]
152332
+ Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."published" = 't'
152333
+ PostCategory Load (0.0ms) SELECT "post_categories".* FROM "post_categories"
152334
+ Post Load (0.0ms) SELECT "posts".* FROM "posts"
152335
+ Post Load (0.1ms) SELECT "posts".* FROM "posts"
152336
+ NewsArticle Load (0.0ms) SELECT "news_articles".* FROM "news_articles"
152337
+  (0.0ms) RELEASE SAVEPOINT active_record_1
152338
+  (0.4ms) rollback transaction
152339
+  (0.1ms) begin transaction
152340
+ -------------------------------------------
152341
+ StaticControllerTest: test_should_get_index
152342
+ -------------------------------------------
152343
+ Processing by StaticController#index as HTML
152344
+ Rendered static/index.html.erb within layouts/application (0.3ms)
152345
+ Completed 200 OK in 1ms (Views: 1.2ms | ActiveRecord: 0.0ms)
152346
+  (0.0ms) rollback transaction
152347
+  (0.0ms) begin transaction
152348
+ ----------------------------------------------------------------------------
152349
+ FlowmorRouter::RouterClassesTest: test_Fib_becomes_routable_with_named_model
152350
+ ----------------------------------------------------------------------------
152351
+  (0.0ms) rollback transaction
152352
+  (0.0ms) begin transaction
152353
+ ----------------------------------------------------------------------------
152354
+ FlowmorRouter::RouterClassesTest: test_Baz_becomes_routable_with_named_model
152355
+ ----------------------------------------------------------------------------
152356
+  (0.0ms) rollback transaction
152357
+  (0.0ms) begin transaction
152358
+ -----------------------------------------------------------
152359
+ FlowmorRouter::RouterClassesTest: test_can_register_a_class
152360
+ -----------------------------------------------------------
152361
+  (0.0ms) rollback transaction
152362
+  (0.0ms) begin transaction
152363
+ ----------------------------------------------------------------------------
152364
+ FlowmorRouter::RouterClassesTest: test_Bat_becomes_routable_with_named_model
152365
+ ----------------------------------------------------------------------------
152366
+  (0.0ms) rollback transaction
152367
+  (0.0ms) begin transaction
152368
+ -----------------------------------------------------------------------------
152369
+ FlowmorRouter::RouterClassesTest: test_Down_becomes_routable_with_named_model
152370
+ -----------------------------------------------------------------------------
152371
+  (0.0ms) rollback transaction
152372
+  (0.0ms) begin transaction
152373
+ -----------------------------------------------------------
152374
+ FlowmorRouter::RouterClassesTest: test_Bar_becomes_routable
152375
+ -----------------------------------------------------------
152376
+  (0.0ms) rollback transaction
152377
+  (0.0ms) begin transaction
152378
+ --------------------------------------------------------
152379
+ FlowmorRouter::RouterClassesTest: test_defined_correctly
152380
+ --------------------------------------------------------
152381
+  (0.0ms) rollback transaction