Thanks !

Did you leave some debugger calls in there by accident ?
My logs are full of Debugger requested ......


/S


[email protected] wrote:
> On Fri, 22 May 2009 08:13:04 -0700, Soren Christensen <[email protected]>
> wrote:
>   
>> Backtrace:
>> Processing UserLoginsController#show_search (for 192.168.0.216 at 
>> 2009-05-21 08:53:21) 
>> [GET]                                                                    
>>     
>  
>   
>> Parameters: {"action"=>"show_search", "_method"=>"get", 
>> "adapter"=>"_list_inline_adapter", 
>> "controller"=>"user_logins"}                                             
>>     
>  
>   
>>                                                                        
>> NoMethodError (undefined method `list_search_formats' for 
>> #<UserLoginsController:0x2aae28316c20>):   
>>     
>
> It was a typo in live_search, it's fixed now
>                                 
>   
>>                             
>> passenger (2.1.2) lib/phusion_passenger/rack/request_handler.rb:65:in 
>> `process_request'                                                        
>>     
>  
>   
>>               
>> passenger (2.1.2) 
>> lib/phusion_passenger/abstract_request_handler.rb:197:in 
>> `main_loop'                                                              
>>     
>  
>   
>>          
>> passenger (2.1.2) 
>> lib/phusion_passenger/railz/application_spawner.rb:340:in 
>> `start_request_handler'                                                  
>>     
>  
>   
>>         
>> passenger (2.1.2) 
>> lib/phusion_passenger/railz/application_spawner.rb:298:in 
>> `handle_spawn_application'                                               
>>     
>  
>   
>>         
>> passenger (2.1.2) lib/phusion_passenger/utils.rb:176:in 
>> `safe_fork'             passenger (2.1.2) 
>> lib/phusion_passenger/railz/application_spawner.rb:296:in 
>> `handle_spawn_application'                                               
>>     
>  
>   
>>         
>> passenger (2.1.2) lib/phusion_passenger/abstract_server.rb:332:in 
>> `__send__'    passenger (2.1.2) 
>> lib/phusion_passenger/abstract_server.rb:332:in `main_loop'   passenger 
>> (2.1.2) lib/phusion_passenger/abstract_server.rb:182:in 
>> `start_synchronously'                                                    
>>     
>  
>   
>>                   
>> passenger (2.1.2) lib/phusion_passenger/abstract_server.rb:149:in 
>> `start'       passenger (2.1.2) 
>> lib/phusion_passenger/railz/application_spawner.rb:192:in 
>> `start'                                                                  
>>     
>  
>   
>>         
>> passenger (2.1.2) lib/phusion_passenger/spawn_manager.rb:260:in 
>> `spawn_rails_application'                                                
>>     
>  
>   
>>                     
>> passenger (2.1.2) 
>> lib/phusion_passenger/abstract_server_collection.rb:121:in 
>> `lookup_or_add'                                                          
>>     
>  
>   
>>        
>> passenger (2.1.2) lib/phusion_passenger/spawn_manager.rb:254:in 
>> `spawn_rails_application'                                                
>>     
>  
>   
>>                     
>> passenger (2.1.2) 
>> lib/phusion_passenger/abstract_server_collection.rb:75:in 
>> `synchronize'                                                            
>>     
>  
>   
>>         
>> passenger (2.1.2) 
>> lib/phusion_passenger/abstract_server_collection.rb:74:in 
>> `synchronize'                                                            
>>     
>  
>   
>>         
>> passenger (2.1.2) lib/phusion_passenger/spawn_manager.rb:253:in 
>> `spawn_rails_application'                                                
>>     
>  
>   
>>                     
>> passenger (2.1.2) lib/phusion_passenger/spawn_manager.rb:148:in 
>> `spawn_application'                                                      
>>     
>  
>   
>>                     
>> passenger (2.1.2) lib/phusion_passenger/spawn_manager.rb:285:in 
>> `handle_spawn_application'                                               
>>     
>  
>   
>>                     
>> passenger (2.1.2) lib/phusion_passenger/abstract_server.rb:332:in 
>> `__send__'    passenger (2.1.2) 
>> lib/phusion_passenger/abstract_server.rb:332:in `main_loop'   passenger 
>> (2.1.2) lib/phusion_passenger/abstract_server.rb:182:in 
>> `start_synchronously' 
>>
>> Controller:
>>
>> class UserLoginsController < ApplicationController
>>
>>   before_filter :login_required
>>
>>   before_filter :admin_required
>>
>>   layout "default"
>>
>>   active_scaffold :user_login do |config|
>>
>>      config.action_links.add 'logout', :controller => "logout",
>>           :action => '',
>>           :page => true, :label => "Logout"
>>
>>      config.action_links.add 'home', :controller => 'forms',
>>           :action => "index", :page => true,
>>           :label => "Home Page"
>>
>>      config.actions.swap :search, :live_search
>>
>>      config.list.columns = [:user, :created_at, :http_user_agent, 
>> :remote_host, :remote_addr,
>>         :login, :password]
>>
>>      config.list.sorting = [{ :created_at => :desc}]
>>
>>      config.label = "User Logins"
>>      config.update.link = nil
>>      config.delete.link = nil
>>
>>      # This allows the associations on user to be followed
>>      config.columns[:user].search_sql = 'users.login'
>>
>>      # config.search.columns << :user
>>      config.live_search.columns << :user
>>
>>      # This will turn off links to edit user
>>      config.actions.exclude :nested
>>
>>   end
>>
>> end
>>
>>
>>
>> Sergio Cambra .:: entreCables S.L. ::. wrote:
>>     
>>> On Jueves, 21 de Mayo de 2009 17:47:58 Soren escribió:
>>>       
>>>> Suddenly I get this error:
>>>>
>>>> Processing StudentController#show_search (for 192.168.0.216 at
>>>> 2009-05-21 08:41:23) [GET]
>>>> Parameters: {"eid"=>"92a90c6d5b93d6eac1a8d335c2940dc3",
>>>> "action"=>"show_search", "_method"=>"get",
>>>> "adapter"=>"_list_inline_adapter", "controller"=>"student"}
>>>>
>>>> NoMethodError (undefined method `list_search_formats' for
>>>> #<StudentController:0x2aae2824afd0>):
>>>>
>>>>
>>>> This used to work fine - but no longer.
>>>>
>>>> Any ideas ?
>>>>         
>>> Please, send firsts lines of backtrace and your controller code
>>>
>>>
>>> -- 
>>> Sergio Cambra .:: entreCables S.L. ::.
>>> Nicolás Guillén 6, locales 2 y 3. 50.018 Zaragoza
>>> T) 902 021 404 F) 976 52 98 07 E) [email protected]
>>>
>>>
>>>
>>>       
>>
>>     
>
> >
>   


--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to