Forum: Ruby on Rails Looking for an example ...

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
Andrew C. (Guest)
on 2006-04-04 01:20
 ... for overriding the default behavior of scaffold's builtin create
and update handlers.

Any help would be grealy appreciated!

Bill W. (Guest)
on 2006-04-04 01:43
(Received via mailing list)
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." <removed_email_address@domain.invalid>
To: <removed_email_address@domain.invalid>
Sent: 2006-04-03 4:20 PM
Subject: [Rails] Looking for an example ...
Andrew C. (Guest)
on 2006-04-04 01:46
(Received via mailing list)
Yes, those methods were hidden, this helps alot. Thank you Bill! :)

This topic is locked and can not be replied to.