24 Nov '12, 2am

“#236 OmniAuth Part 2 - RailsCasts”

Unfortunately there is no easy solution to this problem. What we’ll do is keep the validation and redirect the user to a form where they can fix any problems if the validation fails when we try to save the new user. We’ll change the code in create so that if the validation fails when we try to save a new user they’ll be redirected the new user registration page. We don’t want to lose the user’s OmniAuth information when this happens and so we’ll store it in the session. The OmniAuth hash can sometimes contain too much data to fit in the cookie session store so we’ll remove the extra key. This key stores a lot of information that we don’t need to get the user registered so it is safe to remove it.

Full article: http://railscasts.com/episodes/236-omniauth-part-2?view=a...

Tweets

Flip up space saving tables? - Page 2

forums.condosingapore.com 27 Nov '12, 3am

Ikea's mechanism is too cheapo. Any IDs can do it that way. I also asked my ID to design flip up table in my bedroom. He r...

LEGENDARY BLACK FRIDAY SALE (Part 2) via @BurnRubber

LEGENDARY BLACK FRIDAY SALE (Part 2) via @BurnR...

burnrubberdetroit.com 22 Nov '12, 10pm

at 10:00am and receive 40% off of everything until 10:23am. After 10:23am: buy 2 t-shirts get 2 t-shirts free, spend $300 ...

Omfggggg Twilight, Breaking Dawn - Part 2 is PG13,

gv.com.sg 21 Nov '12, 3am

The astonishing conclusion to the series, THE TWILIGHT SAGA: BREAKING DAWN, PART 2, illuminates the secrets and mysteries ...

Ear Pro Part 2 of 4: Howard Leight Impact Sport: In part two, we’ll be chatting about the Howard Leight Impact S...

Ear Pro Part 2 of 4: Howard Leight Impact Sport...

thefirearmblog.com 22 Nov '12, 3am

Ear Pro Part 2 of 4: Howard Leight Impact Sport In part two, we’ll be chatting about the Howard Leight Impact Sport electr...

Last night's premiere screening of Twilight: Breaking Dawn Part 2 was.. uhhh. You'll see *wink* BLOG UPDATED!

Last night's premiere screening of Twilight: Br...

thejessicat.com 22 Nov '12, 1pm

Heads being ripped off & vampire sex scenes in slow-motion? Twilight : Breaking Dawn Part 2 So the Twilight saga has final...

@hdbresale 2-story landed house for rent !: * !...

sg-house.com 24 Nov '12, 6am

2-story landed house for rent ! within the HDB For Sale forums, part of the Free Property Classified Ads: buy, sell & rent...

Emerging Solar Strategies, Part 4: SunEdison an...

greentechmedia.com 24 Nov '12, 3pm

SunEdison wrote the first U.S. power purchase agreement (PPA) in solar in 2004. It built the first U.S. and Canadian utili...

New video...Choosing a roaster: Part 2

sweetmarias.com 21 Nov '12, 9pm

Erica shows you what the differences are between some of the roasters we carry. If you are looking at roasters starting at...

Geothermal Innovations, Part 2: Stimulating Reservoirs in the Field and Partnerships in the Industry

Geothermal Innovations, Part 2: Stimulating Res...

renewableenergyworld.com 21 Nov '12, 2pm

“Federal and state incentives help attract investors to geothermal projects, and are essential to overcoming the obstacles...

Good comment on my blog post coffee is cheap pa...

timwendelboe.no 21 Nov '12, 8am

I think this is a VERY important point. The risk and stress a farmer takes on every year by putting his or her livelihood ...