Sha256: 3f561d4f4edfba433bb43905b1b409f202e5ccc98ba04fbcbb4c4766537fc617
Contents?: true
Size: 234 Bytes
Versions: 2
Compression:
Stored size: 234 Bytes
Contents
namespace :db do desc "Generate sample data for the application" task sample: :environment do raise "Can't run in production" if Rails.env.production? || ENV["FORCE_SAMPLE"] load Rails.root.join("db/samples.rb") end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
rsg-0.1.0 | lib/rsg/generators/orm/templates/db.rake.tt |
rsg-0.0.1 | lib/rsg/generators/orm/templates/db.rake |