Skip to content

richo/ruby_logo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Sick of not having massive glaring easter eggs that you can't do a thing about like in PHP? Be sick no more! The cure is here.

What is?

PHP applications respond to a magic query string: ?=PHPE9568F34-D428-11d2-A769-00AA001ACF42

(Yup, all of them: Lookie)

I thought ruby ones probably should too.

This is badass. I need it in my production stack!

Too right you do! You'll want it near the start, so you can serve up these logos blazing fast without the overhead of rails:

# Gemfile

gem "ruby_logo"
# config/application.rb

config.middleware.insert_before ActionDispatch::Static, RubyLogo

It's worth noting that when the Rails team say 3.2.3 Middleware stack is an array what they mean is that it is kinda like an array. Ish. In a very vague sense; so you'll need to jam it in behind something.

EDIT This is fixed in edge rails, the fix will go out in the next major release of Rails.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages