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.
Optimistic Locking with MongoDB
Over on the Highgroove blog, I talk about optimistic locking with MongoDB and mongo_mapper.
Quoted Labels: A Reasonable Ruby Syntax Change
I’ve proposed a new, small syntax change for Ruby: quoted labels. Hear me out.
Instant Rails dev environments with Tmuxinator and Foreman
How to start an entire development environment with a single command
BorderPatrol: KML border checking in Ruby
Square just released a gem they’ve been using internally to do geodata analysis. Check out the blog post for more details.
stamp: Date and time formatting for humans
Format dates and times based on human-friendly examples, not arcane strftime directives, with stamp. [more inside]
RESTful API with Sinatra at DakarLUG
Coding party at DakarLUG (Linux User Group) and RESTful API with sinatra here ! . I will put the slide on my slideshare.
Setting up Rubygems.org proxy on local server
Running bundle install and waiting and waiting is obviously painful for many developers. To ease this pain, it took some time and blogged about it for future reference.
THE BETTER WAY TO ORDER BY RAND in scope
ORDER by RAND() in MySQL is super slow. Jan Kneschke had wrote a article ORDER BY RAND() 3 years ago.This article explains a lot about his alternative ORDER BY RAND solution [more inside]
rails_best_practices 0.9.0 & 0.10.0 released
I have released rails_best_practices 0.9.0 and 0.10.0, adding “remove empty helpers” and “remove tab” checks, check out the gem here.
The results for Codebrawl's RSpec formatter contest are in!
Codebrawl’s first contest just ended. We asked the contestants to build a formatter for the RSpec testing library and we got some fun entries. Check out the contest rundown to find out who won!
Creating your own Ascii art app
I just launched a post on how to create your own Ascii Art app using the evented architecture.
Have a customizable sidebar menu in Rails3
I just launched a post. First time writing an article about Rails.
Factory Girl's new look
Factory Girl release candidates were cut this week. There’s a great-looking new syntax and many new conveniences.
Building your own Hoptoad app clone with Errbit, VMware Cloud Foundry and MongoDB
I just posted a simple getting started tutorial with VMware Clound Foundry and MongoDB.
Ruby Kickstart - free course with videos, quizzes, & challenges
Ruby Kickstart, is a course with videos, quizzes, & challenges to learn Ruby. There are six sessions where we progress from the basics all the way through putting a web application on the internet. Each session has an associated video where I walk through the material for my friends (my friends and I went through RKS this summer, I recorded the sessions, they’re available on the website) Plus a FREE bonus video where I talk about recursion! Each session has an associated quiz that you can take on the website.
Forme: New form library for ruby
I just released a new HTML forms library called Forme. It has no external dependencies, a friendly API and DSL, and integrates nicely with Sinatra and Sequel.
Picking the right number as quickly as possible
Just finished a post detailing how I used the Binary search algorithm in ruby to find a specific number quickly over a range of possible values. Feel free to offer comments or suggestions to the algorithm.
20+ Rubyists to Follow on Google+
20+ Rubyists to Follow on Google+. Are you there?
Free The Enterprise With Ruby & Master Your Own Domain
I just posted a short blog article and my slides on my talk about Open Source, SQL Server & Ruby With Windows.
Mida v0.3.0 A Microdata parser/extractor library
This release has better facilities for describing a vocabulary and finally adds Bundler support. More information is available in the release news and on the Mida project page.
My ruby adventure starts...
My ruby adventure has began… I am traveling across the USA attending ruby meetups. Check out the review of the San Francisco Ruby on Rails Group.
Building a Clone of the Watchr Gem
Following on my Ruby File IO series, this post puts some of the discussed techniques on practice by showing how to build a small clone of the continuous-testing gem Watchr
Paint: A Terminal Painter
No string extensions / 256 color support / effect support / custom shortcuts. Just another terminal colors gem ;). Tries to combine the best of term-ansicolor, rainbow and other terminal color gems with a nice syntax and great flexibility: github.com/janlelis/paint
Barney: Sharing data between processes made easy
Barney makes sharing data between processes easy and natural by providing a simple and easy-to-use DSL. I just released v0.16.0 to github and rubygems.org . It’s a big release, and the next one will be v1.0.0. The Guides and API documentation are linked through github, and should provide you with everything you need to know to begin using Barney. Please test, and let me know what you think!
AdhearsionConf 2011 Registration Open
AdhearsionConf 2011 has been announced for October 8th & 9th in San Francisco, CA. Great time to learn more about Adhearsion and meet the rest of the community. Free registration is now about at: http://www.eventbrite.com/event/1762530777.