diff options
author | Aaron Patterson <aaron.patterson@gmail.com> | 2011-02-15 10:07:19 -0800 |
---|---|---|
committer | Aaron Patterson <aaron.patterson@gmail.com> | 2011-02-15 10:07:19 -0800 |
commit | f0b11739654e2d7eacdf17271b5425f2c5709457 (patch) | |
tree | 0fe0ec7d94459c88546e0e22de7afbfa0ed8b5ab /activerecord/lib | |
parent | 1bedee56314ff1de2d186ca56adbe4059f4b0af3 (diff) | |
download | rails-f0b11739654e2d7eacdf17271b5425f2c5709457.tar.gz rails-f0b11739654e2d7eacdf17271b5425f2c5709457.tar.bz2 rails-f0b11739654e2d7eacdf17271b5425f2c5709457.zip |
removing unused variable
Diffstat (limited to 'activerecord/lib')
-rw-r--r-- | activerecord/lib/active_record/fixtures.rb | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/activerecord/lib/active_record/fixtures.rb b/activerecord/lib/active_record/fixtures.rb index 3876e57210..bce8704041 100644 --- a/activerecord/lib/active_record/fixtures.rb +++ b/activerecord/lib/active_record/fixtures.rb @@ -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 |