Replace .all with .to_a

AR 4 has deprecated .all, we need to replace it with .to_a to avoid warnings
Merge pull request #110 from Shopify/remove_all

Replace .all with .to_a