I have been using modules with my controllers. If you are following RESTful Rails application development you might end up with lots of skinny controllers. One way of logically grouping your controllers is to use modules.
script/generate controller mymodule/mycontroller
does this for you. But what about routes? In your routes.rb file you would [...]
Posted on June 27th, 2007 by dysinger
Filed under: Uncategorized | No Comments »
Install Debian 4 just like you normally would. Choose a minimal install with no tasksel features (No Desktop - No Standard). Your finished install OS from this point forward will be referred to as the Host while virtual images will be referred to as Guests (below). I’m just going to tear into [...]
Posted on June 14th, 2007 by dysinger
Filed under: Uncategorized | No Comments »
Did I mention how cool NetBeans Ruby IDE is yet? David Hansen showed some basic text console debugging at RailsConf but seriously - who wants to mess with walking through running code at the command prompt? Not me.
Today, using the NB Ruby IDE, I walked through some thorny configuration code in ActiveScaffold using [...]
Posted on June 9th, 2007 by dysinger
Filed under: Uncategorized | No Comments »
I configured my macbook to accept all local mail and then forward it to my personal email account. This is super useful for testing your local Ruby on Rails ActionMailer. You can send to any made up name @localhost or @my.machine.name and it will end up in your mail box. Here’s the [...]
Posted on June 4th, 2007 by dysinger
Filed under: Uncategorized | No Comments »
Update 09/15/07: You now must use git to install Rubinius.
I installed Rubinius trunk from source last week for fun on the Mac. Having MRI Ruby 1.8.6, Rubinius trunk and JRuby trunk all on my system at once helps in my efforts to contribute to the JRuby project. You can compare output from multiple [...]
Posted on June 1st, 2007 by dysinger
Filed under: Uncategorized | No Comments »