Skip to content

Commit beeb86b

Browse files
committed
correct user simulator
1 parent b69d089 commit beeb86b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

script/user_simulator.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ def sentence
3535

3636
require File.expand_path(File.dirname(__FILE__) + "/../config/environment")
3737

38-
unless Rails.env.development?
38+
unless ["profile", "development"].include? Rails.env
3939
puts "Bad idea to run a script that inserts random posts in any non development environment"
4040
exit
4141
end

0 commit comments

Comments
 (0)