Skip to content

Instantly share code, notes, and snippets.

@bdotdub
Created June 27, 2013 15:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bdotdub/5877359 to your computer and use it in GitHub Desktop.
Save bdotdub/5877359 to your computer and use it in GitHub Desktop.
3.2 Rails.cache weirdness
Loading development environment (Rails 3.2.13)
1.9.3p286 :001 > Rails.cache.fetch("test") { "benny" }
=> "benny"
1.9.3p286 :002 > Rails.cache.fetch("test") { "benny" }
=> "\x04\bI\"\nbenny\x06:\x06ET"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment