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.
Recurring billing with Authorize.net
The SaaS Rails Kit now supports Authorize.net CIM, so now it’s even easier to get going with subscription payments for your Rails app.
Developing Rails applications in Emacs
Here you can find some tips as how to turn your Emacs into a top notch Rails development environment.
Introducing is_rateable
I need a rating system and wanted something different than acts_as_rateable and decided that I would try to come up with one more tailored to my needs. [more inside]
Automate Your Rails Deployment
This CitrusByte blog post gives an overview of automating rails deployment with Phusion Passenger + Apache2.
Nice and easy model versioning
So you like acts_as_versioned but you can’t stand the way it stores versions with one more table per model (oh and you want to add columns later to your model ? puhleaaaaaase: don’t). Meet Matt Mower’s Simply Versioned. Good. Now you got millions of database entries with only a few altered ? You can’t version everything ! And what about only versioning entries which have really been changed, not just saved ? Then meet my fork (for Rails >2.1 only).
Schema.rb
Should schema.rb be included in your source control?. The answer may surprise you. Or it may not, who am I to know?
Rails TakeFive interview with Ryan Bates
FiveRuns has posted the latest Rails TakeFive interview, this week featuring Ryan Bates of Railscasts.
http://rails-doc.org/
“Are documents necessary?” At least we think so. That’s why we brought you the Rails-doc 2.0 release with the long-waited (at least for a month) features: multiple versions support and full-text search! Minor improvements include OpenID, gravatars, the new dashboard, Firefox search plugin and of course tons of bugfixes.
Ian Ownbey askes if docs are necessary
Ian Ownbey tells the world that all this hubub is useless, and docs aren’t necessary
Rails Envy Podcast #38 & We ain't got no RSpec
The Rails Envy Podcast #38 was released yesterday, bringing you the latest Ruby & Rails news in Audio Podcast format. Also check out We ain’t got no RSpec, one of the funniest voicemails / remixes we’ve ever heard. Good for a laugh.
The complete guide to setting up starling
Here is the complete guide to setting up starling. Includes installing, configuring your workers, and then monitoring the services with god.
Persistent Cookie Login Generator
expedia/travelocity/amazon.com style delayed authentication via the Persistent Cookie Authentication Generator
Google Analytics Plugin for Rails gains support for local cached copies
As mentioned here, I’ve just added some updates to the Google Analytics Plugin for Rails that adds support for local cached copies of the legacy and new Analytics JavaScript files. It includes full support from the Rails AssetTagHelper module, so timestamps, asset id’s and asset hosts are all used. A convenient rake task makes sure files are kept updated at deployment time, or via cron.
Waves 0.7.7 released
The Waves team has released version 0.7.7. Named Briareus after a mythical Greek titan with a hundred arms, this release includes ActiveRecord support, Haml support , many more tests, and revised documentation. ORM can be chosen at app generation time with a simple switch. Once again many things either have changed or are changing below the surface, so check it out if you haven’t for a while, or dive in for your first time.
Mack 0.6.0 Released
Mack, the distributed Ruby web framework, has been upgraded to 0.6.0. Improvements include, DataMapper 0.9.2 support, RSpec support, transactional tests, Internationalization, and more. Enjoy!
Rails and iPhone web apps, part 3
Part 3 of Developing iPhone applications using Ruby on Rails has been posted. It covers panels, forms, and capturing when the user turns the phone. Also see Part 1 and Part 2.
Matz loves Python?
Matz love Python (and why not I ask?). ;)
Sexy Forms in Rails
An easy way to override the default Rails form output to generate sexy forms. Automatically provides labels for input tags (great for screen readers) and visual cues for required fields.
Cookie handling in multi-domain applications in Ruby on Rails
If you are developing a multi-domain application (e.g. with many national domains) and also want to use many subdomains (e.g. for content language), you may run into problems with cookies. Cookie handling in multi-domain applications in Ruby on Rails show how to use a little known trick (or an obscure hack, if you will) to do it properly.
New release of BackgroundFu
New release of BackgroundFu: This is mainly a maintenance release. I have updated default views, removed some depreciations, fixed some minor bugs. Enjoy! I’d like to invite anoyone who would like to work with me on a spec suite for BackgroundFu. Just fork the project and go along the usual route.
Centostrano 0.1 - deprec 2 port to CentOS released!
Centostrano 0.1 - deprec 2 port to CentOS released! Also I wrote blog post how to use it.
How to read web feeds (RSS, Atom)
Gerald Bauer published a mini tutorial on “How to read web feeds (RSS, Atom) using the standard Ruby library”.
Using jQuery with Rails
In this extended example, several types of JavaScript interaction are shown using jQuery as the JavaScript toolkit within a Rails project.
A close look at three Rails 2.1 bugs
A close look at three Rails 2.1 bugs.
Better caching for Rails with version_cache plugin
Caching helps alot with improving performance of your rails application but it can be a real pain and source of troubles if not done right. version_cache plugin tries to solve this problem by caching pages based on model versions. Whenever a model’s version changes, the associated page is considered to be expired. It saves you the trouble of expiring your cache which is almost the worst thing about caching.