RailsCasts Pro episodes are now free!

Learn more or hide this

Nicolas Hock Isaza's Profile

GitHub User: nhocki

Site: http://blog.nhocki.com/

Comments by Nicolas Hock Isaza

Avatar

You could use their free Redis To Go Addon.

Avatar

Take a look at this article. It's really easy. You'll need a reverse proxy and that's pretty much it

http://blog.phusion.nl/2010/09/21/phusion-passenger-running-multiple-ruby-versions/

Avatar

Can you post your PasswordResetsController? It seems that it has no "index" action.

Maybe you misspelled it, happens to me all the time :-S

Avatar

What's your problem? I'm using Rails 3.1 rc5 and it works perfectly.

What error do you get?

Avatar

I'm getting

undefined method 'session' for ApplicationController:Class

EDIT: I managed to get this working by stubbing the current_user method

ApplicationController.stub(:current_user).and_return(user)

Avatar

Hi Ryan,

I have a small question about this testing approach. Since I'm not testing a "controller", I don't have the session/params/cookies variables to work with.

My authentication depends on storing session[:user_id] but I can't set it from the integration test since I get that session is not defined.

How can I get around that?

Thanks!

Avatar

This could be really great when using it with Tolk (https://github.com/dhh/tolk).

Thanks a lot!

Avatar

I still miss Searchlogic's field_like_any it was kind of useful for some autocomplete stuff =/