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.
Threading in Ruby: How and What to Watch For
A quick four-minute screencast about threads in Ruby. The code, the reasons to use threading, limitations, the gotchas.
Array#map and Multiple Assignments - Codemy
We show you how to use the Array#map and Multiple Assignments to help clean up some code ~ 6 Minute Video
Ruby programmer - why Y U no code quality?
Few words about documentation, code quality and costs that you can have, when you don’t care about stuff like this. More in my article: Ruby programmers/project managers/CEOs Y U NO enforce code quality?
MongoDB Rescue Operation for Rails Composer
Some developers have said they really want to restore the MongoDB/Mongoid option to Rails Composer. If that’s you, consider joining a MongoDB Rescue Operation for Rails Composer.
Create a gem - a step by step tutorial for beginners
As the intro states “Every RoR developer will have to modify a gem at least once in his or her career, but not everybody has actually created a gem.” This handy tutorial wants to change it Creating a GEM - a step by step tutorial.
Formnestic - An extension of Formtastic form builder to help building nested and association
I have released formnestic open-source gem (Formtastic extension) for Rails that is going to help a lot on building nested model form with table form style, adding/removing ability, etc.. Check it out! You can also grab the source code on Github if you wish to.
Variants with Ruby on Rails
We explain a new feature in Rails 4.1: Action Pack variants.
Bundler 1.6.3 now available - faster gem resolution
We have updated all environments to Bundler 1.6.3. [more inside]
Dress Up Your Minitest Output
Hacking Minitest output for fun and profit: http://chriskottom.com/blog/2014/06/dress-up-your-minitest-output/
Setting up Ruby in OSX Yosemite - Codemy
We show you how to setup ruby for development on OSX in a ~ 5 minute video.
i18n-tasks v0.4.5
i18n-tasks v0.4.5 has just been released. The gem helps you find and manage missing and unused translations. It has gone a long way since the first release in Oct 2013, and supports a number of features that can save you lots of time: [more inside]
Scriptable Laptop Setup for an Awesome Development Environment
Don’t manually setup your new laptop with a series of copy-and-pasted steps from some blog post. Leverage automation and the open source community to save time and get a more stable result.
RailsApps Tutorial on Authorization With Pundit
I’ve just released a tutorial on Rails authorization with Pundit. I appreciate the support I’m getting from subscribers to the RailsApps project that makes it possible to write these tutorials.
Persisting Rails models in Elasticsearch
A new version of the elasticsearch-persistence Rubygem has been released, with support for using Elasticsearch as a persistence layer for Ruby/Rails models. See all the info at Github, and use the Rails template to generate a full example application.
POODL – Practical Object Oriented Design in London with Sandi Metz and Matt Wynne
In case you weren’t aware, we at Kickstart Academy have got Sandi Metz coming to London to teach her Practical Object-Oriented Design classes. [more inside]
Ruby setter method gotchas...or what?
I’ve just written a blog post about some odd things I found out while playing with irb about custom setter methods.
last eurucamp regular ticket sale, speakers announced
The last of our two regular ticket sales takes place tomorrow, Wednesday 18 May at 10am CEST. Tickets are available at tickets.eurucamp.org and, once again, expected to sell extremely fast! What’s more, our full speaker line-up has now been announced!
Foolproof I18n Setup in Rails
Let’s make I18n on Rails better, quickly and easily. These tips have helped us and caught some easy-to-fix but hard-to-track-down mistakes.
How Rails' Type Casting Works
Have you ever noticed that when you assign a property to an Active Record model and read it back, the value isn’t always the same? [more inside]
Fast, consistent setup for your Ruby and Rails tools
After you build a few Rails apps, you’ll begin to have some preferred ways of working with them. Maybe you always want to use awesome_print in your Rails consoles. Or you might want rails new to create projects that use rspec instead of minitest. Sure, it’s only a little annoying to have to specify these preferences each time you run a command. But they’re easy to forget. With a few small tweaks, you can have these commands remember your preferences, so you won’t have to.
Tracking Deployments with Rollbar – Free Snippet
Grab this free re-usable snippet to integrate Deployment Tracking with Rollbar into your Deployment Process. [more inside]
Automatic Eager Loading in Rails
Tired of specifying eager loads in your Rails application? We wrote a post exploring how Rails could handle eager loads automatically and we released a corresponding gem to demonstrate these ideas.
Automatically search Google for exceptions raised in your Rails applications
I just released a new gem called stack_rescue that automatically searches Google for exceptions raised in your Rails applications. Check it out on Github.
Monkeying With Methods
Want to do some more metaprogramming? Heck yes you do! [more inside]
Ruby on Rails backend for a World Press Photo site - behind the scenes.
Last Sunday the Stories of Change - a showcase presenting 29 unique stories of daily life in North Africa that changed after the “Arab Spring” events - has been launched. We’re super happy to be part of this project lead by World Press Photo. As a team responsible for the entire back-end site (Ruby on Rails of course!) - we’d love to share with you our story - Behind The Scenes: Announcing Stories of Change for World Press Photo.