Fetching latest commit…
Cannot retrieve the latest commit at this time.
|Failed to load latest commit information.|
DATABASE Since we're using sqlite3, you'll need to rely on on the rails console (./script/console) to edit db data. It's not so bad. It's like running irb. THE STUDENT INTERFACE The student interface relies on two model-controller sets: student and student_session. You'll find that students_controller.rb covers the basic handling of a typical student record, from creating a student record to handling the application process. On the other hand, student_session_controller.rb does the session handling of the student, with a lot of help from the authentication gem Authlogic. To get student authentication to work with authlogic, check out http://railscasts.com/episodes/160-authlogic and substitute all references to "User" with "Student". The nominator authentication was similarly implemented in this way. ROUTES Note that in order to allow for the /students and /nominator paths to properly route, I added some route entries in routes.rb. DEPLOYMENT Based on http://docs.heroku.com/git#using-subversion-or-other-revision-control-systems, here's how to deploy your latest changes on heroku: $ git add . $ git commit -m "commit for deployment." ... $ git push -f heroku ACCESSING THE APP ON HEROKU WHEN YOU HAVE BEEN ADDED AS COLLABORATOR http://docs.heroku.com/sharing#accessing-an-app-when-youve-been-added-as-a-collaborator MERGING CODE CHANGES http://docs.heroku.com/sharing#merging-code-changes