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.
Extending Capybara
CapybaraExtensions is a new gem that adds some helpful finders and matchers to Capybara. Use it to write tests that have less XPath and are more expressive: CapybaraExtensions. [more inside]
RubyConf 2013 links to follow up on
Eric from SmartLogic kept track of links to resources, events, and anything useful at RubyConf this weekend. Here they are if you want to get a taste of the event, or just check out some things worth following up on.
Ruby on Rails' Inside: Rack
In this post, I explain how rack is used in rails so you can start playing with rack to customize your project’s behavior.
"Memoirs of a Software Team Leader" eBook
I decided to write this eBook in order to preserve my experience from being a leader. Some of the topics covered include decomposing requirements into small, comprehensible tasks, visualizing task dependencies, doing code review and recruiting developers. [more inside]
Let's pick days by days_picker
Ever felt how many Sundays or maybe Fridays are there this Month. [more inside]
Dead Simple File Handling in Ruby
File manipulation could not be simpler in Ruby. I prove it on this blog post.
Accessing WordPress from Ruby
I’ve been working on a library for working with WordPress, the popular CMS, from within Ruby — including some functionality that makes working with GravityForms easier. [more inside]
Ov new gem for create multimethods in Ruby
With Ov possibly create a multimethods in Ruby. Blog post about usage.
What's New in Ruby? Or in Rails? New Link Lists (Wiki Pages on GitHub) for Finding News Sites
Hello, For the upcoming Vienna.rb talk on the new Planet Ruby site I’ve put together a wiki page about Ruby News Sites (with web feeds, of course) and another for Ruby on Rails News Sites. How do you find out what’s new in Ruby or Rails? Anything missing? Just wondering. Cheers.
A Chat With Matz at RubyConf '13
Matz was good enough to sit down with Andrew Harvey of Multifaceted and chat about Ruby, Rubyists and RubyConf. Check it out.
A Tour of Rails’ jQuery UJS
If you have a look at the default application.js file generated by Rails, you’ll see //= require jquery_ujs. You might know exactly what this require is for, but if you’re like us you know you need it but have only a vague idea of what it’s responsible for. [more inside]
Gem for running Google Translate from command line
New version of google-translate gem is available with text-to-speech integration.
Your Code is Slow - How to Find It
Get back to the basics with Ruby to discover what’s causing your code to run slowly.
Stubbing Paperclip/ImageMagick to make specs run faster, but with image resolution validation
You want to speed up rspec paperclip, but you still need image resolution validations, so Quickerclip is not an option? Take a look here: Paperclip and Rspec: Stubbing Paperclip/ImageMagick to make specs run faster, but with image resolution validation
smallest thread-pool in ruby
perhaps this one is the smallest thread-pool in ruby
Import Spreadsheet data into any ActiveRecord-like ORM
Automate importing spreadsheet data into your data models using active_importer.
Break Apart Rails Monoliths Using This 1 Weird Trick
The framework is a servant of the application, yet the app becomes constrained by it. [more inside]
Building Vagrant Machines with Packer: A step-by-step Guide
For anyone interested in Vagrant and Packer: Learn how to build Vagrant Machines with Packer to share a common development environment. [more inside]
Ruby version usage in commercial projects
I crunched some numbers on Semaphore and published a chart showing the distribution of rubies used in commercial projects.
Mongoid::Enum - a spoonful of sweetness for your mongoid documents
I just released Mongoid::Enum, a gem heavily inspired by DHH’s ActiveRecord::Enum. This little library is there to help you cut down the cruft and repetition in your Mongoid documents and includes support for multiple values, scopes, and baked in (optional) validations, and a few other bits-and-pieces.
Deploying Multiple Rails Apps to the same VPS
It’s often inefficient having a new VPS for each side project and after several people asked how I do it, I’ve put together a tutorial and sample code on running several Rails apps on the same VPS.