Skip to content

Instantly share code, notes, and snippets.

@ajoman
ajoman / sqlite3_adapter_patch.rb
Created March 6, 2014 15:06
Compatibility in Rails 4 for SQLite3 boolean columns. Add it to config/initializers folder.
# config/initializers/sqlite3_adapter_patch.rb
module ActiveRecord
module ConnectionAdapters
class SQLite3Adapter < AbstractAdapter
QUOTED_TRUE, QUOTED_FALSE = "'t'", "'f'"
def quoted_true
QUOTED_TRUE
end
@ajoman
ajoman / Products.md
Last active December 13, 2015 20:18
Brands and products I like the most

SaaS

Harvest. Simple online time tracking software.

BaaS

Firebase. A powerful API to store and sync data in realtime.

Hydna. Hydna is a hosted backend into which you can send data and have it instantly appear on other devices.