Permalink
Browse files

Added TODO for database table cache hax

  • Loading branch information...
1 parent 1df555f commit c05f2f21130f11b01a2023d3bf87e12cf2b18a00 @ianwhite committed Aug 11, 2010
Showing with 1 addition and 0 deletions.
  1. +1 −0 features/step_definitions/database_steps.rb
@@ -13,6 +13,7 @@
When /^I refresh the database tables cache$/ do
# prevents exception SQLite3::SchemaChangedException: no such table: users: SELECT * FROM "users" (ActiveRecord::StatementInvalid)
+ # TODO: is there a public API for this?
ActiveRecord::Base.connection.tables
end

0 comments on commit c05f2f2

Please sign in to comment.