ran rspec and see a longer backtrace for this error

DEPRECATION WARNING: class_inheritable_attribute is deprecated, please
use class_attribute method instead. Notice their behavior are slightly
different, so refer to class_attribute documentation first. (called
from <class:Form> at /home/slava/.rvm/gems/ruby-1.9.2-p290/bundler/
gems/active_scaffold-0ce03559d49f/lib/active_scaffold/config/form.rb:
17)
DEPRECATION WARNING: class_inheritable_attribute is deprecated, please
use class_attribute method instead. Notice their behavior are slightly
different, so refer to class_attribute documentation first. (called
from <class:Form> at /home/slava/.rvm/gems/ruby-1.9.2-p290/bundler/
gems/active_scaffold-0ce03559d49f/lib/active_scaffold/config/form.rb:
17)
/home/slava/.rvm/gems/ruby-1.9.2-p290/gems/activesupport-3.1.0/lib/
active_support/whiny_nil.rb:48:in `method_missing': undefined method
`klass' for nil:NilClass (NoMethodError)
        from /home/slava/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.0/
lib/active_record/reflection.rb:391:in `block in source_reflection'
        from /home/slava/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.0/
lib/active_record/reflection.rb:391:in `collect'
        from /home/slava/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.0/
lib/active_record/reflection.rb:391:in `source_reflection'
        from /home/slava/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.0/
lib/active_record/reflection.rb:538:in `derive_class_name'
        from /home/slava/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.0/
lib/active_record/reflection.rb:128:in `class_name'
        from /home/slava/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.0/
lib/active_record/reflection.rb:173:in `klass'
        from /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'
        from /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'
        from /home/slava/.rvm/gems/ruby-1.9.2-p290/bundler/gems/
active_scaffold-0ce03559d49f/lib/active_scaffold/data_structures/
column.rb:185:in `searchable?'
        from /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'
        from /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'
        from /home/slava/.rvm/gems/ruby-1.9.2-p290/bundler/gems/
active_scaffold-0ce03559d49f/lib/active_scaffold/data_structures/
columns.rb:62:in `each'
        from /home/slava/.rvm/gems/ruby-1.9.2-p290/bundler/gems/
active_scaffold-0ce03559d49f/lib/active_scaffold/data_structures/
columns.rb:62:in `each'
        from /home/slava/.rvm/gems/ruby-1.9.2-p290/bundler/gems/
active_scaffold-0ce03559d49f/lib/active_scaffold/config/search.rb:
45:in `collect'
        from /home/slava/.rvm/gems/ruby-1.9.2-p290/bundler/gems/
active_scaffold-0ce03559d49f/lib/active_scaffold/config/search.rb:
45:in `columns'
        from /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'
        from /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'
        from /home/slava/.rvm/gems/ruby-1.9.2-p290/bundler/gems/
active_scaffold-0ce03559d49f/lib/active_scaffold/data_structures/
actions.rb:20:in `each'
        from /home/slava/.rvm/gems/ruby-1.9.2-p290/bundler/gems/
active_scaffold-0ce03559d49f/lib/active_scaffold/data_structures/
actions.rb:20:in `each'
        from /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'
        from /home/slava/.rvm/gems/ruby-1.9.2-p290/bundler/gems/
active_scaffold-0ce03559d49f/lib/active_scaffold.rb:178:in
`active_scaffold'
        from /home/slava/.rvm/gems/ruby-1.9.2-p290/bundler/gems/
active_scaffold-0ce03559d49f/lib/active_scaffold/bridges/cancan/
cancan_bridge.rb:14:in `active_scaffold_with_cancan'
        from /home/slava/dev/projects/bitcoin-derivatives/app/controllers/
order_books_controller.rb:2:in `<class:OrderBooksController>'
        from /home/slava/dev/projects/bitcoin-derivatives/app/controllers/
order_books_controller.rb:1:in `<top (required)>'

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