Coming soon - Get a detailed view of why an account is flagged as spam!
view details

This post has been de-listed

It is no longer included in search results and normal feeds (front page, hot posts, subreddit posts, etc). It remains visible only via the author's post history.

1
rspec send normal xhr request
Post Body

I get the error @controller is nil when doing an xhr request.

It is expected me to do an xhr on a controller, but I just want to an xhr to a normal url

RuntimeError: @controller is nil: make sure you set it in your test's setup method.
xhr :post, "someotherwebsitewebsite.com/foo/bar", {...}

but it seems to be looking for an action on the '@controller' instead

Author
Account Strength
90%
Account Age
13 years
Verified Email
Yes
Verified Flair
No
Total Karma
4,141
Link Karma
110
Comment Karma
4,031
Profile updated: 4 days ago
Posts updated: 9 months ago

Subreddit

Post Details

We try to extract some basic information from the post title. This is not always successful or accurate, please use your best judgement and compare these values to the post title and body for confirmation.
Posted
8 years ago