Recent Posts by Mark Lane
|
Mar 9, 2008
Mark Lane
1 post
|
Topic: Advanced Rails Recipes / Check_pending_migrations code (p.379) issues Aloha everyone, I have noticed some odd behavior from the check_pending_migrations code while watching the terminal window. The check_pending_migrations code results in this query being run 41 times when I start my application:
I have 39 tables including schema_info and 43 migrations. This also happens right before the 41 queries above:
Does anyone have any ideas about what might be causing this and how to fix it? I like the code, but I am not going to use it if it adds 41 queries to each startup. Thanks, DrMark |
1 post
