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.

Sunday, September 7 2008

Tutorials & Code Snips

Categories




Listings
There are 69 listings in this category. Add your listing here
How to Use Rails With Subversion
This assumes that you have already created a subversion repository, and you are just wondering how to setup your rails project.
(Hits: 384 | Votes: 0 | Visited: 107 | Added: 2006-05-30 13:00:00)
Surviving Rails 1.1 With Server Monitoring
Between 9pm and 10pm PST last night, Dreamhost (and reportedly TextDrive) decided to upgrade to Rails 1.1, resulting in mass havoc, confusion, and probably a few tears. Typo isn’t compatible yet, so bloggers all across the Rails-o-sphere cried out in silence.

Personally, I was hoping for such a world-ending event so I could try my new server monitoring tool. It worked!

But first….
(Hits: 388 | Votes: 0 | Visited: 105 | Added: 2006-05-22 13:15:41)
How To Use Unicode Strings
While you can’t use Unicode strings with ruby, you can store UTF-8 encoded data in your 8-bit strings. However some of the String methods assume a single byte encoding and therefore return wrong results. Besides, without proper settings you will get output and input as sequences of bytes and you might get parse errors in literals.
(Hits: 391 | Votes: 0 | Visited: 106 | Added: 2006-05-30 13:24:26)
Ruby Oracle 7 library
An alternative ruby library for Oracle 7 users
(Hits: 391 | Votes: 0 | Visited: 109 | Added: 2006-07-16 00:47:49)
Test Driven RJS with ARTS

RJS is really a pain to debug. When things aren’t working right, they often don’t show up on the page at all. These truths make testing RJS especially important. When researching for this article, I looked into the rjs_assertions plugin, but was generally unhappy with the offerings. rjs_assertions isn’t complete and the syntax felt cryptic. So, I rolled my own...

(Hits: 393 | Votes: 0 | Visited: 100 | Added: 2006-07-16 00:32:44)
How to Change Session Options
This article introduces how to change session options, both globally(for your entire application) and per controller/per action.
(Hits: 394 | Votes: 0 | Visited: 100 | Added: 2006-05-30 13:23:04)
An Even Better Way to Build Ruby, Rails, Lighttpd, and MySQL on Tiger
Basic tutorial on building Rails on Tiger
(Hits: 395 | Votes: 0 | Visited: 99 | Added: 2006-05-22 13:06:05)
The Complete Guide to Rails Plugins: Part II
Plugins are self-contained libraries made specially for Rails. They are a great way to reuse someone else’s code or to package your own code for reuse.

This is the second of a three part tutorial on writing plugins for Ruby on Rails.
(Hits: 395 | Votes: 0 | Visited: 17 | Added: 2006-05-22 13:21:26)
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: 395 | Votes: 0 | Visited: 114 | Added: 2006-05-30 13:16:52)

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