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.
Stop Exception Notifications With The ZombieShotgun
The ZombieShotgun module is stoopid code with little practical use if you can edit your own apache conf file… but fun none the less.
On the Path to Camping 2.0
A little post on the development of Camping 2.0
Symbol#to_proc Alternative
A blog entry on an Alternative to Symbol#to_proc.
Slightly Coded, the Way Ruby Rolls
SlightlyCoded - A New Ruby Blog: An Brief Welcome and Intro, Running Rails on Dreamhost with Phusion Passenger, and Setting Up Subversion on Dreamhost with Rails
Shoe laces
How to use the Shoes GUI app tool kit to make a basic app. A how-to-do-it with source code.
DoomGuy: autotest + growl notifier
Do you use autotest and have growl installed? Pimp your desktop with Doomguy telling you whether the tests passed :)
New FiveRuns Rails TakeFive Interview
Just posted the latest in the FiveRuns Rails TakeFive interview series, this week featuring Jeff Cohen of SoftiesOnRails. Check it out here.
A Few More Bugs in Ruby
Some analysis of a few new Ruby bugs found while researching Drew Yao’s latest critical vulnerabilities.
Accessing GMail with IMAP from Ruby
How to access Google Mail with IMAP from Ruby.
Posting to a Wordpress blog from Ruby
A look at posting to a Wordpress blog using Ruby and Atompub.
Lightview And TinyMCE On Rails
I’ve recently posted a couple of articles on my blog about how to get a couple of useful javascript libraries to play nicely with ruby on rails. TinyMCE WYSIWYG text editor on rails and Lightview for modal dialogs on rails
Slide Show (S9) Gem Now Includes S5 Support
The Ruby Slide Show (S9) gem that lets you create slide shows and author slides in plain text using a wiki-style markup language that’s easy-to-write and easy-to-read now includes (experimental) support for S5 slide shows. Find some S9-generated S5 samples online: Slide Show (S9) 10-Minute Tutorial, Merb - All You Need, None You Don’t, Microformats - Add Semantics to Your Web Site
Pretty Blocks In Rails Views
A complete look at using blocks in helpers in Rails.
YoYoBrain.com: Study Less. Learn More.
An interview with the founders of YoYoBrain.com, a global community of learners that combines community-generated content and rankings with scientifically-proven methods for organizing and retaining knowledge. Their goal is to revolutionize the way people learn. The site is built using Ruby on Rails.
Speed up slow Rails development in vista
A quick tip on speeding up Rails development on Vista (if there are more than one of us who do so). Binding explicitly to 127.0.0.1 works wonders, e.g.: ruby script/server -b 127.0.0.1 - I noticed 3-4 fold speed increase in development mode.
Rails Camp UK (August 2008 Hacking Session)
Want to get together in the UK for a weekend of hacking on Rails and Ruby projects (and some Guitar Hero)? RailsCamp08 is in August. (As discovered on Twitter.)
Guide to Unobtrusive JavaScript Part 2 (with lowpro)
The second Part of the Guide to Unobtrusive JavaScript hast just been published on the railway blog. If you’re interested in keeping your HTML clean of JavaScript code, this article might give you a few cool tips on how to do it using the great lowpro library.
Keyboard navigation for TextMate stacktraces
Keyboard navigation for TextMate stacktraces: A JavaScript snippet for TextMate to be able to navigate with the keyboard through the stacktraces links.
New version of Oracle enhanced adapter and ruby-plsql gem
If you are using Ruby/JRuby/Rails with Oracle database then you might be interested in the new version of ActiveRecord Oracle enhanced adapter which has new features for working with legacy databases as well as the new version of ruby-plsql gem which now supports both MRI and JRuby and provides simple API for working with PL/SQL procedures.
Separate Rights Management from Controllers
Remove all the Rights logic from your controller and create clean, reusable filters and tests.
before_filter :can_write, :only => [:destroy,:update,:edit,:new,:create]
...
access_denied unless user.can_write?(requested_object)
Capistrano 2.4.3 and Net::SSH 2.0.3 are now available!
Capistrano 2.4.3 and Net::SSH 2.0.3 are now available: Check out Jamis’ blog for details.
7/11 & 7/25 ShoesFests with Why The Lucky Stiff
why the lucky stiff and friends invite all interested Ruby hackers – and wannabe hackers – to join them for two 24-hour ShoesFests. The sessions will be on Friday, July 11th and 25th, both at noon GMT. The goal is to write and share fun little applications using Shoes, a clever little cross-platform GUI toolkit written in Ruby. Read this post for more information.
Ruby and Rails books
Ruby and Rails books, two years later (photo)
Keep your site as fresh as your code using github
I am actively working on an open-source project, but the website doesn’t necessarily show that the project is in active development, now it can, thanks to GitHub’s API.
More Named Scope Awesomeness
More Named Scope Awesomeness including integrating scopes with existing finder methods and using scopes for advanced search.