Added a priority field to the Story model,
with three options (enforced in the Story model): High, Medium, and Low.
Made the field visible on all view pages, including
index pages, show a single story, edit/new story, edit multiple.
The priority defaults to "Medium".
Made a helper method,
ApplicationHelper:options_default(attribute, default_value),
which allows a choice to be made between a value,
e.g., one
in the database for an attribute, or a default.
We used this for Story.priority, so called
options_default(@story.priority, "Medium")
which means that if an instantiation of a Story has
a priority set in the database, use that value,
otherwise, present Mediium.
(We should use it for the Status field as well as the
Priority field!).
*** To run this, "rake db:migrate" needs to be run after
this code is downloaded ***
Merge pull request #18 from wdesmonde/master

added priority field

We know this does not deploy well to Heroku - works locally but does nothing (good or bad) on Heroku. We suspect validations for Priority are being handed differently. I will update to this and see if it works locally for me.