diff options
author | Paul Duncan <pabs@pablotron.org> | 2016-07-16 14:47:06 -0400 |
---|---|---|
committer | Paul Duncan <pabs@pablotron.org> | 2016-07-16 14:47:06 -0400 |
commit | 5192d6a0678c2d7ffc0e579cfe760dfa169f0100 (patch) | |
tree | 959f5675ce989a27014ddb118ed681db31b87358 /src | |
parent | f2159db19a5aeeb4b4b7a53d065480adf1df47fc (diff) | |
download | guff-5192d6a0678c2d7ffc0e579cfe760dfa169f0100.tar.bz2 guff-5192d6a0678c2d7ffc0e579cfe760dfa169f0100.zip |
to_s seems to fix repo_url bug (dunno)
Diffstat (limited to 'src')
-rw-r--r-- | src/guff/models/project.cr | 4 |
1 files changed, 2 insertions, 2 deletions
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 |