diff options
author | Paul Duncan <pabs@pablotron.org> | 2016-03-09 01:13:34 -0500 |
---|---|---|
committer | Paul Duncan <pabs@pablotron.org> | 2016-03-09 01:13:34 -0500 |
commit | 804b034691f4c276090ee0d2a681dbf5b8b5a267 (patch) | |
tree | 65dfdaaf144e62dace4f04546a163b1c3835b292 /src/guff/models/post.cr | |
parent | d73612df9875b57d9df1f64f757146e4accf7a30 (diff) | |
download | old-guff-804b034691f4c276090ee0d2a681dbf5b8b5a267.tar.bz2 old-guff-804b034691f4c276090ee0d2a681dbf5b8b5a267.zip |
s/INTERSECTS/INTERSECT/
Diffstat (limited to 'src/guff/models/post.cr')
-rw-r--r-- | src/guff/models/post.cr | 16 |
1 files changed, 8 insertions, 8 deletions
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? |