Okay, I did an edit of my linked monkey-patch. I can do a "rake db:migrate" 
and start a rails console now. I fixed on obvious bug I had. However, I'm 
forced to manually include the mysql adapter in my initializer for it to 
work. So, my overall question still stands... what is the correct idiomatic 
way of doing this?

Side note: though I can now run my migration(s) and load a console, the 
database table created with my migration doesn't seem to reflect my 
monkey-patching (yes, I did a complete "rake db:drop" first). In other 
words, if anyone also has more specific pointers (not just how/where to 
monkey-patch like this, but how to accomplish my specific goal) I'd sure 
welcome them. Just so you know, I'm trying to force the AR/MysqlAdapter to 
use "-1" for boolean true values and the MySQL "TIMESTAMP" type for 
:timestamp-typed columns.

Thanks again.

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to