Do AL checks in ruby for editions index.

This saves us up to 20 seconds per request on that
page at the cost of not always having 50 editions
per page.
Whitespace.