Behavior-driven Testing with RSpec
in Ruby added by admin, on 31/3/2008 intermediate rspec testing
Testing fever has infected the Ruby programming community, and the infection is spreading. One of the most promising innovations in testing in the past year is the introduction and rapid growth of RSpec, a behavior-driven testing tool. Learn how RSpec can change the way you think about testing.
comment save reportRegistration form with Merb and Datamapper
in Ruby added by prodevtips, on 27/2/2008 examples framework intermediate oo programming
How to setup a semi-advanced registration form with Merb and Datamapper with validators and stuff.
comment save reportRails Messaging Tutorial
in Ruby added by admin, on 26/2/2008 examples intermediate messaging
This guide aims to be a simple, logical tutorial showing how to develop a simple Rails messaging system with all of the trimmings with Ruby on Rails (v2.0.2). This tutorial is intended for beginner to intermediate Rails users. If you've never used Rails before, I suggest you check out any of the excellent introductions out there.
comment save reportMerb and Datamapper on Ubuntu with XAMPP
in Ruby added by prodevtips, on 20/2/2008 beginner tutorials framework oo programming
Basic setup tutorial to get you started with Merb and Datamapper.
comment save reportAdding Type Checking to Ruby
in Ruby added by admin, on 6/2/2008 intermediate type
What’s the first thing you think of when you consider the Ruby Language? Dynamic types, right? Ruby is famous (infamous?) for its extremely flexible type system, and as a so-called “scripting language”, the core of this mechanism is a lack of type checking. This feature allows for some very concise expressions and a great deal of flexibility, but sometimes makes your code quite a bit harder to understand.
comment save reportRuby Spin-up: Where Did That Method Come From?
in Ruby added by admin, on 28/1/2008 beginner tutorials examples oo programming
A tutorial that gives a nice background on some object-oriented thinking in Ruby, including classes, superclasses, modules, and singleton methods. It's a straightforward tutorial aimed at those who have gotten their feet wet in Ruby, but not the object-oriented aspects of Ruby.
comment save reportSorting Data with List and Table Widgets [pdf]
in Ruby added by admin, on 9/1/2008 FXRuby beginner tutorials desktop app framework gui
The simple widgets that we learned about in the previous chapter primarily deal with a single value (if they have any real "value" associated with them at all). FXRuby also provides a number of more complicated widgets for dealing with collections of values.
comment save reportRuby blocks gotchas
in Ruby added by admin, on 31/12/2007 blocks intermediate metaprogramming
There's this thing they say about Ruby - everything is an object. It's true, with very few exceptions, one of them being the block. Well guess what, this little gem of an inconsistency came back to bite me when I was trying to do something involving dynamic redefinition of methods.
comment save reportConfiguring ActionMailer
in Ruby added by admin, on 10/12/2007 beginner tutorials email
Configuring ActionMailer for the first time can be a little bit troublesome. You have to worry about the server, port, domain, authentication, address to send from and whether you're configuring smtp or sendmail. You have to set things up for both your production and development servers, and you have to make sure that everything's kosher so that your messages won't get knocked down by spam filters.
comment save reportRails 2.0: It's done!
in Ruby added by admin, on 9/12/2007 news ruby on rails
Rails 2.0 is finally finished after about a year in the making. This is a fantastic release that's absolutely stuffed with great new features, loads of fixes, and an incredible amount of polish. We've even taken a fair bit of cruft out to make the whole package more coherent and lean.
comment save reportRuby on Rails on Oracle: A Simple Tutorial
in Ruby added by admin, on 29/11/2007 database intermediate oracle ruby on rails
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.
comment save report10 Reasons to Learn Ruby
in Ruby added by admin, on 27/11/2007 beginner tutorials
There are plenty4 of introductions, tutorials, articles and essays of different sorts which aim to guide the novice and advise the guru on how to get the most out of Ruby. This article, however, is not one of them.
comment save reportAIM Bot in Ruby
in Ruby added by admin, on 23/11/2007 AIM beginner tutorials network
Was searching for how to do an AIM Bot in Ruby tonight. Screwed around a bit with ROscar and Raimbot. But the light at the end of the tunnel is here: Net::TOC.
comment save reportUsing Ruby on Rails for Web Development on Mac OS X
in Ruby added by admin, on 18/11/2007 beginner tutorials framework ruby on rails
It should come as no surprise that Mac OS X is a favored platform for Rails development. Rails and its supporting cast of web servers and databases thrive on the rich Mac OS X environment. A popular text editor used by many Rails programmers is TextMate, a Cocoa application. And all members of the Rails core development team work with Macs.
comment save report