ff
2007-Jan-22 20:29 UTC
acts_as_taggable uses mysql innoDB tables - does innoDB flush on write on Mac OS X?
I''m using the acts_as_taggable plug-in (actually, the one on steroids - http://www.agilewebdevelopment.com/plugins/acts_as_taggable_on_steroids). It seems to work OK in the tests I''ve written, but when I query the DB to see how the tags are stored, I see that the tables tags & taggable are empty. Yet, the query from w/in the tests seem to return correct results. Is there a caching issue using mysql (v 5.0.26) on Mac OSX? If so, how can I flush the cache? The mysql doc seems to indicate that it uses a special fctl method to flush automatically. All my other tables are myisam and work as expected. Thanks for any help. --~--~---------~--~----~------------~-------~--~----~ 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
ff
2007-Jan-23 02:26 UTC
Re: acts_as_taggable uses mysql innoDB tables - does innoDB flush on write on Mac OS X?
OK - figured out what was going on. I was working in tests, and the plugin had set transactional fixtures to true, so the setup was starting a transaction and the teardown was rolling it back. No problem w/ the code - it wasn''t a bug but a feature... --~--~---------~--~----~------------~-------~--~----~ 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---