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.
Sinatra + DJ (DelayedJob) Example
If you’re interested on how to get DJ (DelayedJob) working with Sinatra, here is an example. (DelayedJob is a database backed asynchronous priority queue extracted from Shopify.)
Super simple captcha for Sinatra
sinatra-captcha Quick simple captcha for sinatra
Leadership Amidst Controversy
Josh Susser on the controversy stemming from a conference under his stewardship. I think Mr. Susser shows both class and real leadership with this post. His response is an example of why the Ruby community is worth it.
Rails Envy Podcast #77
The Rails Envy Podcast #77 was released today, covering the latest news and libraries in the Ruby & Rails community. No small rodents or Perl programmers were harmed during the recording of this podcast.
I Am Not a Pr0n Star- Avoiding Unavoidab...
I Am Not a Pr0n Star- Avoiding Unavoidable Associations. Liz Keogh responds to Matt’s apology at The Merbist. Taking the angle of the psychology of subconscious associations, this article will hopefully help those still struggling to understand the on-going pr0n0gate controversy.
6 Line EventMachine Patch Yields 14x Speed Increase
Aman Gupta and Joe Damato did some investigation of EventMachine and Ruby’s garbage caching and found a wee bug which, when resolved, made garbage collection 2-3x faster and a Web-related test 14 times quicker.
A Selection Of Thoughts From Actual Women
A Selection Of Thoughts From Actual Women, collected by why the lucky stiff.
Do not log or make stats if request seems to come from a bot
What do you think of this very simple way ?
Mind Your Own Business
Mind Your Own Business, a short introduction to Rails.
Use custom time stamps in your ActiveRecord models
the custom_timestamps plugin allows you to define which columns get a Time.now when creating or updating (Instead of created_at/updated_at)
JetBrains RubyMine 1.0 is released
JetBrains RubyMine—a brand new Ruby and Rails IDE is now generally available. RubyMine, built on top of IntelliJ IDEA platform inherits the intelligence of this IDE, excellent web development tools, such as advanced HTML/CSS and JavaScript editors, plus adds own features for Ruby and Rails developers, including smart code completion, analysis and refactorings. A 30-day evaluation is available.
Script It: Convert A List Apart articles to PDFs
An extensive example to use Ruby to script downloading and conversion of A List Apart articles using Webkit, with source code.
Rails and Community Responsibility
Rails and Community Is there a larger pattern here? I hope not, here are my thoughts on the larger issue.
Ruby Screen Scraping with scRUBYt!
Each programming language commonly has a host of libraries to assist in the screen scraping/parsing process and Ruby is no exception. To create simple screen scrapers in Ruby I have been using a library called scRUBYt! Check out this simple tutorial on getting up and running with scRUBYt!
Mike Gunderloy is quitting the Rails Activism team
Mike’s blog post: “…suffice it to say that a significant number of Rails core contributors - with leadership (if that’s the right word) from DHH - apparently feel that being unwelcoming and “edgy” is not just acceptable, but laudable.”
Rails is Still a Ghetto
Easy Ruby cronjobs with daemon-kit
Need to implement a cron-style Ruby process? daemon-kit now sports a cron-style daemon generator that allows creating your own cron daemon with the help of rufus-scheduler.
Rails Server Setup + App Deployment Using Moonshine
Melvin Ram has written a walkthrough for setting up a Rails app on a fresh server using Moonshine on a new Ubuntu server.
Deploying Multiple Environments on Heroku
Running one environment on Heroku is simple. This guide shows you how to get your staging and production environments deployed with the same simplicity.
The Ghetto of the mind
Trying to put my money where my mouth is get more women involved in the future of Ruby
Ruby on Rails Development on Ubuntu 9.04 using Ruby 1.8.6
I’ve written up a guide on setting back a Rails development environment on Ubuntu 9.04 using VirtualBox on Windows. This guide also covers rolling back Ruby to version 1.8.6 and briefly covers using Netbeans and RubyMine as a Rails IDE.
Creating a Twitter Client for OSX in MacRuby - Part 2
Part Two in the series of how to create a Twitter client for OSX using MacRuby.
Ruby authentication with third-party providers
Describes different ways to authenticate users for your application without writing your own authentication system. Samples shown on web authentication and client authentication, with OpenID, RPXNow, Twitter and Google ClientLogin here.
Dataflow concurrency for Ruby (inspired by the Oz language)
Check out the start of the dataflow variables library for Ruby, and a blog post covering the idea. Notice how the specs use threads but don’t run into problems because everything is observably deterministic… the declarative concurrent programming model is powerful.
Summaries of all talks from Pro Ruby Conference
Professional Ruby Conference Notes by Nick Quaranto seems like a great write-up off all sessions. I didn’t read one “ooh I was too hungover or bored to report of this talk” article either.