method

reset_cache

rails latest stable - Class: Fixtures

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v3.0.9) is shown here.

reset_cache(connection = nil)
public

No documentation available.

# File activerecord/lib/active_record/fixtures.rb, line 461
  def self.reset_cache(connection = nil)
    connection ||= ActiveRecord::Base.connection
    @@all_cached_fixtures[connection.object_id] = {}
  end