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.
Typo gets dynamic permalink URL
Typo, the famous blog engine in Rails gets dynamic permalink in his futur release.
The Unofficial Ruby Usage Guide
This is a great language guide to those new to Ruby.
Download Google Docs using Google Data API
Google’s Document List API finally allows you to download your Google Docs in a number of formats using Ruby. A demonstration Rails application is provided as a guide.
ROR Programmer - Otherinbox - Austin, TX
Requirements: BS or equivalent experience; at least one year Ruby On Rails experience; ability to work in an Agile, Scrum, XP environment; good understanding of HTML, CSS and AJAX; good understanding of Internet protocols such as TCP/IP, DNS, SMTP, HTTP, POP, IMAP, MIME; Hands-on experience working with a MySQL or SQL Server database, SQL programming.. To apply for this position, please send your resume to 50601@americanworkforce.jobs.
Coucher - Super simple RESTful HTTP service with Rack and CouchFoo
After learning a little bit of CouchDB, CouchFoo and Rack, I realized I don’t need anything else for a simple RESTful HTTP service. Should easily work with ActiveRecord, too. Read from my blog about Coucher.
Using libcurl (curb) instead of Net::HTTP for open-uri
A simple replacement for the stock open-uri library. It’s much faster than the Net::HTTP one, and has more sensible defaults (which, of course, can be changed). Just replace “require ‘open-uri’” with “require ‘curb-openuri’” in order to use it. No code changes should be needed.
Software metrics (and tools) for Rails projects (part 2)
Software metrics (and tools) for Rails projects (part 2) where we play with Reek, Roodi, Saikuro adn RCov (code coverage, cyclomatic complexity, etc).
How Closures Behave in Ruby
The difference between Proc.new, Kernel#proc, and Kernel#lambda.
The tiniest way to add nested contexts to your tests
nest-unit is the smallest possible way to get nested context support for Test::Unit, clocking in at 70 lines of code. I think.
The Merb Internals Handbook has a homepage
The Merb Internals Handbook has a homepage. The book is written by Michael S. Klishin, and web interface work by Dylan Clendenin(a.k.a deepthawtz)
Concept to $$$ in 2 weeks with 2 part time developerss
Was proud today to see our first money coming in from a rails site that we decided to make about two weeks ago. I put together 10 things that we did that I recommend for teams that want to make money asap.
Sliding Stats: Rack Middleware to keep an eye on your traffic
Sliding stats is a small Rack Middleware component that provides you with a couple of graphs and a table to give you a quick overview of what’s going on with traffic to your web apps right now - it keeps a “sliding window” over the last N (configurable) number of requests.
The enum_field plugin
Get better enum fields for your ActiveRecord models for free, over on the giraffesoft blog
github.com/seattlerb
Seattle.rb’s eight years of Ruby projects are mirrored on GitHub.
Software metrics (and tools) for Rails projects (part 1 of 2)
Software metrics (and tools) for Rails projects (part 1 of 2).. Using metric_fu plugin in order to explore some software metrics on your Rails projects.
Erubis 2.6.4 released - Rails 2.2 and 2.3 supported
I have released Erubis 2.6.4. Erubis is another eRuby implementation which is very fast and extensible than ERB. This release supports Ruby on Rails 2.2 and 2.3.
Spike: A Rails log file parser
Spike is a log file parser application for the mac, that allows you to filter your Rails log files for controllers, actions and ip addresses. The source code can be found on GitHub and there is a screencast to demonstrate the application.
Cron jobs and ruby
Whenever - Provides clean ruby syntax for defining messy cron jobs and running them Whenever.
Writing a compiler in Ruby part 16
Extending the parser to start supporting some (basic and superficial so far) Ruby-like syntax.
Using CANVAS to provide a rich interface for creating a Ruby DSL
Forumwarz’s conversation editor creates Ruby code from a visual finite state machine.
Sphinx, Riddle, and will_paginate
Here’s a little code written by Rich Kilmer that gets Sphinx, Riddle, and will_paginate to work together nicely. This is handy if you’re not using one of the Rails plugins but are just using the Riddle API directly.
Rails forms microformat exposed
If you’ve always “just used form helpers” and never needed to examine your forms, you might have missed the cool little microformat that Rails uses for complex data manipulation. This article explains it in detail.
One more flow!
AndroidFlow is now running! Anyone who is interested in Google Android OS - please join our community ! :) Many thanks to Peter Cooper!
Custom Argument Matchers in RSpec
A tutorial on how to create Custom Argument Matchers in RSpec. Tells you how to add things like #with(array_including(‘a’)) to complement the existing #with(hash_including(:key => val)).
Using method_missing and respond_to to c...
method_missing and respond_to? are a few of the basic tools for Ruby metaprogramming. Here are some notes about using them to dynamically methods to your objects.