To add a collaborator to this project you will need to use the Relish gem to add the collaborator via a terminal command. Soon you'll be able to also add collaborators here!More about adding a collaborator
As a dbmanager gem user
I want to load a sql file into any of my app databases
so that the database becomes fully populated
After adding the gem, when running rake db:load
you can choose the environment db to be loaded with data,
and the sql file that you want to load. After the task
has completed the selected database will be populated
with the data from the sql file.
- Load database from tmp/load/john_doe.sql
- I go to the dummy rails app folder
- I run the task "db:load" with input "1 tmp/load/john_doe.sql"
- the "development" database should include a friend named "John Doe"
Last published over 4 years ago by spaghetticode.