Hmmm... I am new to Rails 2. I couldn't make Activescaffold work with rails 2 so, I moved from to Rails 1.2.6.
1. Do you have a detailed exception in the log file or the screen? 2. After reading http://wiki.rubyonrails.org/rails/pages/NoMethodError, my guess is that it might be a reserved method for Activescaffold. Try renaming the method to myviewmany1 or such. On Sep 2, 1:59 am, Chirantan <[EMAIL PROTECTED]> wrote: > Sri, > > My User Controller looks like this: > > =============================== > > class UserController < ApplicationController > active_scaffold :user > > def viewmany > #do nothing > end > end > > =============================== > > My user view directory contents look like this: > > Directory of E:\Workspace\YellowPages\FileSharing\app\views\user > > 09/01/2008 06:32 PM <DIR> . > 09/01/2008 06:32 PM <DIR> .. > 09/01/2008 06:32 PM 238 viewmany.html.erb > > =============================== > > Also, I am using JFernandez's forked version of active_scaffold as I > am working on Rails 2.1 > > =============================== > > Within viewmany.html.erb, I am rendering scaffolds of 2 other > controllers. The content of viewmany.html.erb is: > > <div id="UserDropScaffold" style="width: 600px; height: 480px;"> > <%= render :active_scaffold => 'drop', :constraints => { :user_id > => '1'}, :label => 'Drops by User_ID 1' %> > <%= render :active_scaffold => 'request'%> > </div> > > =============================== > > Let me stress on this that when I make the user controller NOT use > active_scaffold, the view is rendered perfectly. > > =============================== > > Hope this helps. I wonder whats going wrong. Am I doing a silly > mistake somewhere? > > Chirantan --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "ActiveScaffold : Ruby on Rails plugin" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/activescaffold?hl=en -~----------~----~----~----~------~----~------~--~---
