Tag Archives: sqlite
Don’t try to be smarter than ActiveRecord
When you’re writing conditions for a finder in ActiveRecord, and you want to use an array of values for a sql in() statement, you might think to help ActiveRecord out and comma-separate the array values like this: type_ids = [1, … Continue reading