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.
Search through bundled gems
Find something inside your bundled gems with ag whatyouwant `bundle show --paths` [more inside]
Sinatra 1.2.9, 1.3.6 and 1.4.0 released
Earlier today I released Sinatra 1.2.9, 1.3.6 and 1.4.0. [more inside]
The easy way to add Active Model Serializers to your Tire results
We’ve just released simple but handy gem to integrate Active Model Serializers with Tire — tire-am_serializers. So there are no excuses now why not to clean up your JSON data representation.
Interview with Noah Gibbs: "Building Ruby Castles In The Clouds"
Noah Gibbs graciously is offering his book “Rebuilding Rails” at over 50% off for charity at GiveGetWin, and we did this really cool interview to mark it: “Building Ruby Castles In The Clouds.” Noah talks about his approach to focus, deep knowledge, studying others’ code to have a faster ‘failure rate’ (and the lessons from that), etc.
Rubyist Magazine: Ruby 2.0.0 Special Articles
English version of Ruby 2.0.0 special articles of Rubyist Magazine have been published. The articles are written by Ruby core teams such as and introduce new features. It’s definitely worth reading. Plus, there is a from Matz the Ruby-no-Papa.
Rapidash - a ruby gem to rapidly build your API client
I have created Rapidash a ruby gem to help you make an API client for your RESTful API in a few lines of code. [more inside]
Rails gem for quizzes and questionnaires
Hi, we just released Survey, a Rails gem to make it easy to create surveys and questionnaires. We also wrote a blog post about it.
The Inadequate Guide to Rails Security
We just released the Inadequate Guide to Rails Security to give new developers a broader overview of web security.
Dynamic Error Pages In Rails
We’ve just published a new blog post about how to customise the default error templates in Rails. Click here to read it.
Slow-Fast Request Balancer
Learn hoe to deal with slow requests using HaProxy balancer: http://railsware.com/blog/2013/02/04/slow-fast-request-balancer/
Hound 0.2.0 now with extra awesome!
Last week I released Hound. A Rails gem for tracking actions made on your models. Hound now injects itself into your existing User model to provide extra mechanisms for listing a users activity. It also now tracks the changes made during these actions, providing more feedback for your activity lists. Let me know what you think! https://github.com/injekt/hound
OOP DSL for Capybara
We use OOP to make our code be better, why we don’t care too much about our tests? Nat Ritmeyer created a cool library which provides OOP DSL for Capybara. Its name is SitePrism. I have been using this library for 5 months. As a result, my tests look much much more clear and I feel like I have started writing less code for my acceptance tests, because I can inherit sections, pages and so on. I strongly recommend you to take a look at this library.
Twitter Bootstrap? Seriously?
I just wrote this blog post Why we don’t use Twitter Bootstrap and I wouldn’t encourage any pro to use it either.
Rails contractor looking for work? There's a Twitter account for that
Are you a Rails contractor or freelancer, and using Twitter to find new projects? Tweeting “I’m available for projects” and hoping your tweet will find its way to the right eyeballs? [more inside]
Heroku Engineer Engaged to Ruby
If you love Ruby so much why don’t you marry her? So on December 25th, he got down on one knee continue reading…
DCI: The King of the Single Responsibility Principle
I’ve just published another article on SOLID DCI. This one’s on SRP, but we need to redefine responsibility. Feedback welcome!
Tuning Phusion Passenger's concurrency settings
This article teaches how to tune Phusion Passenger’s MaxPoolSize and concurrency settings.
Preparing Machines for Workshops with Vagrant, VirtualBox, & Puppet
If you’re giving a workshop, I recommend checking out Vagrant, VirtualBox, and puppet or chef to create the workshop development environment.
Rails Translation Center Engine, translations the easy way
We at BadrIT have launched a Rails 3 Engine that developers can use to manage translations for their apps, you will not have to use the yaml files again, you can also use it as a community where users of your system can add and vote translations. [more inside]
WebSockets with Rails 4 and Ruby 2
I just wrote up a blog on how to use the excellent websocket-rails gem to build a simple Ruby 2 + Rails 4 realtime chat app and deploy it to Pogoapp. Here’s a live demo.
A Simplified Query Interface for Relationships in Active Record 4
I wrote about a little known change to Active Record queries in the forthcoming Rails 4 release that I thought people would be interested in.
Sign your gems with PGP
Remember the recent Rubygems.org vulnerability? We don’t want all that to happen again do we? But the responsibility lies partly with us, the gem developers. [more inside]