When expires_in gets complicated you can simply use :expires_in => lambda{ Time.now.to_i % 100 } Code class ActionController::Base def write_fragment_with_lambda_expire(key, content, options = nil)… more →
My Pragmatig life -- Michael Grossersosiouxme wrote 58 minutes ago: My G1 phone utterly locked up. I think it was in a deadlock or spin loop of some sort; it didn … more →
Guilherme Cirne wrote 1 hour ago: Na semana passada tivemos uma discussão bem interessante na Globo.com sobre Lei de Demeter e ruby. B … more →
diatomite wrote 3 hours ago: Assuming legal access to the property has already been arranged, and company executives intend for u … more →
appellationmountain wrote 7 hours ago: Is she hopelessly musty or an undiscovered gem? Thanks to Sara for suggesting Enid as Name of the Da … more →
currentricity wrote 10 hours ago: If you are on emacs then you need to read this and you really need to do your pinkie a favor and swa … more →
belleringer wrote 1 day ago: According To You – Orianthi last night was quite incredible and enjoyable. only 3 weeks with t … more →
idashshoptheworlddotcom wrote 1 day ago: December Birthstones = Turquoise, Blue Topaz, Tanzanite, Zircon, Ruby, Lapis Lazuli. … more →
Owen Dall wrote 1 day ago: This is the first pass at including a significant index of terms in the book… MS Word Version: … more →
Петко wrote 1 day ago: str = “puts \”a\”" 0.upto(25) { eval(str) str.next! } … more →
geoffreyducharme wrote 2 days ago: This is probably the strangest error I’ve yet met in Rails. I was trying out functional testin … more →
belleringer wrote 2 days ago: Something To Talk About – Bonnie Raitt RUBY HOLIDAY PARTY is tonight at 7 at the Governor Hote … more →
shaunta wrote 2 days ago: Ooh! I’m so excited! I may be the only person in the world that gets happy over defective pres … more →
tszao wrote 2 days ago: Well it has been a long time since I have posted something here. I have been coding hard on a new Ru … more →
joanasjewelry wrote 2 days ago: Watercolor and Gouache Cabochon Ruby, Diamond and Carved Jade "Holly" Earring Rendering by … more →
Shinobu wrote 2 days ago: I’ve been using Linux for a while now (almost 2 years?), and have learned quite a bit about it … more →
draegtun wrote 2 days ago: Here is a simple world count in Ruby from recent post at Refactormycode.com: s = "The green hat … more →
Christoph Heindl wrote 2 days ago: Today I moved my Generic Dependency Parser (rcdp) utility to google code hosting. The parser is gene … more →
jbellmyer wrote 3 days ago: If you’ve ever worked on a tough piece of code, you know that there is some trial and error in … more →
pragmatig wrote 3 days ago: Just found out that 37 is an illegal solr character… x.gsub(“37″,”) solves t … more →