05 Jan '13, 1pm

So, this: why can :secret be a proc, and what is User.current_user

This cookie-based session store is the Rails default. Sessions typically contain at most a user_id and flash message; both fit within the 4K cookie size limit. Cookie-based sessions are dramatically faster than the alternatives. If you have more than 4K of session data or don’t want your data to be visible to the user, pick another session store. CookieOverflow is raised if you attempt to store more than 4K of data. A message digest is included with the cookie to ensure data integrity: a user cannot alter his user_id without knowing the secret key included in the hash. New apps are generated with a pregenerated secret in config/environment.rb. Set your own for old apps you’re upgrading. Session options: :secret : An application-wide key string or block returning a string called per generated digest. The block is called with the CGI::Session instance as an argument. It's im...

Full article: http://api.rubyonrails.org/classes/ActionDispatch/Session...

Tweets

Intel Simmers Social's Secret Sauce - EE Times

Intel Simmers Social's Secret Sauce - EE Times

eetimes.com 04 Jan '13, 11pm

Is social media a bunch of BS? (There's a new book which argues yes.) Even if we stipulate that it's not, there's an unspo...

Securing the Rails session secret: In light of ...

rubyflow.com 04 Jan '13, 12pm

Securing the Rails session secret Posted by FooBarWidget on January 04, 2013 — 0 comments In light of yesterday's Rails SQ...

Judge: U.S. can keep drone attack docs secret

navytimes.com 02 Jan '13, 10pm

http://www.navytimes.com/news/2013/01/ap-judge-says-government-keep-drone-attack-documents-secret-010213/ Judge: U.S. can ...

Judge: U.S. can keep drone attack docs secret

militarytimes.com 02 Jan '13, 10pm

http://www.militarytimes.com/news/2013/01/ap-judge-says-government-keep-drone-attack-documents-secret-010213/ Judge: U.S. ...

Want to be a Top Secret golf ball tester for Srixon? Yes? Thanks to @yourgolftravel you now have the chance

Want to be a Top Secret golf ball tester for Sr...

yourgolftravel.com 02 Jan '13, 12pm

Test Top Secret Srixon Golf Balls Here at Your Golf Travel, we’ve managed to get our hands on some TOP SECRET Srixon proto...

New Arrival! Victoria Secret Limited Edition Ba...

blogshop.justspree.com 05 Jan '13, 5am

The following is an excerpt from "New Arrival! Victoria Secret Limited Edition Bags". Note: Items are offered by individua...

If these kids can understand why mountaintop removal mining is stupid, the government can too

If these kids can understand why mountaintop re...

grist.org 04 Jan '13, 3pm

Here are a couple of downer facts about mountaintop-removal mining: 500 of the oldest mountains in America have been destr...

Dog Can Dance Salsa via @youtube

youtube.com 05 Jan '13, 10pm

Close Your browser is not supported by YouTube and it needs to be updated. Learn more . Dog Can Dance Salsa Tablooie77 Sub...

smashin' pOpstar: #ChaGang Secret Santa Dinner: Hey hey.. last night we had our secret santa dinner at WonderMam...

smashin' pOpstar: #ChaGang Secret Santa Dinner:...

smashpop.net 27 Dec '12, 9am

Hey hey.. last night we had our secret santa dinner at WonderMama and everyone got gifts we didnt know from who. LOL It wa...

#Friendster is apparently back, and it helps you discover your secret admirers, too.

#Friendster is apparently back, and it helps yo...

e27.sg 27 Dec '12, 7am

Friendster is back with a vengeance. After its relaunch in May 2012, the social network has re-imagined itself into a soci...

2013 Honda Civic: ‘Things Can Always Be Better’

paultan.org 04 Jan '13, 3am

Another advertising campaign for the 2013 Honda Civic in the US, making it a hattrick in the span of 20 months since the c...

10 Tech Resolutions You Can Make for 2013

10 Tech Resolutions You Can Make for 2013

treehugger.com 03 Jan '13, 4pm

Mashable just posted about 8 Tech Resolutions staff members are attempting for the new year. The list includes things like...

#YoutubeSaturday » Behind-The-Scenes Of Victori...

smashpop.net 29 Dec '12, 4am

#YoutubeSaturday » Behind-The-Scenes Of Victoria’s Secret Fashion Show w Super Mario Watch how we filmed Puma Malaysia’s l...

Can the private sector benefit from 'impact investing'?: Impact investing has come a long way. But is it ready f...

Can the private sector benefit from 'impact inv...

greenbiz.com 03 Jan '13, 2pm

Impact investing has come a long way since John Elkington coined the phrase “Triple Bottom Line” in his 1997 book Cannibal...

OK here is a steampunk Cat Transit System in a Mad Scientist's secret lab.

OK here is a steampunk Cat Transit System in a ...

treehugger.com 27 Dec '12, 3pm

Jillian Northrup and Jeffrey McGrew were pioneers in the field of "robot-empowered fabrication" at their design-build firm...