easy to make fake data
This commit is contained in:
parent
25324809bb
commit
796dcc4dc6
|
@ -2,6 +2,9 @@ require 'factory_girl'
|
|||
require 'faker'
|
||||
require 'json'
|
||||
|
||||
WritingJournal.destroy_all
|
||||
CoAuthor.destroy_all
|
||||
|
||||
data = File.read("db/data")
|
||||
data_json = JSON.parse(data)
|
||||
|
||||
|
|
Loading…
Reference in New Issue