Archive for the “Rails” category
A Note on ActiveRecord Serialization and Objects
by Erik Runyon on April 19, 2009
Let’s say you’re serializing a ruby object for later use in a field of another model. class Foo < ActiveRecord::Base serialize :bar end In this instance, assume an object of type “Bar” is what’s being serialized. After save, the data (…)
A Tale of Woe: starring Rails 2.2, Mac OS X and a MySQL Upgrade
by Erik Runyon on January 13, 2009
If you’ve used Rails 2.1 at all, you will no doubt be aware due to the incessant notifications, that Rails 2.2 will be dropping its MySQL driver. Therefore, in order to use Rails 2.2, you will need to install an (…)