mirror of
https://github.com/internetee/registry.git
synced 2025-08-14 21:43:50 +02:00
Merge branch 'remove-factory-girl-include-from-dev-rake' into registry-343
This commit is contained in:
commit
eb67716e0a
1 changed files with 0 additions and 2 deletions
|
@ -5,9 +5,7 @@ namespace :dev do
|
||||||
task :prime, [:random] => :environment do |t, args|
|
task :prime, [:random] => :environment do |t, args|
|
||||||
abort 'Production environment is not supported' if Rails.env.production?
|
abort 'Production environment is not supported' if Rails.env.production?
|
||||||
|
|
||||||
require 'factory_girl'
|
|
||||||
include FactoryGirl::Syntax::Methods
|
include FactoryGirl::Syntax::Methods
|
||||||
FactoryGirl.find_definitions
|
|
||||||
|
|
||||||
PaperTrail.enabled = false
|
PaperTrail.enabled = false
|
||||||
Domain.paper_trail_on!
|
Domain.paper_trail_on!
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue