Hi, I am trying rails 2 and the dynamic scaffolding does not work. I wonder if the syntax changed or what?
It's been pulled:
dev.rubyonrails.org/changeset/7429
You can still get the same behavior by using the scaffold generator
included with rails, only the ActionController#scaffold method has
been removed. If you wanted scaffolding for the Product model, try
running script/generate Product. If you run script/generate with no
options, it will give you a quick help with examples. This is better
anyway as it creates the controller with all of the relevant code
included allowing you to see and change it.
Hope this helps.
-Bill
Hi Arash
IMHO, I think you would be better off looking at Active Scaffold.
CCH