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.
NeverBlock saves Alsaha.com
NeverBlock helps a big Rails site overcome a surge in traffic.
Configurable Rails Flash Message Helper
I am in no way the first person to create a flash message plugin, but the plugins that I did come across lacked any type of configuration or flexibility. I ended up creating my own configurable flash_messages_helper.
Testing On Different Ruby Versions / Interpreters with rvm
Quick and simple trick to test that your gem/app runs properly on different rubies (1.8.x, 1.9, jruby, etc) using rvm
RubyMine 2 Beta, new features, discounted Beta price
The most intelligent and rapidly developing Ruby/Rails IDE JetBrains RubyMine goes 2.0 Beta. Read and see more about the new features and download RubyMine 2.0 Beta. RubyMine 2.0 will be available in mid-October and, according to the licensing policy, free for all existing users. During the Beta period you can buy RubyMine for only $79!
New Tutorial On Writing ExtJS/Rails Components With The Netzke Framework
Check out the new illustrated tutorial, which leads you trough the process of creating a complex widget (with shiny ExtJS as front-end, and Ruby-on-Rails as backend) with several lines of code. Learn how to use new powerful features of the Netzke framework introduced in the latest release. The results of the tutorial are presented as live demo.
Using Nginx with Passenger to run Rails apps with script/nginx
A guide to installing Nginx and Passenger, and then adding a script/nginx file to your Rails app as an alternative to script/server. The instructions are written for Snow Leopard, but should be useful for other Unix operating systems.
Whois GEM introduces answer object and data parser
About two month ago I blogged about a brand new release of the Whois GEM for Ruby. Today I’d like to show you a couple of really powerful features introduced with the new Whois version, currently available in EAP: whois answer and whois data parser. Any Feedback/Suggestion is welcomed.
New design and more at gemcutter.org!
Check out the new Update for everything that’s new over at Gemcutter.
Ruby Challenge For Newbies (#1)
The first Ruby Programming Challenge for Newbies (Shift Subtitle) is now live. The problem has been set by Fabio Akita. Entry free, registration not required and a chance to win a prize. Hurry, only 10 days per challenge.
Next on Key-Value Stores: MongoDB
Part 5 in Kirk Haines series, this time focused on the why and when of MongoDB.
Export data to Excel using CSV in your Rails app
George Guimarães explain in this post how to export data to Excel using only CSV and iconv. It’s a simpler and faster way than relying on complex tools like the spreadsheet gem.
Ruby Exceptions And Exception Handling
Ruby exceptions and error handling is not the most remarkable feature of the Ruby language. Infact, the way Ruby deals with exceptions is strikingly similar to other languages (such as Java etc.). But, I think all the stuff I’ve been writing about Ruby lately has taken on a life of it’s own for me :), so I am going to quickly go over this topic if only for completeness sakes. Hope you enjoy Ruby Exceptions And Exception Handling.
Call for papers for the Spanish Rails Conference 2009
For the fourth year in a row, we are pleased to announce this year’s edition of the Spanish Rails Conference, to be held in Madrid, Spain, on November 26th and 27th. Call for papers finishes by September 29th (sorry about the short notice). If you would like to submit a proposal for a talk or a workshop you can find more information in our blog. Looking forward to seeing you there!
Last call for Rails for Everyone in Chicago on Oct. 24
Last call: Get started with Rails with Rails for Everyone, geared for everyone new to Rails. The workshop focuses on the basics of Ruby on Rails in a fun, inclusive, and professional environment. Oct. 24, 2009 in Chicago, $395.
the age of completeness-fu is upon us!
ever needed a way to grade how complete a user profile is? look no further than completeness-fu, a simple dsl which allows you to describe checks to determine how complete a class instance is, similar to LinkedIn and the ‘profile completeness’ indicator. read more about it here.
Rails Gravitar Plugin
“A configurable and documented view helper for adding gravitars into your Rails applications” I put this plugin out last week, just getting around to posting about it now. Read the details here
Rails Capistrano and Rake Tasks for SASS with Asset Packager
My repositories all ignore css files and they are generated from the SASS files with a Capistrano deploy hook. Add in Asset Packager and you end up with a small dependance chain for deployment. The dependancies are pretty easy to get past but hopefully this will save someone else a few minutes. Deployment solution here
Deploying JRuby on Google App Engine
Google App Engine has all the potential to become a popular deployment platform for Ruby applications: Sinatra, Rack, Rails, etc! A look at the tools and gotchas of migrating to GAE.
Ruby on Rails Workshop for Women @ Harvard (Oct 16 - 17)
The Berkman Center at Harvard University in coordination with the Center for Research on Computation and Society is putting together a Ruby on Rails workshop for women on October 16th and 17th. RoR Workshop
Episode 6 from the Brandizzle series is here - BDDCasts
Watch Jeffrey and Istvan in this new BDDCasts episode as they add the ‘searches’ relationship to Brand. They plan their approach and then go through the red-green cycle with RSpec and Cucumber to make the features happen.
Install Gitorious on your own server - complete guide
Why pay for private Github accounts when you can run your very own Gitorious installation for free? In Setting up Gitorious on your own server I give a complete guide to setting up Gitorious with all it’s dependencies and components.
TweetStream: A Gem for the Twitter Streaming API
TweetStream is a brand new gem to connect to the Twitter Streaming API. It also includes built-in daemonization functionality.
RubyForge now has a REST API
There’s a bit of documentation here, and the rubyforge gem now uses it. If you use the rubyforge gem, make sure you do a rubyforge setup to make the new codes work.
Single Table Inheritance and Grandchildren in Rails
We’ve been having trouble correctly finding objects in the database when using grandchildren with Rails’s STI. Here is our workaround and a call for better ways of doing it.
Shapado: AGPL StackOverFlow like site in rails and mongodb
Shapado is our attempt at providing a free as in freedom replacement for stackoverflow (SOF) with some improvements.