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.
human_attribute for easy rails attribute i18n
I just launched human_attribute gem for rails attribute translation. [more inside]
The 10 Most Underused ActiveRecord::Relation Methods
Knee-deep in ActiveRecord::Relation code yesterday, I was reminded of some interesting nuggets that I have seen used far too rarely. Here, I’ve gathered my top ten most underused relation methods from that list for your reading delight. [more inside]
RConfig 0.4.0 Released
I just released RConfig 0.4.0. It’s been updated to support Rails 3.x, as well as Ruby 1.9+. It also has new features like reference support for xml and properties files, as well as a ton of bug fixes! I welcome any and all feedback and suggestions. Please report any bugs as well.
Using Backbone Views With Rails jQuery-ujs
No Ruby code but useful for Rails applications
Automate tmux for quicker coding in vim
A short blog post with video (thanks to shelr.tv) showing how to script tmux to start your Rails development environment.
Rails Observer Implementation Part 2
Rails Observer Implementation Part 2.
Grouping validations
I just published a new post about grouping validations.
rails-footnotes 3.7.7 has been released
I just realised rails-footnotes-3.7.7
The Three Cancers in the Ruby Community
I just blogged about a few traits and attitudes of the Ruby community that I consider we should get rid of collectively. Dragons ahead.
Introducing Rails One Click for Mac os X (I need your help!)
Rails One Click is a/will be a simple installer for Ruby and Rails. It is targeted at beginners who have little/no programming experience and want to try Rails. Rails one Click installs Ruby 1.9.3 with yaml support, and the latest version of Rails. Rails One Click on Github.
CommandModel - when update_attributes isn't enough
A domain model which reifies concepts in methods like account.withdraw(...) is much richer than one that funnels everything through account.update_attributes(...). But how to integrate this better domain model with Rails validations and form helpers? CommandModel to the rescue!
themes_for_rails 0.5.0 has been released
You can read about it here. [more inside]
Multiple token authentication with Devise & redis
A very interesting new post on my blog: Multiple token authentication with Devise & redis
The Paydirt Stack: The tech that powers a Rails-based startup
I always enjoy reading about the hardware, software, and supporting services that people use when developing Rails apps. Here’s what we use at Paydirt to keep things ticking. [more inside]
DaVinci Coders Open House 4/21
DaVinci Coders is hosting an open house on 4/21 in Louisville, CO for anyone interested in their programming course. DaVinci Coders is an 11-week course for people with little to no programming experience who want to fully immerse themselves in a software development environment and emerge with the experience necessary to work as a programmer. It’s a serious commitment with serious results. The course teaches Ruby, Ruby on Rails, HTML5, CSS, JavaScript, Git, and PostgreSQL, just to name a few.
My OS X Rails installation using Homebrew and rbenv, step by step
In this opportunity I’ll explain (as the title suggests) how to go from a brand new mac os x to running Rails tests…read full article
Gemsets Made Easy
I wrote an article about gemsets but without using any ruby version manager. [more inside]
Performance Testing Rails with BlitzIO
Haven’t you always wanted to make some changes to your server and then absolutely slam it with traffic to see the result? That’s exactly what I did to performance test some configuration changes I made with Rack::Cache and Rails last week using BlitzIO.
Exception Notification v2.6.0 is out!
Exception Notification (2.6.0) was released today! See the CHANGELOG to check all the new features and bug fixes it includes. Go get it now!
Real-time Games using HTML5, WebSockets, nodejs and socket.io
Ever imagined playing a game on the web by simply logging in – no local installation required, no licenses and you can continue from where you left off! Imagine multi-player games from your browser or phone – basically ‘gaming in the cloud’. Ok – that sounded pretty cliche :) But its already here folks and faster and better then we can imagine! Read how JoshSoftware built this.
DRY specs with ProgressiveRequirements
A possible new alternative to keeping certain kinds of specs DRY without deep-diving into nested describe hell.
inflection-js for the Rails Asset Pipeline
I just launched inflection-js-rails which allows you to use inflection-js within your Rails 3 applications. [more inside]
DIY Image Resizing Server in Sinatra: Super Easy
I just wrote a post on hacking together an image processing server: some groovy thing.
Pretty graph hairballs with the Neography and Builder gems
Create a moving clustered graph visualization with the help of Sigma.js and Neo4j.