Skip to content

Instantly share code, notes, and snippets.

@ordinaryzelig
Created April 1, 2010 17:30
Show Gist options
  • Save ordinaryzelig/352105 to your computer and use it in GitHub Desktop.
Save ordinaryzelig/352105 to your computer and use it in GitHub Desktop.
# application_controller.rb
before_filter :april_fool
def april_fool
unless logged_in? && session[:april_fooled]
session[:april_fooled] = true
flash.now[:april_fool] = 'error 10.4.1: you may have corrupted data. contact administrator immediately.'
# get it? 2010.4.1!
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment