Rilsta / Survey-Ruby

Practice Using Active Record

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Library-System-Ruby

by Riley Starnes and Mike Mahone

Project

Build a basic survey making site where a user can enter in a title for a survey and add questions to the survey. Practice utilizing ActiveRecord in relation to a database.

Installation

Clone the Repository

  • git clone https://github.com/Rilsta/Survey-Ruby.git
  • Navigate to project directory

Install the ruby gems

  • $bundle install

Set up the database by running the following:

  • $rake db:create
  • $rake db:migrate

For testing run the following

  • rake db:test:prepare
  • rspec

To view:

  • ruby app.rb
  • Open a web browser and navigate to localhost:4567

License

MIT License 2016

About

Practice Using Active Record


Languages

Language:Ruby 52.8%Language:HTML 47.2%