diff options
author | David Heinemeier Hansson <david@loudthinking.com> | 2005-03-06 13:53:29 +0000 |
---|---|---|
committer | David Heinemeier Hansson <david@loudthinking.com> | 2005-03-06 13:53:29 +0000 |
commit | 87b55f59ddf85dd31ed0ab5916e80f8368934926 (patch) | |
tree | 9feb106c7dc280e6fd32cc8380d4e81dbb1eff5e /activerecord | |
parent | 903ef71b9952f4bfaef798bbd93a972fc25010ad (diff) | |
download | rails-87b55f59ddf85dd31ed0ab5916e80f8368934926.tar.gz rails-87b55f59ddf85dd31ed0ab5916e80f8368934926.tar.bz2 rails-87b55f59ddf85dd31ed0ab5916e80f8368934926.zip |
Updated wording in YAML error [noradio]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@847 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'activerecord')
-rwxr-xr-x | activerecord/lib/active_record/fixtures.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/lib/active_record/fixtures.rb b/activerecord/lib/active_record/fixtures.rb index 9b817f8927..e1bfea2d07 100755 --- a/activerecord/lib/active_record/fixtures.rb +++ b/activerecord/lib/active_record/fixtures.rb @@ -247,7 +247,7 @@ class Fixtures < Hash yaml = YAML::load(erb_render(IO.read(yaml_file_path))) yaml.each { |name, data| self[name] = Fixture.new(data, @class_name) } if yaml rescue Exception=>boom - raise Fixture::FormatError, "a YAML error occured parsing #{yaml_file_path}. Please note that YAML must be indented with 2,4 or 8 spaces. Tabs are not allowed. Please have a look at http://www.yaml.org/faq.html" + raise Fixture::FormatError, "a YAML error occured parsing #{yaml_file_path}. Please note that YAML must be consistently indented using spaces. Tabs are not allowed. Please have a look at http://www.yaml.org/faq.html" end elsif File.file?(csv_file_path) # CSV fixtures |