Giter VIP home page Giter VIP logo

day13's Introduction

The project was started 21 Jan 2015.

The project runs on ruby 2.2.0 and Rails 4.2.0. 21 Jan 2015:


day12: “Project assignment: ”We are creating a tracking system for a patient as he/she goes through a hospital. Today you will create the basic CRUD.

First name (Text field) Last name (Text field) Date of Birth (date selector field - Only dates 10 years or earlier) Description (text field - Will be a description of why the patient is at the hospital) Gender (Radio button) Blood Type (Select box) All of these fields are required!“

day13: Change your relationships up a bit. You need to add Hospitals/Facilities and Medications. Your patients should live under your facilities and your medications should live under your patients. You should be able to create multiple facilities and have many patients there. Your medications should also be related to your patients. You should be able to have many medications.


All requirements of the HW assingment have been completed.

Database requires mysql2 and Sequel Pro. In order to initiate the database use “rake db:create” and then migrate with “rake db:migrate”.

In order to preform the validation on the DOB, www.software-thoughts.com/2012/08/validating-users-age-in-rails.html was used as reference.

Current controllers: /home_controller.rb /patient_controller.rb

Current Models: /patient.rb

Current Views: /home/index.html.erb /patients/_form.html.erb edit.html.erb index.html.erb new.html.erb show.html.erb

day13's People

Contributors

graymd avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.