lib/ar_fixtures.rb
# Writes content of this table to db/table_name.yml, or the specified file.
#
# Writes all content by default, but can be limited.
Writes content of this table to db/table_name.yml, or the specified file.
Writes all content by default, but can be limited.
Writes content of this table to db / table_name . yml or the specified file . Writes all content by default but can be limited .
def write_file(path, content) 
      f = File.new(path, "w+")
      f.puts content
      f.close
    end
def write_file ( path , content ) f = File . new ( path , "w+" ) f . puts content f . close end
Writes content of this table to db/table_name.yml, or the specified file.
Writes content of this table to db / table_name . yml or the specified file .
# :nodoc:
path
<not_specific>
content
<not_specific>