Sha256: 9e216a23cfaf615f7e5362f4808601e403a901f984e1fb5ef009003d9b885bec
Contents?: true
Size: 408 Bytes
Versions: 18
Compression:
Stored size: 408 Bytes
Contents
# This file should contain all the record creation needed to seed the database with its default values. # The data can then be loaded with the rake db:seed (or created alongside the db with db:setup). require 'active_record/fixtures' path = Rails.root.join("db", "fixtures").to_s tables = Dir.entries(path).map { |file| file[/^.*(?=\.yml$)/] }.compact ActiveRecord::Fixtures.create_fixtures(path, tables)
Version data entries
18 entries across 18 versions & 1 rubygems