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.
Rails best practices slides at kungfurails
This’s my slides about best practices, anti-patterns, teaching you how to write better rails code. Other videos and slides see Kungfurails website.
Ruby on Rails plugin for Web Translate It
I just launched a Ruby on Rails plugin for the web-based translation tool Web Translate It. It adds rake tasks to your project to fetch your translations, as well as the ability to “autofetch” your translations files on page load. This is useful for a team of translators to test their translations on a staging environment.
mail: A really Ruby library
mikel has released a Ruby emailing library called mail. It handles emails generation, parsing and sending in a simple, rubyesque manner.
Different Couch DB for each web-request
A quick tip about using a different Couch DB for each web-request with Ruby and CouchRest.
Ruby Manor 2: Ruby Harder
The Guvner has just thrown the doors wide open for the next Ruby Manor ultra-conference; buy your tickets now, they are limited and selling quickly.
Alchemist: Ruby unit conversion library
Alchemist is a fine Ruby unit conversion library designed for readability and convenience.
Follow good ruby developers with twitter lists
With twitter lists launched, here are two lists that you may find useful: Rubyists on Twitter I created a list of good rails development shops that may be useful for some guys.. and Good Rails dev firms in twitter
Limelight: A Rich Client GUI Framework
Limelight is a rich client GUI framework unlike any other. Limelight produces app with web’s look and feel.
Rubyists.EU: A haven for all the European Rubyists
The Rubyists.EU initiative is a free of charge communication platform that aims at promoting awareness, enhancing assistance, and further boosting cooperation and collaboration among individual hackers and User Groups in Europe. We are looking forward to seeing how your participation in the Rubyists.EU initiative can shape the vision and influence the development of both Ruby and Rails in Europe!
Solving Project Euler Problem #7 in Ruby
By listing the first six prime numbers: 2, 3, 5, 7, 11, and 13, we can see that the 6th prime is 13. [more inside]
Wysihat Engine
A Rails engine to help integrate the 37signals WyshiHat rich text editor has been developed by 80beans. There is also an introduction to it on their blog.
Twitter 0.7.0 - now with List support
Twitter 0.7.0 and supports the new Twitter Lists API.
Distlockrun: Lockrun for your cloud
Engine Yard has a nice writeup on distlockrun, the distributed version of lockrun.
Easiest way to get production database and assets on localhost
Dump is simplest way to dump and download production database and assets to your local machine. Capistrano tasks included.
Really easy continuous integration with Signal
Meet Signal, a really very simple to use continuous integration server that takes best features from CC.rb, Integrity and Hudson.
Stupid Questions
He has a point, there are a lot of obvious stupid questions asked that can be solved by simply going to google. Check it out
Integrating Yahoo! BOSS with your rails application
Some of the possible implementation of Yahoo! Boss may be finding related posts for your article, suggested tag/category for an article/query, correcting misspelled words by providing suggestions, fetching latest news on a topic dynamically, customized language search.Here is a concise guide on how to use this service in your next rails application.
Commence Planning for Rails Summit Latin America 2010
Rails Summit 2009 was a huge success. We are already starting to plan the 2010’s edition. Railers around the globe, you’re all invited and more than welcome to come visit our beautiful country, Brazil. Rails Summit 2010.
The third installment of the Ruby Progra...
The third installment of the Ruby Programming Challenge for Newbies (Short Circuit) is now live. The problem has been set by Gautam Rege. Entry free, registration optional and a chance to win a prize. Hurry. Only 20 days per challenge.
Measuring web server response time from the command line
HTTPing is a command-line tool that shows interactively tests a remote website and measures its response time a la ICMP ping. It’s on gemcutter, so to install simply: sudo gem install httping – or you can get and fork it on GitHub.
Improving Code using Metric_fu
Many people tell me that they find metrics interesting but don’t know exactly what to do with them. I try to explain how to use metrics to improve your code, by using it on a real world showing some of the refactorings.
Rack + Redis and Affiliate Tracking
Using Rack + Redis together for affiliate tracking systems. Not so much emphasis on Redis, just how it ties in. Rack win. read about it
BDD way pagination from BDDCasts
You saw in the previous episode how to spec and implement a list of Twitter results. In this episode you can see how to write Cucumber features and specs for “pagination” to check that only the required models make it to the view. Although will_paginate gem handles most of the pagination logic, you still need to handle the order of the results. Watch this episode to see how you can do this the BDD way.
Cool replacement for Test::Unit's test runner
If you still use Test::Unit (either by itself, or with something like context or shoulda), check out leftright. It works kind of like redgreen, but it does quite a bit more (details and installation instructions).