The Ruby and Rails community linklog
Made a library? Written a blog post? Found a useful tutorial? Share it with the Ruby community here or just enjoy what everyone else has found!
Submit a post
Post Preview
Note: Only the first pargraph is shown on the front page and overly long paragraphs may be broken up.
A Memcached Trick and an Old Watchdog
A blog post about a patch on the Dalli Memcached adapter for Rails that is really a discussion about a gem called Watchdog that makes monkeypatching less dangerous.
Pastel v0.1.0 gem release
I’ve released pastel to allow for non intrusive styling of terminal output. Please give it a go and provide feedback!
Memoization in Ruby, Python and Javascript
A little brief about memoization in Ruby, Javascript and Python. Check it out here!.
queue_classic 3.0.2 released and plans on 3.1
I just released queue_classic 3.0.2. I you are using it. Please see the upgrade instructions in the README. [more inside]
How does Rails (Rack) parse complicated form name with arrays and hashes
I found this great blog by Noah Gibbs, to something I’ve been wording about for a while. Quite often some of my forms get really into the nesting by name=”name[1][key1][key2][]”, this blog post provides information on how to test it out with IRB so I know exactly what I’m generating. [more inside]
kibana-rack 0.2.0 released
I just released version 0.2.0 of kibana-rack, a Rack middleware library that embeds Kibana in a Rack application and creates a proxy to Elasticsearch. [more inside]
The epic journey from nil to guru. Intro to Ruby on Rails.
Slides & list of resources for Ruby/Rails for beginners (originally made for a lecture for students of Gdańsk University of Technology but well, why not to share it further).
Rebuild a Gem: Rack
A post on building out a micro version of Rack. Check it out.
Introducing the CookiesHQ Rails application template
We’ve just released a Rails template to make creating new projects easier for us and for anyone who wants to use it. Check it out!
Tidy up your Ability classes with ClassyCancan
I just published ClassyCancan. It’s a tiny little gem that helps to create some cleaner ability definitions for Cancan and Cancancan.
Tail Call Optimisation in Ruby (MRI)
We’ve recently discovered that MRI implements Tail Call Optimisation (TCO). Check out our blog post for a short summary of what we found about the TCO in MRI.
MiniMagick 4.0.0.rc released
After couple of last months of slower development, I decided to take the job of solving all the open issues. While doing that I also rewrote the internals, bringing up some new features, reduced memory usage, robust command-line execution and many bug fixes. You can see the complete changelog here. [more inside]
Inch 0.5.2 released, includes Elixir support
I just released Inch 0.5.2 and wrote a blog post about it. [more inside]
Wisper adds support for asynchronous event handling
Wisper is a micro library providing Ruby objects with Publish-Subscribe capabilities for use in Hexagonal and Domain Driven style architectures. [more inside]
Exploring Minitest Concurrency
Practical advice for Minitest’s parallelization including how it works, when and how to use it, and when you might want to think twice about it. http://chriskottom.com/blog/2014/10/exploring-minitest-concurrency/
Analyze ruby stack with Kernel#caller
I just wrote a blog post on how Kernel#caller works with a simple rails example that inspect the request cycle and shows rails source code.
TDD Articles
Check out the TDD Articles at rubyplus.com/articles. Your feedback is very much appreciated.
CMS Trap: avoiding speculative architecture
Last year I wrote a post about CMS Trap, a trap you fall into when you try to speculate your app’s architecture prematurely. It had great success on HN, but didn’t reach enough rubyists, and as a rubyist I mainly intended the article for us. This submission is my attempt to rectify this.
Dos and Don’ts for Winning Hackathons
After participating (and winning) several hackathons over the years, I’ve come to appreciate how nicely Rails generates prototypes that build and deploy quickly. Hackathon champions will assert that the secret sauce to winning hackathons is building an actual product that has real validation from potential users. This is a hard goal to achieve when everyone is short on sleep and time. Rails will get your app there. [more inside]
How we upgraded elasticsearch from 0.90 to 1.3 without downtime
The Reverb.com team walks through how we switched ElasticSearch versions in production without downtime
Pronto 0.3: pull request comments and even better performance
Pronto performs quick automated code reviews with the help of various analysis tools (RuboCop, Brakeman, Flay, etc.) by checking only the introduced changes. And since 0.3, it’s even faster and able to comment on pull requests. Check it out: Pronto.
2014 Rails Rumble Registration is Now Open!
Registration has opened for the 2014 Rails Rumble! Reserve a spot for your team today - don’t miss out! We’re expecting to see an amazing bunch of apps now that everyone will be deploying to Heroku.
Three great ways to learn Ruby faster
There are lots of good places to learn Ruby. But learning isn’t just reading books or watching videos. It’s running head-first into a problem, getting stuck, struggling, getting frustrated, looking things up, having it click, playing around with it, and finally (finally!) getting something working. You have to use the things you learn, or they won’t stick with you. And there are a few great ways I’ve found to do just that.