Refactor Christmas, Be Agile, and Be Happy

Charity, Ruby on Rails No Comments »
Here is a great story of Ruby on Rails being used for a great non-profit fundraiser idea that I can't wait to buy into. This Christmas I was truly unhappy with the amount of gifts that flooded our family's lives. Its just become too much and I feel like Heather and I need to take the lead by giving something truly meaningful like a half a day of a cancer researcher's time, buy a week of landmine detection for a mere $55, or displace cocaine farms in Columbia by subsidizing coffee bean farms. Well Bruce is fortunate enough to have an opportunity to build this with Rails. And the results have been phenomenal:

Best Company Name of the Year, has_many: developers

Ruby on Rails 2 Comments »
I just ran into these guys while stumbling upon sites and this has to be the best name of the year for a Ruby on Rails consulting firm.

Setup a Subversion Server in 4 Minutes

Code, Linux 18 Comments »
You are going to need to type fast but I think you can do it in 4 minutes. :) These are my notes on what worked for me on my Fedora core 6 with svn lib already installed by the package manager: 1. Create a Repository svnadmin create /svnrepos

Custom Scaffold for Rails

Code, Ruby on Rails 19 Comments »
Ruby on Rails Custom ScaffoldingIt has been said so many times that scaffold generator is only useful for learning how Rails works and maybe for rapid prototyping and I certainly agree. But scaffold is one of the big things that really excited me when I first discovered Rails. Why is Scaffold Generated Code Useless? Actually I think the stubbed out functions in the controller as well as most of the views are already a great time saver but its really the generated list and show code that is useless:

 

[source:ruby] [/source] Iterating over columns means that I can do nothing but rip this out and explicitly write out each column so I can then change the look and feel to be consistent with my app. Also, what if I want to use div's instead of tables? Rip it apart.
WP Theme & Icons by N.Design Studio
Entries RSS Comments RSS Login