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.
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!
Manage business hours in ruby
I wrote a gem to manage business hours in ruby.
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.
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.
Cleaning up a Rails routes file
Here are some notes on techniques to clean up a cluttered Rails routes file.
Everyday Rails Testing with RSpec: Now with RSpec 3 and more
I’ve updated Everyday Rails Testing with RSpec to cover RSpec 3, Rails 4.1 (and newer), the latest Capybara and Factory Girl, testing APIs, and more. It’s 190-ish pages, DRM-free, and available in PDF, MOBI, and EPUB formats. Free for existing readers. Hope you’ll check it out!
The Vibe: Full-time Open Source, Microservices retro, Optimizing Redis & more.
I’ve been experimenting with deis, which has come a long way in a very short time. Trying to track the explosion of tech in what I will loosely call ‘Dockerland’ is impossible. So. Much. Stuff. Read The Vibe.
Diving in Rails : The request handling
I wrote a deep explanation about how rails handles requests, have a look !
Announcing RVM blog
Testing rubys initialize
I just blogged about my way of testing ruby initializers.
Migrating to Devise from your own authentication engine – Using custom Encryptors
If you implemented your own authentication engine, you can still move to Devise. Even when you have a custom encryptor that needs to stay. Here’s an article on how to do it