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.
Ruby Berlin e.V. – We Stand for a Welcoming Community
During the last weekend, several events have shaken the Ruby community. We feel that due to the gravity of these issues, a direct statement in addition to those of individual members of the Ruby Berlin e.V. is necessary.
I just launched RVM 2 Fundraiser Manage...
I just launched RVM 2 Fundraiser Manage software versions using ruby, everywhere the same way.
Wicked Good Ruby Conference Roundup
I just posted my write-up for the Wicked Good Ruby Conference in Boston. It includes summaries of my favorite talks. Read the post here.
The easiest way to handle displaying bad data
I recently wrote about fixing a display bug to handle bad data at saturnflyer.com.
Learn how to use the concurrent Ruby Web Server PUMA on Heroku
Getting Puma to run on Heroku is very easy. You should be able to get everything up and running in minutes. Here is how. [more inside]
Working with configuration values in Rails - best practices
Described reasons why it’s not good to use Rails.env in conditions as a mean for configuring application behavior in code and how to do it properly.
Debugging Rails Applications in Development
Very good, in-depth blog post explaining how to debug your Rails Application in Development. Especially useful for beginners.
How To Build an App in 48 Hours - Rails Rumble
This year, Darcy Laycock of FindThin.gs (last year’s winning team in the Rails Rumble) was kind enough to write something about building an app in 48 hours for the rumble. Give it a read!
Keep your development logs in check (on OS X)
Logs on your development machine can quickly grow to a silly size, especially if you have long running projects. [more inside]
Rubinius X, a different kind of Ruby
Brian Shirai of the Rubinius team just launched Rubinius X, an experiment in modernizing Ruby. Read more on the Rubinius X site
ActiveModel::Serializers Rewrite (upcoming 0.9.0.pre version)
ActiveModel::Serializers rewrite branch the next 0.9.0.pre version was pushed to github. See this blog post for more information.
Slow Tests Are the Symptom, Not the Cause
In this refactoring walk-through you will learn how small, incremental improvements to the design of a rails app and reducing the amount of coupling naturally lead to faster tests. [more inside]
capybara - wait for ajax call to finish
Recently I have worked on testing ajax functionality using capybara in feature spec. Here is my finding on capybara and ajax calls
S3_meta_sync sync folders with S3 via MD5 checksums
s3_meta_sync syncs folders efficiently by keeping a metadata-file with MD5s for quick comparison.
Paloma 3 - page-specific javascript for Rails done right. Now with Controllers and Router.
Paloma 3 is a rewrite of the old version. It is now simpler and more flexible. Check it out here.
binding.repl v0.8.0
binding.repl is binding.pry but for every ruby repl. it supports irb, pry, ripl and since v0.8.0 it also supports the rib repl.
Writing a Ruby compiler bottom up, part 28
Part 28 of my article series on writing a Ruby compiler in Ruby is out - this part deals with turning number constants into Fixnum objects.
Configuring Acceptance Tests with Capybara, Webkit and Selenium: Useful Tips
I want to share my experience working with Capybara and all the king’s men.
vienna.rb Talks - Building HTTP JSON APIs w/ Sinatra; Erlang (and Elixir) for Rubyists
Last nights slides from the vienna.rb talk titled Building HTTP JSON APIs w/ Sinatra. Use left/right cursor keys (or space bar) to browse the slides. Or check the all-in-one-page markdown source. More talks included Martin Schürrer on Erlang (and Elixir) for Rubyists. Cheers.
A Universe In Ruby
Omega is an open source (AGPLv3+) Universe Simulator written in Ruby (eventmachine) that provides a JSON-RPC API to create, query, and manipulate a user-defined universe in real-time. [more inside]
Adding search and autocomplete to a Rails app with Elasticsearch
A tutorial for adding search to Rails apps using Elasticsearch, Searchkick and Typeahaed.js.
Using MockSMTP or MailCatcher only if it’s running (with Rails)
MockSMTP and MailCatcher are great tools when you’re trying to debug emails, but not everyone on your team necessarily has one of them installed (or maybe you just don’t have one of them running constantly). [more inside]