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.
RubyConf Argentina's Call For Paper is open!
The second edition of RubyConf Argentina will be held October 19/20, and, just like last year, will be dedicated to Ruby and other related technologies. Submission of proposals is through rubyconfargentina.org. Don’t forget to provide your contact information and a brief abstract of your talk.
How I Learned To Code
An excellent article by Natasha Murashev on “How I learned to code”. In her own words “Learning to code is a very emotional experience. When you can’t solve a problem, you will feel like a worthless human being. But when you do solve it, you will feel like you own the world, which is one of the best feelings you’ll ever have. And no matter how ‘good’ you get, there will always be something that you don’t know or doesn’t work and that you can continue improving on or learning.”
rerun 0.7 - no-frills command-line alternative to Guard and Autotest
I just released rerun 0.7. It now uses the Listen library which uses your OS’s built-in filesystem change monitoring features so CPU use is much more efficient. Read more
Command Line Basics
Do you remember how hard it was to get started programming? If you do surely you remember a time before you knew Command Line Basics, if you or someone you know is new to this whole programming thing or maybe new to the command line, the will certainly get something out of this introduction to the command line.
Testing Rails controller security with RSpec shared examples
An example of using RSpec shared examples to test the seven common RESTful actions in Rails controllers.
A Review of MVC
I just published A Review of MVC, including a quote by the creator of MVC, Trygve Reenskaug. It’s just an interesting snippet I find integral to understanding MVC in practice.
Celebrate Independence...
…by freedom-patching some code without aliasing!
Practicing Ruby volume 1 + 2 manuscripts now on github
I have been wanting to do this for a while, and now I have finally put the markdown-based manuscripts for the two publicly released volumes of Practicing Ruby on github. Please feel free to remix them however you’d like: revisions are welcome, as are translations. I’ll keep updating this repository as I gradually release more content over time, but if you want immediate access to Volume 3 and 4, you’ll need to sign up over at practicingruby.com.
Lesson Learned From alias_method_chain
I just blogged about what i leaned with alias_method_chain. Hope you find it useful, Lesson Learned From alias_method_chain
Vim advanced search and replace
I blogged about a few advanced search and replace techniques in Vim: multi-line searches, look-arounds, expressions, ranges, counters, the command-line window and the star of the show: the global command.
Rails 3 upgrade process (the road from 2.3.14 to 3.2.6)
Rails 3 upgrade process (the road from 2.3.14 to 3.2.6)
UT on Rails: Week 4 Routing
Come learn all about URLs, HTTP, State, and REST in this week’s series. Videos broken down by topic and exercise all included, enjoy!
Debugging HTTP Proxy - RFC
Hi, I’m hacking away at a proof-of-concept debugging http proxy that allows you to intercept https? requests and record, rewrite, redirect & mock response using rack apps. Read more
Ruby on Rails session at SouthwestFox conference
Hear Rod Paddock session on Introduction to Ruby on Rails at the SouthwestFox conference, in Gilbert, AZ - October 18-21, 2012.
Activity Feeds with Protocolist
I’ve created activity feeds gem — Protocolist. It’s kind of newer timeline_fu.
Globalize and i18n
A blog post about globalize and i18n.
Announcing Redis-Central
Redis-Central makes providing a centralised redis connection and namespacing it extremely easy.
Ruby Internals: Method Definition
Learn what happens behind the scenes when you create a method in Ruby Read more
Organise your Rails seeds with Seedbank.
Seedbank makes your Rails database seeds simple and organised. Version 0.1.1 adds dependencies, shared seeds.
EU Cookie Directive rack-policy
I’ve released rack-policy gem v0.3 that helps any rack based web app implement so called EU ‘Cookie Law’.
Getting the most out of FactoryGirl
I blogged about a few tips and tricks for using FactoryGirl. TLDR: use traits and ignored attributes; don’t use random data and test for explicit values.
A refactoring story
I recently refactored some code and would like to share what I’ve learned.
Build Reddit in Sinatra 2.0
A follow-up tutorial which adds features to the original Reddit in Sinatra app.