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.
Generic + Smart - link_to_s link_to_edit link_to_destroy
Generic + Smart - link_to_s link_to_edit link_to_destroy
before:
(movie.online? or movie.owner_id==current_user.id) ?
link_to(movie,movie) : ''
(movie.owner_id==current_user.id) ?
link_to('edit',movie) : '' [more inside]
Ruby support for XQuery
Zorba is a general purpose XQuery processor implementing in C++ the W3C family of specifications. The latest release provides a Ruby language binding. You can find a use case of the Ruby API in the documentation.
Developing iPhone applications using Ruby on Rails
Part 2 of the article Developing iPhone applications using Ruby on Rails is available. This article discusses the rails_iui plugin.
6 Optimization Tips for Ruby MRI
MRI is slow, we all know it, but knowing the internals can help you optimize.
5 Resources for Getting Up to Speed on Rails 2.1
Rails 2.1 has been out for a little over a month now, and if you haven’t yet had a chance to get up to speed on its new moves, spend an hour today with any one of these five resources and you’ll be ready to rock in no time. Now get crackin’. There will be a quiz.
SlightlyCoded: Using Capistrano With Phusion Passenger
SlightlyCoded : Using Capistrano With Phusion Passenger
Introducing CampTweet - a Twitter to Campfire update polling daemon
FiveRuns’ Brian Dainton has introduced CampTweet, a simple daemon that polls for updated Twitter statuses, Summize search results, and RSS/Atom feed items and posts them to a Campfire room. If your team is using Campfire and Twitter - check it out!
Mod Rails hosting two months on…
Media72 hosting talk about their switch to mod rails from FastCGI and the benefits it has bought.
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.
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.
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.