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.
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.
This Week in Ruby (April 28, 2008)
This Week in Ruby (April 28, 2008)
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.
Rack-ified Rails
Ezra Zygmuntowicz (of Engine Yard and Merb) is working on a fork of Rails that replaces the Rails CGI wrapping on incoming requests with a Rack adapter. As a side bonus, the fork uses a smaller global lock, excluding routing dispatch which should be thread safe. [more inside]
Logic based CAPTCHA for Rails
BrainBuster is a logic based CAPTCHA for use in Rails applications. Rather than give users a complex image to read, they get asked a question instead.
Building a Social Network Site in Rails
An article covering useful plugins and resources for building a social network site in Rails. About twelve plugins are covered.
Yahoo! Web Services in Ruby
Yahoo! Web Services are a set of online services that can be used by developers when creating “mashups”. These services are like a gateway to the huge amount of available data at Yahoo! José Carlos Monteiro looks at how to use these services with Ruby.
John Lam on IronRuby
A video update on Iron Ruby from John Lam recorded by David Laribee.
Instructions how to setup Ruby with Oracle client on Mac
Oracle just released new Oracle database client for Intel Mac and here are instructions how to setup Ruby with Oracle client on Mac.
Basic SQL join/index tutorial for Rails developers
A little article on the basics of SQL joins and indexes that may help you out if you’re not familiar with some slightly advanced SQL/DBA stuff yet.
Elastic Rails Servers now with Phusion Passenger (mod_rails)
Phusion Passenger (mod_rails) now available for inclusion in Rails Servers built via Elastic Server On-Demand. Build, deploy, and launch to Amazon’s EC2 in one click!
RubyLearning Interviews FiveRuns Developers
RubyLearning.com has posted interviews with two FiveRuns developers where they share their thought on Ruby. Check the out here: Adam Keys, Bruce Williams
Railers Need To Stop Not Caring About The Database
Interesting post over at the RubyFleebie blog on why Railers Need To Stop Not Caring About The Database
rails page cache with subdomain
In Chinese: How to use Rails page cache with subdomain cache page to RAILS_ROOT/public/subdomain/path .. http://posts.rubyflow.com/items/63 would cache to RAILS_ROOT/public/posts/items/63