search for: activeproject

Displaying 1 result from an estimated 1 matches for "activeproject".

Did you mean: active_projects
2007 Jul 29
6
Isolating rails model specs from their implementation
...ject.archived_projects @project.active? @project.archived? @project.archive! @project.unarchive! The current implementation of this is using a separate table of "visibilities" as follows: # Implementation 1 (Current) Tables: Project id name visibility_status_id 1 ActiveProject 1 1 ArchivedProject 2 VisibilityStatuses id name 1 Live 2 Archived But the same behavior could be implemented using a datetime column as follows: # Implementation 2 Tables: Project id name archived_at 1 Activ...