mendicant-university/puzzlenode — Issue #82: Puzzles are not necessarily ordered by number
Author: gjp
Created: 2012-02-23 18:45:44+00:00
State: open

Puzzles appeared to be ordered by number, but the number is actually just a part of the title. Puzzles are ordered by creation date.

````
def index
@puzzles = Puzzle.published(current_user).order("created_at").all
````

I don't know that ordering by title would make sense, but I did wonder whether puzzles ought to be given an ordinal as a separate field. Right now there's a bit of manually maintained coupling between the title and the creation date.

I'm basically just looking for comments here. If the current method is good enough, please feel free to close this.