-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move Faker to production group to use on Heroku
- Loading branch information
Showing
1 changed file
with
1 addition
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5227c9b
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@Graysonwright why is
faker
needed in production on Heroku?The only references I found were in spec/example_app/db/seeds.rb.
Asking since its not a super lightweight dependency:
Thanks!
5227c9b
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@buren We need to periodically re-seed the database for http://administrate-prototype.herokuapp.com so the sample data is kept fresh for visitors.
That application runs in the production environment, so we need
faker
available in production as well in order to run the seeds.It doesn't seem like the size of the library will have too many adverse effects, because it is only installed for people hosting the demo site. It's not a dependency for Administrate itself.
5227c9b
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@Graysonwright oh yeah you're right! My bad, thank you 👍