New to Ruby on Rails? Spread the Word!: DIGG This | Add to del.icio.us
Rails411 is your one stop Ruby on Rails resource directory. Here you will find Ruby on Rails tutorials, Conference & Workshop Listings, Forums, and Hosting. We are the definitive guide for Ruby on Rails web applications, components, gems, scripts, and other related resources for Ruby on Rails. Accomplishing more with your Ruby on Rails website is easy with the help of these tested, pre-packaged, and ready-to-run resources.

Click any category to add your site for free.

Friday, May 16 2008

Tutorials & Code Snips

Categories




Listings
There are 69 listings in this category. Add your listing here
Understanding Ruby Symbols
Symbols in ruby are an enigma. We use them, but many don’t really understand them.
So really, what is a symbol?

Simply, a symbol is something that you use to represent names and strings. What this boils down to is a way to efficiently have descriptive names while saving the space one would use to generate a string for each naming instance...
(Hits: 233 | Votes: 0 | Visited: 70 | Added: 2006-05-22 13:45:02)
How To Do Test Driven Development In Rails
In a nutshell, test-driven development means writing tests before you start the implementation of a piece of functionality. From the (excellent) book, Agile Web Development with Rails – “Think of it as a specification for how you want the code to work. When the test passes, you know you’re done coding. Better yet, you’ve added one more test to the application.”

Here is how I would go about this process in Rails. I’ll be taking the example of a simpl ...
(Hits: 233 | Votes: 0 | Visited: 79 | Added: 2006-05-30 13:16:52)
How to design your Rails application

This one isn’t so much a recipe-styled “Howto” as it is a discussion piece regarding different approaches to designing and developing your application.

It was initially prompted by intinig’s question about an approach to Rails development

(Hits: 235 | Votes: 0 | Visited: 81 | Added: 2006-05-30 13:04:37)
Agile Asset Management with Ruby DSLs
A domain specific language is a language-oriented tool designed to solve a specific set of programming tasks. Common traits are very close to the problem domain within which the language is intended to work, and operating at a very high level of abstraction. In his article about DSLs, Martin Fowler classifies DSLs as either external or internal (see link). An external DSL is a programming language that is either compiledor interpreted. An internal DSL is built within a general- ...
(Hits: 302 | Votes: 0 | Visited: 113 | Added: 2006-07-16 00:23:55)
Oracle - from Ruby Wiki
Information about Rails and Oracle integration. (may be outdated)
(Hits: 304 | Votes: 0 | Visited: 69 | Added: 2006-07-16 00:49:40)
Programming Ruby The Pragmatic Programmer's Guide
This book is a tutorial and reference for the Ruby programming language. Use Ruby, and you'll write better code, be more productive, and enjoy programming more.
(Hits: 321 | Votes: 0 | Visited: 52 | Added: 2006-07-29 19:15:15)
Rails Best Practices, Tips and Tricks
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...
(Hits: 344 | Votes: 0 | Visited: 140 | Added: 2006-05-22 13:46:31)
The Amazing Rails Pluralizer

One of the features of Rails that confuses people learning the framework is the automatic pluralization of Model and table names.

Because Rails emphasizes convention over configuration, it’s important that you use the right terms. The Rails generators do not enforce these configurations, so you must learn and follow them. For example, the convention is to use singular model names, but the generator will let you use a plural. Don’t do it! Use the singular for you ...

(Hits: 345 | Votes: 0 | Visited: 96 | Added: 2006-05-22 12:38:54)
Automated Setup of lighttpd.conf on TextDrive
Over the weekend I wrote Shovel, a Switchtower task that automatically builds a customized lighttpd.conf for you on TextDrive. It also builds the required directories, schedules a cron to start lighttpd when the server reboots, and does other tedious tasks.

This is EXPERIMENTAL, but I used it to setup and deploy several Rails apps to TextDrive this weekend....
(Hits: 356 | Votes: 0 | Visited: 102 | Added: 2006-05-22 12:45:28)

Results 46 - 54 of 69
<< Start < Prev 1 2 3 4 5 6 7 8 Next > End >>