diff options
author | Jochen Topf <jochen@topf.org> | 2011-10-10 16:05:30 +0200 |
---|---|---|
committer | Jochen Topf <jochen@topf.org> | 2011-10-10 16:05:30 +0200 |
commit | 3ee5a07b907df9568a5b26093dbe7392886eb508 (patch) | |
tree | 6751a4c73e044f27bc4f6d56738c6adecabdab7b /sources/db | |
parent | cd7a6f5837545d255c5394684b42f8682ebc7154 (diff) | |
download | taginfo-3ee5a07b907df9568a5b26093dbe7392886eb508.tar taginfo-3ee5a07b907df9568a5b26093dbe7392886eb508.tar.gz |
Use .to_i == 1 instead of == '1'
Different Sqlite versions (or ruby sqlite driver versions) seem to return
contents of integer columns in different ways. This should make it work
in all versions.
Diffstat (limited to 'sources/db')
0 files changed, 0 insertions, 0 deletions