RubyFlow The Ruby and Rails community linklog

Url Shortener With Rails 3, Cucumber and Rspec

Demo app that uses Rails 3, MongoDB, Cucumber and Rspec for an url shortening service.

Comments

Is there a reason you’re not using rails SecureRandom.hex() method to generate the random string?

See http://api.rubyonrails.org/classes/ActiveSupport/SecureRandom.html

To be honest I didn’t know about it, but I’ll use that. Thanks

Technically it is not a quine since the globe spins but way effin cool!

Post a comment

You can use basic HTML markup (e.g. <a>) or Markdown.

As you are not logged in, you will be
directed via GitHub to signup or sign in