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.
Phusion Passenger 1.0.3
Phusion Passenger 1.0.3 now available for inclusion in Rails Servers built via Elastic Server On-Demand. Build, deploy, and launch to Amazon’s EC2 in one click!
Hobofields: Automatic Migration Generator
Hobofields is an automatic migration generator. Annotate your model with the fields required as you go, then Hobofields generates the required migrations.
Gemstone enters Ruby space: MagLev - Ruby built on Smalltalk VM
InfoQ reports MagLev: Gemstone builds Ruby runtime based on Smalltalk VM. Article contains interview with MagLev Project manager, technical details and comments by Avi Bryant (who’s involved with the project).
How to fine tune inflector in Merb
Another blog post on Merb: this time on fine tuning inflector in Merb.
Semantics is not Syntax
New post from FiveRuns developer Mike Perham on his switch to Ruby. Fundamentals matter, even as times change.
Webistrano - Capistrano Web-UI
Webistrano 1.3 has been released; read the announcement. Webistrano is a Web UI for managing Capistrano deployments. It lets you manage projects and their stages like test, production, and staging with different settings. Those stages can then be deployed with Capistrano through Webistrano.
better vendor/gems
A better approach to vendor/gems that will likely be unnecessary with config.gem in Rails 2.1
Ruby Web Server in 1 Line of Code
Have seen a rather clever Web server in a single line of Ruby code over at Code Snippets.
Small Moments of Elegance
Just posted this article by FiveRuns head of development and technology, Steve Sanderson. Check out Steve’s thoughts on the beauty that can come from simplifying technical and user experiences while reducing the amount of code.
Parsing Quoted Strings in Ruby
If you need to parse quoted strings in Ruby, a lesser-known module called Shellwords from the Ruby Standard Library is a handy utility.
Some Security Concerns While Programming In Ruby
Vulnerabilities like command injection attacks result from inadequately designed or written Ruby code, creating opportunities for attackers to threaten privacy and steal data. The only way to eliminate vulnerabilities is to get them where they live: in the source code itself. Here are some security concerns while programming in Ruby.
MetricsFu
Jake Scruggs demonstrates how to use MetricFu to produce good looking metrics and reporting for your Rails application.
Simple ruby wrapper for Wikipedia API
The new Wikipedia API is pretty cool, so I have used my Sunday afternoon to write a simple ruby wrapper for it. It’s only a couple of hours old, so its still pretty volatile. The source is available on GitHub
Stage: Code generator for Merb/Rails
Stage is a code template generator that utilizes helpers as presenters to reduce ruby code used in Merb and Rails views. This blog post has a bit more of a descriptive overview. The idea behind stage is to DRY the view code and use helpers as presenters to reduce the Ruby code used in your views.
RailsKits
Rails Kits brings ready-made Rails code for a price ($249 single site $999 multiple). More than just plugins, these starter kits can act as the foundation of your new Rails application. The first Rails Kit is the Software as a Service Rails Kit. [more inside]
Multiple Rails Apps on a Single 256mb Slice Using mod_rails
A lot of history and some tips on setting up a Slicehost 256mb slice with Passenger in Another Passenger on the mod_rails.
Get setup with git-svn for rails
Fancy trying Git but you need to stick with Subversion? Too busy to have got round to learning how to get started with git-svn? Cut out the boring part and give git-me-up a whirl. It’ll make a local git repo for you, pull your code in from subversion, and automatically deal with Rails plugins setup via svn:externals.
Announcing: Feather
Announcing Feather, a Merb based blogging engine with a lightweight core framework, and a robust set of plugins, now open source and ready for contributions!
GitHub Becomes A Gem Server!
Great news! GitHub, the de-facto Git repository host / social network, now directly serves Ruby Gems hosted in Git repositories. This is a really big deal.
Mack (Ruby Web App Framework) Hits 0.4.7
Version 0.4.7 of the Mack framework has been released. Significant improvements to this modular “Rails-lite” framework are namespaced routes and easy file upload capabilities (just two lines of code in a controller).
5 Little Known Rails Methods
The Rails Spikes blog presents 5 little-known Rails methods. Namely: query_attribute, polymorphic_path, debug, a Rake task, and extract_options!
The Ruby on Rails Link Library
The Ruby on Rails Link Library is a big, well structured link collection for Ruby on Rails developers with almost daily updates.
Rails TakeFive Interview with Michael Slater
Here’s a TakeFive interview with Michael Slater on the FiveRuns blog where he shares his thoughts on Ruby on Rails.