Added new unit tests for upcoming Post.status.
Added some more specs.
Added Rails 4.1.0.
Updated factories.
Updated post_spec to use enums for post.status.
Fixed names in post factories to match post.status
Added published_at to post factory.
Updated specs for admin_posts_controller.
Added status enum to Posts model. Generated db migrator to remove published column and add status column.
Updated where on ActiveRelation for GET /posts to use new enum.
Removed Post.draft? because it was overriding the enum methods.
Updated where on GET /posts
Fixed status values in post factories, was causing tests to fail unecessarily.
Fixed some typos in the specs that were causing failures.
Added published? to GET /posts to match new enums.
Updated rake task to publish scheduled posts to use enums.
Fixed status to scheduled.
Finally fixed the scheduling bug.
Merging to stage
Merging to stage.