SF Standup Feb 26, 2010: Golden Gate Ruby Conf Dates!

Asking for Help

“Reloading model associations in Rails doesn’t do what you expect it to do.”

If you have a has_one relationship between the parent and the child and you reload the association, rails 2.3.2 will do a ‘select * limit 1;’ from the child table which is not what you want.

“How do I get the debugger in RubyMine to load my fixtures?”

So apparently the debugger built into ruby mine is using a different database connection that doesn’t see the fixtures. Probably because they are built in an uncommitted transaction. The command line debugger doesn’t have this problem.