1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

removing unused variable

This commit is contained in:
Aaron Patterson 2011-02-15 10:07:19 -08:00
parent 1bedee5631
commit f0b1173965

View file

@ -446,7 +446,6 @@ class FixturesFileNotFound < StandardError; end
class Fixtures
MAX_ID = 2 ** 30 - 1
DEFAULT_FILTER_RE = /\.ya?ml$/
@@all_cached_fixtures = Hash.new { |h,k| h[k] = {} }
@ -567,11 +566,10 @@ class Fixtures
attr_reader :table_name, :name, :fixtures, :model_class
def initialize(connection, table_name, class_name, fixture_path, file_filter = DEFAULT_FILTER_RE)
def initialize(connection, table_name, class_name, fixture_path)
@connection = connection
@table_name = table_name
@fixture_path = fixture_path
@file_filter = file_filter
@name = table_name # preserve fixture base name
@class_name = class_name