If you’ve developed with Ruby On Rails or similar framework then you are familiar with ActiveRecord, and you are familiar with how useful ActiveRecord is. I remember thinking how cool it was when I first played with RoR and began using ActiveRecord.

For those unfamiliar with RoR here’s the Wikipedia definition for Active Record:

Active record is an approach to accessing data in a database. A database table or view is wrapped into a class. Thus, an object instance is tied to a single row in the table. After creation of an object, a new row is added to the table upon save. Any object loaded gets its information from the database. When an object is updated the corresponding row in the table is also updated. The wrapper class implements accessor methods or properties for each column in the table or view.

I’ve come across an excellent open source library based on the Ruby On Rails implementation of ActiveRecord from Saul Mora for Core Data retrieval known as MagicalRecord.