RubyFlow : The Ruby Community Blog

Home   Submit   Sign Up   Log In   leaders   Twitter   RSS Feed  
 

dpmccabe — 3 posts

http://dmcca.be

Flexkey is a Ruby gem for generating unique, random strings for use as product keys, redemption codes, invoice numbers, etc. Check out Flexkey on Github or read the blog post for more info.
Let's take a break from "best practices" and look at some really bad code to see why Rails worst practices can be useful, too.
Modeling recurring subscriptions programmatically is a potentially difficult undertaking that can be made infinitely easier with Ruby, RSpec, and a little Discrete Math 101.