ruby

You are currently browsing articles tagged ruby.

Ruby programmers are really lazy geeks:

require 'rubygems'
require 'rio'

rio("http://www.remote.com/file.jpg") > rio("#{RAILS_ROOT}/public/images/")

Rio gem RDoc

Two days ago, www.rubyonrails.com released the new version of rails, with lots of new cool stuff to play with.

And if your old projects are complaining after installing the new version, you just have to un-comment a simple line in your “config/environment.rb”:

  # Specifies gem version of Rails to use when vendor/rails is not present
  RAILS_GEM_VERSION = '1.1.6'

Always use protection

Newer entries »