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.
Vagrant MultiVM for Ruby Development
Customizable Vagrant MultiVM for apps development using ansible for provisioning. https://github.com/pablocrivella/apps-forge
Full schedule of Tropical Ruby 2015
Tropical Ruby, the beach Ruby conference, just launched a brand new website with its full schedule: it will have 20 sessions, 3 hands-on workshops and 4 activities in the gorgeous Porto de Galinhas beach. Check it out: tropicalrb.com.
Of Apples and... "Apples"?
A little rant on object equality, symmetry, carelessness and the poor little Module#== method in Ruby.
A simple Priority Queue in Redis
Learn to build a priority queue in redis with Reverb.com engineer Kyle Crum
Gem SHUT THE F**K UP to Disable Post-Install Messages
A lot of people (and this certainly doesn’t include me) appear to be sick of httparty’s post-install message of When you HTTParty, you must party hard! so Tim Pope has created Gem SHUT THE F**K UP, a gem you install so that any further gems you install thereafter won’t show any post install messages.
Confreaks Kodi (XBMC) Plugin
Confreaks is a great resource for watching Ruby presentations from conferences around the world; Kodi (was XBMC) is a powerful media player which you can use to enjoy them from the comfort of you sofa, using xbmc-confreaks.
Authentication with Ruby on Rails 4.2 screencast
A screencast (14:33 min) that shows how to create a simple authentication with a vanilla Ruby on Rails 4.2 application. Includes source code and a transcript.
Discovering UJS with AJAX
After following a tutorial online about UJS and AJAX I put what I had learned to use. And by swapping out partials I shaved off 90% of its load time by externalizing those partials into UJS/AJAX calls.
jekyll-minimal-theme - Another Minimal Ready-to-Fork Static Site Generator Theme
I’ve put together jekyll-minimal-theme - yet another minimal(istic) Jekyll static site generator theme, that is, a ready-to-fork template pack. See the source repo or the live demo. Cheers.
When your Rails app slows to a crawl
Things to investigate when you receive that dreaded phone call that your client emailed 1 million people and the website is no longer responding…
SOA to the rescue!
What is wrong with monolithic applications and how can we use service to deal with complexity?
I Love Ruby Download Soars
Partly thanks to RubyFlow, downloads of my free Ruby e-book I Love Ruby have soared. Thanks!
Require only what you require
I often see require being used incorrect in Ruby. It is an important part of code design, and knowing what to require and where makes your code easier to reason about.
Loaf v0.5.0 released
New loaf adds generator for locales, breadcrumb title translation and ability to pass in proc for title and/or url inside controller breadcrumb helper. Give it a try!
Top 20 Things a Programmer Should Know
I applied the 80-20 rule and reduced the 97 Things a Programmer Should Know book to just the top 20 things a programmer should know.
10 easy-to-fix Ruby / Ruby on Rails mistakes
Programmers make mistakes. Some of them are just annoying (for others to read) and some are really dangerous. Here is my selection of 10 mistakes done by Ruby / Ruby on Rails developers
ActiveRecord and FriendlyId: slug not generated when field set with before_validation
A post describing why friendly_id fails to use slug base field when it is set via before_validation callback. In a post there’s also a solution, that will make this issue go away. Read here
Fitting in with the New Cool Kids at Stack
Insider view of life as a developer at Stack Exchange (creators of Stack Overflow), from the perspective of a new Ruby on Rails web developer and ex-finance-consultant. Fitting in with the New Cool Kids
New Ruby and Ruby on Rails blog: developingandrails.com
I’ve spun off my Ruby related posts from developingandstuff.com to a new Ruby and Rails focused blog, developingandrails.com. Next post coming on Monday, about fixtures in a production app. See you soon!
Is TDD Dead? : Concise version
Concise version of the transcript of the video : Is TDD Dead?
Dos-T – an opinionated helper for I18n
After working on a big multi-language rails app there were things which I believe will be useful for others. Look at Dos-T gem
Dynamic Dockerfile.erb with dockerb
dockerb allows to use ruby or prebuilt helpers like <%= install_gem ‘nokogiri’ %> or <%= bundle %>
A Simple But Effective Way to Contribute to Open Source Projects
Sometimes we find it hard, especially if you are a newbie, to know in what ways one can contribute to open source projects. This is one example of how a simple gesture turned out to be a needed contribution to a Ruby gem
Ruby based pre-commit/commit-msg hook management tool
I built this a while ago but, it’s been languishing with me as it’s only user and is in dire need of more eyes to make it truly awesome: https://github.com/rabbitt/githooks. Constructive feedback welcome. Note: I know the docs need work - if you want to test it and need help, feel free to reach out to me.