Demo - Setting up Active Record Outside of Rails
Ruby
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
csv
db
.gitignore
.ruby-version
Gemfile
Gemfile.lock
README.md
Rakefile
config.yml
contact_manager.rb

README.md

ContactManager

Contact Manager Application

Setup

bundle install

rake db:migrate RAILS_ENV=production

On first use or to re-read the .csv

ruby contact_manager.rb setup

After that just run with

ruby contact_manager.rb

Commands

contacts L

or

contacts email LisaESauceda@armyspy.com

or

exit