Initialize max value with Ruby on Rails ActiveRecord, automagically, from fat controller to smart model

Problem : you have a Object, lets call it “Item” with a “Display Order” Field, (called display_order, a integer) with controls the order which item are displayed. When the item is created you could have the field blank and expect Continue reading Initialize max value with Ruby on Rails ActiveRecord, automagically, from fat controller to smart model

Building a Cascading Drop Down Selection List for Ruby on Rails with jQuery Ajax

A frequent need in building web site application is to have users select one value and then, based on that value, select another value. Real world needs for related values might be : Select a Country and then State or Continue reading Building a Cascading Drop Down Selection List for Ruby on Rails with jQuery Ajax

The Real Lessons From Twitter and it’s an Evolving Architecture

The Real Lessons From Twitter If you were thrown into a fight, would you start punching or would you open up your iphone and start browsing web pages about Karate? : 1. If people use it, it’s valuable 2. Product, Continue reading The Real Lessons From Twitter and it’s an Evolving Architecture

The Real Reason for no Increased productivity behind Scripting Languages, reveled.

In a lazyweb “fools seldom differ” moment, my post The Real Reason for Increased productivity behind Scripting Languages (commenting on a XKCD comic) has been riffed on by Bart of “Moves on Rails” : The new programmers excuse for slacking Continue reading The Real Reason for no Increased productivity behind Scripting Languages, reveled.