# File lib/database_cleaner/active_record/truncation.rb, line 23 def database_cleaner_table_cache # the adapters don't do caching (#130) but we make the assumption that the list stays the same in tests @database_cleaner_tables ||= tables end
used to be called views but that can clash with gems like schema_plus this gem is not meant to be exposing such an extra interface any way
# File lib/database_cleaner/active_record/truncation.rb, line 19 def database_cleaner_view_cache @views ||= select_values("select table_name from information_schema.views where table_schema = '#{current_database}'") rescue [] end
Generated with the Darkfish Rdoc Generator 2.