Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

properly reference yml alias nodes

as per the last version of the yml specifications : http://www.yaml.org/spec/1.2/spec.html#* alias//
  • Loading branch information...
commit 79dc275b8d1676976f8f633c9e678fa511ccaf52 1 parent 00be5bd
Damien Mathieu dmathieu authored
4 activerecord/lib/active_record/fixtures.rb
View
@@ -385,11 +385,11 @@ class FixturesFileNotFound < StandardError; end
#
# first:
# name: Smurf
-# <<: *DEFAULTS
+# *DEFAULTS
#
# second:
# name: Fraggle
-# <<: *DEFAULTS
+# *DEFAULTS
#
# Any fixture labeled "DEFAULTS" is safely ignored.
2  activerecord/lib/active_record/railties/databases.rake
View
@@ -27,7 +27,7 @@ db_namespace = namespace :db do
#
# development:
# database: blog_development
- # <<: *defaults
+ # *defaults
next unless config['database']
# Only connect to local databases
local_database?(config) { create_database(config) }
2  activerecord/test/fixtures/parrots.yml
View
@@ -24,4 +24,4 @@ DEFAULTS: &DEFAULTS
parrot_sti_class: LiveParrot
davey:
- <<: *DEFAULTS
+ *DEFAULTS
Please sign in to comment.
Something went wrong with that request. Please try again.