From 5192d6a0678c2d7ffc0e579cfe760dfa169f0100 Mon Sep 17 00:00:00 2001 From: Paul Duncan Date: Sat, 16 Jul 2016 14:47:06 -0400 Subject: to_s seems to fix repo_url bug (dunno) --- src/guff/models/project.cr | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/guff/models/project.cr b/src/guff/models/project.cr index 3c493c1..32be435 100644 --- a/src/guff/models/project.cr +++ b/src/guff/models/project.cr @@ -183,9 +183,9 @@ class Guff::Models::ProjectModel < Guff::Models::Model body: body, ) - puts "DEBUG: repo_url = #{repo_url}, post_id = #{post_id}" + # puts "DEBUG: repo_url = #{repo_url}, post_id = #{post_id}" if repo_url - db.query(SQL[:set], [repo_url, post_id.to_s]) + db.query(SQL[:set], [repo_url.to_s, post_id.to_s]) end end end -- cgit v1.2.3