Reputation: 17
I need help with a [500] undefined method 'soft_copy' for nil:NilClass
error when calling action :list do
for a new view. The only line in the route is view.scope(:user).apply(User.all)
and puts User.all
returns an object.
Upvotes: 0
Views: 16
Reputation: 437
It looks like you're trying to apply (or bind) to a scope that doesn't exist in your view. Verify that a user
scope exists in the users
view path.
Upvotes: 0