Disabled silencers in initializer
Rails.backtrace_cleaner.remove_silencers!
And here is the full backtrace.

ActionController::RoutingError (undefined method `klass' for nil:NilClass):
  activesupport (3.1.0) lib/active_support/whiny_nil.rb:48:in `method_missing'
  activerecord (3.1.0) lib/active_record/reflection.rb:391:in `block
in source_reflection'
  activerecord (3.1.0) lib/active_record/reflection.rb:391:in `collect'
  activerecord (3.1.0) lib/active_record/reflection.rb:391:in
`source_reflection'
  activerecord (3.1.0) lib/active_record/reflection.rb:538:in
`derive_class_name'
  activerecord (3.1.0) lib/active_record/reflection.rb:128:in `class_name'
  activerecord (3.1.0) lib/active_record/reflection.rb:173:in `klass'
  
/home/slava/.rvm/gems/ruby-1.9.2-p290/bundler/gems/active_scaffold-0ce03559d49f/lib/active_scaffold/data_structures/column.rb:367:in
`initialize_search_sql'
  
/home/slava/.rvm/gems/ruby-1.9.2-p290/bundler/gems/active_scaffold-0ce03559d49f/lib/active_scaffold/data_structures/column.rb:181:in
`search_sql'
  
/home/slava/.rvm/gems/ruby-1.9.2-p290/bundler/gems/active_scaffold-0ce03559d49f/lib/active_scaffold/data_structures/column.rb:185:in
`searchable?'
  
/home/slava/.rvm/gems/ruby-1.9.2-p290/bundler/gems/active_scaffold-0ce03559d49f/lib/active_scaffold/config/search.rb:45:in
`block in columns'
  
/home/slava/.rvm/gems/ruby-1.9.2-p290/bundler/gems/active_scaffold-0ce03559d49f/lib/active_scaffold/data_structures/columns.rb:62:in
`block in each'
  
/home/slava/.rvm/gems/ruby-1.9.2-p290/bundler/gems/active_scaffold-0ce03559d49f/lib/active_scaffold/data_structures/columns.rb:62:in
`each'
  
/home/slava/.rvm/gems/ruby-1.9.2-p290/bundler/gems/active_scaffold-0ce03559d49f/lib/active_scaffold/data_structures/columns.rb:62:in
`each'
  
/home/slava/.rvm/gems/ruby-1.9.2-p290/bundler/gems/active_scaffold-0ce03559d49f/lib/active_scaffold/config/search.rb:45:in
`collect'
  
/home/slava/.rvm/gems/ruby-1.9.2-p290/bundler/gems/active_scaffold-0ce03559d49f/lib/active_scaffold/config/search.rb:45:in
`columns'
  
/home/slava/.rvm/gems/ruby-1.9.2-p290/bundler/gems/active_scaffold-0ce03559d49f/lib/active_scaffold/config/core.rb:142:in
`block in _load_action_columns'
  
/home/slava/.rvm/gems/ruby-1.9.2-p290/bundler/gems/active_scaffold-0ce03559d49f/lib/active_scaffold/data_structures/actions.rb:20:in
`block in each'
  
/home/slava/.rvm/gems/ruby-1.9.2-p290/bundler/gems/active_scaffold-0ce03559d49f/lib/active_scaffold/data_structures/actions.rb:20:in
`each'
  
/home/slava/.rvm/gems/ruby-1.9.2-p290/bundler/gems/active_scaffold-0ce03559d49f/lib/active_scaffold/data_structures/actions.rb:20:in
`each'
  
/home/slava/.rvm/gems/ruby-1.9.2-p290/bundler/gems/active_scaffold-0ce03559d49f/lib/active_scaffold/config/core.rb:139:in
`_load_action_columns'
  
/home/slava/.rvm/gems/ruby-1.9.2-p290/bundler/gems/active_scaffold-0ce03559d49f/lib/active_scaffold.rb:178:in
`active_scaffold'
  app/controllers/order_books_controller.rb:2:in `<class:OrderBooksController>'
  app/controllers/order_books_controller.rb:1:in `<top (required)>'


On Tue, Sep 20, 2011 at 4:51 AM, Sergio Cambra .:: entreCables S.L.
::. <[email protected]> wrote:
> On Martes, 20 de Septiembre de 2011 12:29:30 slava escribió:
>> I am not using any backtrace silencers on purpose..
>
> Rails by default add some backtrace silencers so you only get info about your
> app in the backtrace. When you find a gem bug, backtrace is not useful with 
> the
> silencers
>
>>
>> On Sep 20, 2:49 am, "Sergio Cambra .:: entreCables S.L. ::."
>>
>> <[email protected]> wrote:
>> > On Martes, 20 de Septiembre de 2011 11:47:12 slava escribió:
>> > > class OrderBooksController < ApplicationController
>> > >   active_scaffold :order_book do |conf|
>> > >   end
>> > > end
>> >
>> > Disable backtrace silencers to get a full trace including gems
>> >
>> > --
>> > Sergio Cambra .:: entreCables S.L. ::.
>> > Mariana Pineda 23, 50.018 Zaragoza
>> > T) 902 021 404 F) 976 52 98 07 E) [email protected]
>
> --
> Sergio Cambra .:: entreCables S.L. ::.
> Mariana Pineda 23, 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.
>
>

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