Ruby on Rails : Tips and Tutorials

The Basics of Ruby Arrays

0.0/5 (0 votes cast)

Ruby has many exciting object oriented features, but a large percentage of your code will revolve around arrays. In this valuable tutorial, we’re going to show you some tips and tricks for this powerful data structure.

Ruby on Rails for DB2 developers

0.0/5 (0 votes cast)

IBM DeveloperWorks has a helpful howto on how to bring the worlds of Ruby on Rails and your DB2 framework together. From the article: 'Because Rails emerged from the open source world, until recently you had to use MySQL or PostgreSQL to work with it. Now that IBM has released a DB2 adapter for Rails, it's possible to write efficient Web applications on top of your existing DB2 database investment.'

Because Rails is a young framework, I thought it would be helpful to write up what I consider best practices when coding with it both for my new coworkers and the web at large. Here’s my current draft. Feel free to critique and comment. I’m very open to suggestions.

Set up Ruby on Rails in Windows

0.0/5 (0 votes cast)

Here's a quick Howto on setting up Ruby on Rails for Windows.

Beginning Relationships in Rails

0.0/5 (0 votes cast)

The Rails framework takes most of the headache away from developing these relationships and almost entirely eliminates the need to write low-level queries to your database. If you've spent time writing those queries, Rails' ActiveRecord will make sense, but for those of you who are just getting started this can be confusing.

This article is not intended to be a booster piece for Rails nor is it an expose. It’s simply an introduction to the technology. It contains both praise and criticism. At times the criticism might appear a bit heavy handed (especially to Rails enthusiasts), but don’t be fooled. Using any Web application framework is going to be tricky, whether it’s J2EE, ASP.NET, or PHP. In the long run, you can be a lot more productive with Rails than you can be with many other Web application development platforms, but it takes time to learn the ropes.

This article is not intended to be a booster piece for Rails nor is it an expose. It’s simply an introduction to the technology. It contains both praise and criticism. At times the criticism might appear a bit heavy handed (especially to Rails enthusiasts), but don’t be fooled. Using any Web application framework is going to be tricky, whether it’s J2EE, ASP.NET, or PHP. In the long run, you can be a lot more productive with Rails than you can be with many other Web application development platforms, but it takes time to learn the ropes.

Introduction to Ruby for Mac OS X

0.0/5 (0 votes cast)

Applie included Ruby with the Jaguar OS. In this article, Jim explains how to use this pure object oriented scripting language by exploring Ruby's features.

This article details the components of Rails and shows you how it works.Rails gives you an extremely quick way to develop flexible Web applications; this introduction just barely touched on what it's like to work with Rails. The full framework contains many useful classes and methods for carrying out the actions most used in Web-based applications.

Distributing Rails Applications

0.0/5 (0 votes cast)

In this tutorial, we'll go through the following steps: Setup the environment Create the SQLite database Develop the Rails application Create the RBA (= Ruby archive) from the application with Tar2RubyScript Create the standalone executable with RubyScript2Exe