« Return to Thread: Updating a custom extension for 0.6.7

Re: Updating a custom extension for 0.6.7

by willhaus :: Rate this Message:

Reply to Author | View in Thread




On Jul 5, 1:03 pm, Jim Gay <j...@...> wrote:

> It says
> ActionController::UnknownAction (No action responded to index):
> So check to see if you have an index method created in your controller.
> It's possible that you have something like 'map.resources :lawyers' in  
> your extension file so it expects an index method by default, but  
> perhaps it was first created with something like 'home' as the index-
> like method.
>
> When you see a stack trace like that, start looking through it for  
> information that comes out of your code and you'll know where to look.
> All of those lines say something like '/vendor/radiant/blah/blah...'  
> but you'll want to look for a path to your own stuff, like:
> "/vendor/extensions/lawyers/app/controllers/admin/
> lawyers_controller.rb:9 in 'index'"
> And then you'll know to look at line 9 in the index method of  
> lawyers_controller.rb
> That's just an example.

Okay, thanks. I'll dig around some more.

To that end I realized that my snippet from the log file before was
incomplete - it only showed the data from the "Page Not Found" error.
The following pastie also shows the prior 500 error-
http://pastie.org/228220

And to the degree they might be are helpful-
my extension.rb file: http://pastie.org/228223
my lawyers_controller.rb file with the offending scaffold: http://pastie.org/228226

Thanks again - on a holiday weekend no less!
--~--~---------~--~----~------------~-------~--~----~
Radiant CMS Dev Mailing List
Post:        radiantcms-dev@...
Unsubscribe: radiantcms-dev-unsubscribe@...
Group Site:  http://groups.google.com/group/radiantcms-dev/
-~----------~----~----~----~------~----~------~--~---

 « Return to Thread: Updating a custom extension for 0.6.7

LightInTheBox - Buy quality products at wholesale price!