RailsCasts Pro episodes are now free!

Learn more or hide this

Nicholas Mertaugh's Profile

GitHub User: nmertaugh

Comments by Nicholas Mertaugh

Avatar

Great stuff as usual Ryan. I'd be very interested in how to handle suspending a recurring payment for X number of months. Use case for that: SaaS company has coupon codes for free months, user already has a subscription with recurring payment but uses a free month coupon, need to skip this month's recurring payment but start again next month.

Many thanks and keep up the capital work.

Avatar

Does anyone know how Ryan gets SQL highlighting in the rails console? I have Wirble, but I only have that colorizing returned values (so if I do some_method.to_sql, I see the highlighting, but not when I do something like Model.find_all and Rails 3.1 shows the actual SQL right there in the console).

Anyone know the .irbrc trick here? Muchas gracias!