Looking for an example

… for overriding the default behavior of scaffold’s builtin create
and update handlers.

Any help would be grealy appreciated!


Hi Andy,

If by handlers you mean the controller action methods, you just add your
to the controller. I’m guessing you’re using the old Rails magic that
those methods hidden. I find it less confusing to make them explicit

ruby script\generate scaffold Model Controller

The controller will contain all the built in methods. Override them at

----- Original Message -----
From: “Andrew C.” [email protected]
To: [email protected]
Sent: 2006-04-03 4:20 PM
Subject: [Rails] Looking for an example …

Yes, those methods were hidden, this helps alot. Thank you Bill! :slight_smile:


This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs