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
Note: Only the first pargraph is shown on the front page and overly long paragraphs may be broken up.
We know and love
ActiveRecord’s callbacks. But do we really know all about them? This blog post uncovers Rails’ best-kept secret: association callbacks, aka your new best friend for all those
We just published charts and insights into which Ruby versions are used in the industry today, sourced from Semaphore CI.
validates_type is a gem for validating that a specific value is exactly the type it is expected to be. In a recent update, the
validates_type gem has been extended to validate against any defined type in a system. With this update, the uses of this gem greatly increased. They increased so much that it is possible more than 2 people will use it, and that would be pretty awesome.
In this post we’ll use a little-known command line flag to spy on Ruby as it parses our code. - http://blog.honeybadger.io/watch-ruby-as-it-parses-your-code/
I wrote an AI for the board game Go called rubykon, I ran my benchmarks with major ruby implementations to see who’s the fastest and wrote it up in a post. If you are interested about Go AIs in general and why they still can’t beat humans have a look at my talk “Beating Go Thanks to the Power of Randomness” from Rubyconf 2015
Split your app based on business logic bricks and assemble them http://slides.com/apneadiving/code-ruby-like-you-build-legos
A tutorial outlining how to integrate Rails with SPF.js, A lightweight JS framework for fast navigation and page updates from YouTube. [more inside]