Permalink
Browse files

[ci skip] less derogatory explanation of defaults

  • Loading branch information...
1 parent 319a8ac commit 654b331643ca80d581c899d485369fbb5757fb94 @schneems schneems committed Jun 2, 2014
Showing with 3 additions and 2 deletions.
  1. +3 −2 activerecord/lib/active_record/fixtures.rb
@@ -374,8 +374,9 @@ class FixtureClassNotFound < ActiveRecord::ActiveRecordError #:nodoc:
#
# == Support for YAML defaults
#
- # You probably already know how to use YAML to set and reuse defaults in
- # your <tt>database.yml</tt> file. You can use the same technique in your fixtures:
+ # You can set and reuse defaults in your in your fixtures YAML file.
+ # This is the same technique used in the <tt>database.yml</tt> file
+ # to specify defaults:
#
# DEFAULTS: &DEFAULTS
# created_on: <%= 3.weeks.ago.to_s(:db) %>

0 comments on commit 654b331

Please sign in to comment.