Using Rails with Postgres for schemaless data
Rolling your own integration with an external service where the schema can change from moment to moment can be tough.
I was building an app that relied on salesforce data from multiple salesforce accounts. Not only did we know nothing about the data as we pull it in from the external service, salesforce data structure can be changed at any moment by the users! That scares the hell out of us Rails developers who are used to using structured databases.
I came up with a solution that creates pliable active record objects by using JSON data store in Postgresql.
I extracted this out into a gem called pliable