We use Scaffolding quite a lot for most of our projects. Some times we directly do Scaffold or use Scaffold_Controller to take care of creating the elements. However when were trying to use Scaffolding in our new project when we were trying to run scaffolds, they were raising errors for not connecting. After lots of research we found the problem.
The error was because we used RailRoad gem (RailRoady in Rails 3.0). RailRoady for some reason stops creation of Scaffolding activities. So we switched off the RailRoad gem in our GEM file and everything worked fine. The steps to do is as follows
Viola!!!