Looping with Fibers
I needed to loop over a fairly large data set and group it by year and month. In this post I walk through using two Ruby Fibers which communicate between each other in order to do in-loop grouping
Hi, I’m Andrew, a programmer and entrepreneur from South Africa,
building
Mailcast
for taking control of your email.
Thanks for visiting and reading.
I needed to loop over a fairly large data set and group it by year and month. In this post I walk through using two Ruby Fibers which communicate between each other in order to do in-loop grouping
An example of how to use the MailChimp API and their official mailchimp-api gem to add a subscriber to a mailing list.
Just some thoughts on how CanCan didn't work as I expected. Whether design or bug, it's worth checking out how modules are handled.
Protect access to your files in Rails but still have Nginx serve the file efficiently