Sign in through GitHub

Janusz Pietrzyk's Profile

GitHub User: Metallord

Comments by Janusz Pietrzyk

Avatar

This is great. What I've always loved about the whole ruby community is quick adaptation to new trends and technologies. Why shouldn't we embrace things from outside the ruby world if they follow the same ideals as we do?

As you said - meteor is in many ways similar to rails. Thank you for this episode. It's a good thing to make something different from time to time.

Avatar

This rocks so much. Thank you Ryan for another great screencast! :)

Avatar

Setting :public => !user_signed_in? won't work, because when the first user comes, she won't be signed in and so the cache will be set, and when it gets set it won't hit the app to check it again.

I imagine you would have to override some behaviour in the rack::cache itself or put another middleware before it. But I don't think it would be worth it.

You should try the solution form epsiode #169 mentioned above. If you really want to get dirty with middlewares you can try to mix it with episode #205 on authentication with Warden, but as I said I doubt it's worth the effort. You'll just get into a mess that way.

Avatar

I had the same issue. Facebook just doesn't seem to work with localhost unlike Twitter. But I did test it against a public ip that I own and it works as expected. If you don't have a pulbic ip you can try going with some kind of dynamic dns solution.

You can also try looking up this Stackoverflow topic, but your settings seem correct. Maybe lvh.me will work though.

Avatar

Revised Railscasts are one of the best things ever. A nice idea taken from the Mythbusters ;]

Thanks for another great episode!

EDIT: It should also be under the Rails 3.1 tag since you were using coffeescript.

Avatar

Thank you very much for another great screencast! I agree that doing complex testing in each episode would be an overkill, but an episode dedicated to testing only from time to time is a really great idea and will encourage not-so-experienced developers like myself that testing really is the way to go.

Also you could at some point return to the idea of walkthrough screencasts like the ones you did around the release of 3.0. I personally also considered them a great help and they made me a better coder.

Thank you very much again and keep up the amazing work!

Avatar

@Alexander I'm having the same problem with virtually every rails app. For me it seems to be an issue with my system. Putting gem 'racc' in the Gemfile makes it work for me.