removed deprecated scoped and find(:all) for rails 4