Railsrocket - railsrocket.com - RailsRocket

Latest News:

PlainRL 1.0 Released 2 Jun 2009 | 02:34 am

I’ve been working quietly for the last eight months on PlainRL, a Ruby roguelike. It’s a full, working roguelike; it has the following features: Fully Random: Almost everything in the game is entirel...

Internationalizing Your Rails Application in 34 Languages eBook 27 Jan 2009 | 03:36 pm

We’re very pleased to announce our very on Ruby on Rails eBook: Internationalizing Your Rails Application in 34 Languages! The goal of this eBook is to help you get your Ruby on Rails application inte...

rake secret? 22 Jan 2009 | 07:49 am

If you’ve tried using Bort, the bootstrapped Rails skeleton application on steroids, you may have noticed one instruction in the readme file that says “Edit the REST_AUTH_SITE_KEY in each of the envir...

One-Shot Scaffolding Creation 10 Jan 2009 | 10:48 am

If you’re not that familiar with Rails, you might be creating your application domain entities (models, controllers, business objects, whatever you want to call them) like this: ruby script/generate ...

Private Member Variables in Ruby 18 Dec 2008 | 07:49 am

If you’re new to Ruby, especially if you’re coming from a Rails background, you probably use attr_accessor (if not outright adding columns to the table in Rails) to add member variables to a class. Li...

Internationalization (I18n) in Rails 2.2 5 Dec 2008 | 11:53 am

Rails 2.2 was released late November, about two weeks ago. Of all the new features, one of the most prominent is the out-of-the-box implementation of internationalization (i18n, because it has 18 lett...

Rails 2.1: UTC-Timestamped Migrations 26 Nov 2008 | 09:42 am

Rails 2.1 introduced UTC-timestamped migrations. What does this mean? Prior to Rails 2.1, when you added a migration, the number would be a simple three-digit number, like so. ruby script/generate ...

Looping Backwards in Ruby 20 Nov 2008 | 08:18 am

It so happens in Ruby that looping forwards is trivial; if you want to print out numbers from one to five, you can do so like this: (1..5).each do |i| puts i end This will print: 1 2 3 4 5 B...

The Controversial Eval Function 12 Nov 2008 | 09:15 am

Today we’re going to discuss one of those highly-controversial hot topics in Ruby (if there can be such a thing as a “hot topic” in programming languages)–the eval function. What does eval do? Quite ...

Block Comments in Ruby 6 Nov 2008 | 11:22 am

This is an easy one. How do you comment out a chunk of code? Other programming languages (C++, Java, etc.) have a slash-star style of block comments, like so: /* This is a block comment. You can put...

Recently parsed news:

Recent searches: