Add jquery UI for datepicker functionality in post form.
Add validates_timeliness gem, add validations to Post model and add update action to posts controller.