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.

Wednesday, August 20 2008

Tutorials & Code Snips

Categories




Listings
There are 69 listings in this category. Add your listing here
Starter Toolkit for DB2 on Rails
Users starting with Ruby and Rails are faced with the task of downloading source code, obtaining compilers, compiling code, and finding a relational database to use. Starter Toolkit for DB2® on Rails is a conveniently-packaged set of products and technologies that enables the quick creation of a configuration for building DB2 Web applications using Ruby on Rails technology.
(Hits: 347 | Votes: 0 | Visited: 118 | Added: 2006-06-25 21:28:01)
Using Capistrano with Perl (or PHP)
Theoretically, you can use the Switchtower Capistrano deployment system with Perl, PHP, or any other system. I haven’t seen a tutorial for doing it with non-Rails systems, so here is how I did it tonight...
(Hits: 347 | Votes: 0 | Visited: 90 | Added: 2006-05-22 13:13:24)
rake, rake, rake your boat
On the latest Rails Podcast I spoke with Jim Weirich. Jim is a great person and a fantastic programmer. One of his contributions to the Ruby community is the rake build system.

You can use rake to automate all kinds of tasks. And of course, Rails takes advantage of it in a big way. Last summer I automated a few tasks by adding files to the ‘script’ directory. I thought I was being clever by doing a ‘require’ on ‘environment.rb’ and accessing my mode ...
(Hits: 347 | Votes: 0 | Visited: 99 | Added: 2006-05-22 13:12:36)
How To Set The Base URLs Of Your Rails Apps
The default rails Installation Instructions walks you though setting up a single Rails application that comprises your entire web site (in other words, the ApplicationRoot is the same as the web server’s DocumentRoot). Perhaps this is all you want.

Frequently, however, you will want a little more flexibility; perhaps you want to integrate your Rails application into an existing web site (with the \ApplicationRoot as a sub-directory of the webserver’s \DocumentRoot). Or may ...
(Hits: 347 | Votes: 0 | Visited: 87 | Added: 2006-05-30 13:25:56)
Gruff with Rails, Typo Rewrite
Faithful reader Greg asked how one can use Gruff with Rails. There are a few different ways and I hope to make a Rails generator or rake task to make this a little easier. First, add to environment.rb.....
(Hits: 347 | Votes: 0 | Visited: 136 | Added: 2006-05-22 12:44:18)
Why and How: Ruby (and Rails) Unit Testing
One thing I love about Ruby is the built in unit tests. As someone who is working to use better developing methodologies, having unit testing avaliable with no effort makes it that much easier to try out things like Test Driven Development. Unit testing also has an important place in Rails development. I enjoyed the format of my article on migrations, so we’ll try that again. The why and how of unit testing, coming right up....
(Hits: 347 | Votes: 0 | Visited: 91 | Added: 2006-05-22 13:48:41)
The Complete Guide to Rails Plugins: Part I
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 first of a three part tutorial on writing plugins for Ruby on Rails...
(Hits: 347 | Votes: 0 | Visited: 111 | Added: 2006-05-22 13:19:51)
Testing PayPal Web Services with Ruby soap4r
While playing around programming my first ecommerce application with Ruby on Rails, I felt like trying out some serious stuff like integrating PayPal web services and found some good info-threads on Google groups for soap4r and even a test script on the Ruby on Rails wiki. With all this help, I still struggled for a few hours to get things to work and the causes of errors were annoyingly banal (as usual...huh). I had to make some very minor corrections in the test code on the wiki to make the Pa ...
(Hits: 347 | Votes: 0 | Visited: 111 | Added: 2006-07-16 00:44:59)
Rails Testing Guide: The Lo-Down on Fixtures

The structure is one thing, but what about when I want to automatically create sample data?

Enter fixtures. Fixtures is a fancy word for ‘sample data’. Fixtures allow you to populate your testing database with predefined data before your tests run. Fixtures are database independent and assume one of two formats: YAML or CSV.

(Hits: 347 | Votes: 0 | Visited: 92 | Added: 2006-05-30 13:13:48)

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