Glenn Ford wrote:
> I'm guessing the key is inside "find_account_by_subdomain_or_url". Do
> you have that defined somewhere? It probably calls something like:
>
> @account = Account.find_by_subdomain(blah) or Account.find_by_url(blah)
>
> In which case that's probably what you need to stub. No
I'm guessing the key is inside "find_account_by_subdomain_or_url". Do
you have that defined somewhere? It probably calls something like:
@account = Account.find_by_subdomain(blah) or Account.find_by_url(blah)
In which case that's probably what you need to stub. Nothing is
actually checking
I can't figure out why this is failing. It seems to have a hard time
assigning the @account. I have spent way too long trying to figure this
out.
Thanks for any help.
---
NoMethodError in 'StaffMembersController GET index should allow
anonymous users'
You have a nil object when you didn't e