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.
Learn Ruby on Rails with RailsTutors.com
We are about to launch another Introduction to Ruby on Rails course at Rails Tutors. This course will guide you through all you need to know about building a modern web application using Rails 3. We’ll take you step by step through building a social app from scratch. Included in this course is a Learn Programming with Ruby course for those new to programming. Early bird ends September 10th, so register today!
All about Struct
Steve Klabnik shows us how to take advantage of Struct and OStruct in Ruby, in his guest blog post “All about Struct”.
Support jQuery Validation 2.0
Nearly all my web apps use Javascript form validation in addition to the usual server-side variety. My go-to tool has been the jQuery Validation plugin. It’s a great plugin, but the project needs some love. If you’d like to support version 2.0, check out its new campaign on Pledgie, which explains what needs to be done, how to contribute, and what donations would be used for.
Mining Twitter data with Ruby, MongoDB and Map-Reduce
When is the best time to tweet? If you care about reaching a lot of users, the best time probably is when your followers are also tweeting. In this blog post, we will try to figure out the day and time users are the most active.
no more `bundle exec` - new version 1.1.0
I just released a new version of rubygems-bundler - 1.1.0, here is the list of changes.
How to keep Font Awesome from crashing capybara-webkit
If you’re developing a Ruby on Rails application on OS X, you’ll need this workaround to keep Font Awesome from crashing capybara-webkit.
Why Use Rails, Not Sinatra or Node.js?
I love building with a simple framework. Don’t we all? But what are you missing out on by not using Rails? When should you use one versus the other?
Generate projects for doing TDD Kata with shuhari
I just released shuhari 0.1.0, a simple gem that generates new projects for doing TDD Kata in ruby. Read more
Writing Beautiful RSpec Matchers
A short article about writing RSpec matchers. Includes lots of code examples and explanation of what it does.
Chainsaw: log parsing for the rest of us?
Tossed this little gem together to make parsing logs from the command line a bit easier. It uses Chronic, so you can specify dates in almost any format. Give it a look
When Is a Set Better Than an Array in Ruby?
Since I discovered Ruby’s Set class, I’ve found myself stopping where I would normally use an Array and considering whether a Set would better suit my needs. Here’s a list of the best times to use each type.
ActiveRecord and Azure
Here’s what you need to know if you find yourself developing a Rails app that is using an MSSQL database hosted on Azure.
Mocking Threads in Ruby - Rejected by GoGaRuCo, pt 2
Here are three ways to mock a background thread in Ruby, with sample code and explanation, plus a link to a place I do this in real code. Part two of my “rejected by GoGaRuCo” series where you get the content from a GoGaRuCo talk that didn’t happen.
ruote 2.3.0 released
ruote, a Ruby workflow engine, just released its 2.3.0, many small improvements on every front.
cacheable_attr
I published cacheable_attr about two months ago and finally found time to post up here. Read more
EveryTalk: Conference videos for Rubyists (and more)
I just launched EveryTalk.tv. EveryTalk.tv wants to bring Railscasts style learning to conference talks. It aggregates videos from conferences, helps you find a talk on a topic, and then build a playlist which you can watch over a period of time. Read more
rolling out with feature flags
I just wrote a new post rolling out with feature falgs, it allows you release features with turn on/off switchers, you can use it for a/b testing, performance verification and solve external dependencies.
Omg! Pull Request!
I just launched Omg! Pull Request. It automatically runs your tests when a pull request comes into your Github Repo and makes a comment about if the tests have passed.
Flatware 0.0.1 released!
I just launched Flatware, a distributed cucumber runner.
Wrapper 0.1.0 released
I just launched wrapper, a super minimalistic implementation of a object wrapper intended to use for things like building a presenter layer in Rails.
Entasis 0.3.0 released
The gem entasis has been updated. Entasis provides a few neat methods for building a basic class. Handy for models without a database.
Active Admin 0.5.0 has been released!
After more than 4 months of work, we finally released Active Admin 0.5.0! Have a look at the new features and the roadmap in the release announcement.
Rack Params Magic Even Got Stripe CTF Creators
I wrote a short post about a common security pitfall relevant to everyone using Rack (Rails, Sinatra) and how it even got the awesome guys at Stripe
Data Context Interaction: The Evolution of the Object Oriented Paradigm
This article is a practical introduction to DCI (Data Context Interaction). I’m not going to explain all theory behind it. Instead, I’m going to show you what kind of problems DCI is trying to solve and how it can be implemented in Ruby. Read the article
Bundler 1.2.0 Released
Heroku’s own Terence Lee has cut a release of Bundler 1.2.0, enjoy.