Jonathan Monahan
Software Engineer · Not a member
Jonathan Monahan's latest activity
Monday, March 14 2011
-
Jonathan Monahan commented at 4:00 PMFWIW, we had a similar problem on Rails 2.2.x and fixed it by monkey patching ActiveRecord::Base.inspect:
module ActiveRecord class Base def self.inspect...
Tuesday, February 15 2011
-
Jonathan Monahan commented at 9:12 AMHi PaulK,
Great job! I've had a look at the diffs and they are what I would expect. I'm still on Rails 2.2.2 (with patches), so I am unable to try it, but I've ...
Thursday, February 03 2011
-
Jonathan Monahan commented at 1:53 PM@2kan, I disagree.
Storing the base_class in the type field of a polymorphic association does indeed allow the use case you give, but it does not allow efficien...
Thursday, January 13 2011
-
-
- Tag changed from rails_2_3_stable to mysql adapter, rails_2_3_stable
We are running Rails 2.2.1 with the mysql gem, but I believe I have fixed the problem by adding
@connection.options(Mysql::OPT_LOCAL_INFILE, 1)in
mysql_adapt...
Tuesday, January 11 2011
-
Jonathan Monahan commented at 9:11 AMNote at the bottom of http://dev.mysql.com/doc/refman/5.1/en/load-data-local.html, the last comment details how to configure client and server to always allow L...
Monday, January 10 2011
-
Jonathan Monahan commented at 10:48 AM...and probably this too: http://dev.mysql.com/doc/refman/5.1/en/load-data-local.html
-
Jonathan Monahan commented at 10:28 AMIs the --local-infile option commented on here http://dev.mysql.com/doc/refman/5.0/en/loading-tables.html relevent?
Tuesday, December 28 2010
-
Jonathan Monahan commented at 12:52 AMActually, I can think of an example, but it's a pretty obvious one. Given the schema proposed above by @viatropos, you cannot query the database to find all
Rel... -
Jonathan Monahan commented at 12:39 AMYes, this is a breaking change for existing schemas that use polymorphism and STI together, but then I expect so was the change that provided the
store_full_sti...