Update rails to 4.1.5. Add recent scope to Image model.