* Does not support migration or anything fancy from Rails.
* Does support direct SQL queries passed into the connection object.
* Does not support translating a generic query into the correct format for your chosen backend on all queries.
* Does support conversion of data types for correct insertion into either MySQL or SQLite.
* Before any creation or fetching of any ARBase inherited objects can be done, you must issue [ARBase setDefaultConnection:(ARConnection *)anARConnection].
* ARMySQLConnection constructor ( + (ARMySQLConnection *)openConnectionWithInfo:(NSDictionary *)aDictionary error:(NSError **)err;) looks for the keys/objects: host:(NSString *)host, port:(NSNumber)port, user:(NSString *)user, password:(NSString *)password, database:(NSString *)database
*ARSQLiteConnection constructor (+ (ARSQLiteConnection *)openConnectionWithInfo:(NSDictionary *)aDictionary error:(NSError **)err;) looks for only one key/object: path:(NSString *)pathToSQLiteDatabaseFile
* Both connection types define - executeSQL:(NSString *)query substitutions:(NSDictionary *)someSubstitutions;, I have modified both of these functions to allow for a direct query input by passing a properly formatted and escaped query as the string and nil as the dictionary.
* Values set for string type storage elements in the ARBase class are ' and " safe (so you can do [ARBase setValue:@"Don't run!" forKey:@"instruction"] and it will escape the ' with \').
* Framework is built as 32-bit Universal 10.6 with Garbage Collection Required. (I wasn't about to go through the entire framework and ensure that all necessary retain/release calls were made to keep it free from memory leaks, and since I use GC in all of my code projects, you get my settings.)
This framework was originally written by ninjakitten.us and not me. I only made the necessary modifications to make it actually work with both MySQL and SQLite on my 10.6.1 install of OS X. If you are a developer interested in the source with my mods in it for any reason, please leave a comment here and I will send it your way. One day I may go through it and recode the entire thing, but for now, no.
*edit: I forgot to include some install notes! Just extract the ActiveRecord.framework directory from the DMG into your /Library/Frameworks directory. Then you can include it by adding an existing framework to be linked to your target. If you add a copy files build phase to set to copy to Frameworks and add the framework to it, then it'll build with the framework embedded and you won't need to have the user install it.