From 804b034691f4c276090ee0d2a681dbf5b8b5a267 Mon Sep 17 00:00:00 2001 From: Paul Duncan Date: Wed, 9 Mar 2016 01:13:34 -0500 Subject: s/INTERSECTS/INTERSECT/ --- src/guff/models/post.cr | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'src/guff') diff --git a/src/guff/models/post.cr b/src/guff/models/post.cr index 3c4212b..560b36d 100644 --- a/src/guff/models/post.cr +++ b/src/guff/models/post.cr @@ -292,7 +292,7 @@ module Guff template(:tag, { "tag": @models.db.quote(tag), }) - }.join(" INTERSECTS "), + }.join(" INTERSECT "), }) }.join(" UNION "), }) : NO_POSTS @@ -342,13 +342,13 @@ module Guff end def update_post( - site_id = nil : Int?, - post_id = nil : Int?, - slug = nil : String?, - name = nil : String?, - body = nil : String?, - tags = nil : Array(String)?, - posted = nil : Bool? + site_id = nil : Int?, + post_id = nil : Int?, + slug = nil : String?, + name = nil : String?, + body = nil : String?, + tags = nil : Array(String)?, + posted = nil : Bool? ) raise "null post_id" if post_id.nil? -- cgit v1.2.3