Still struggling with getting active scaffold to work.. After update to cancan I get this error http://localhost:3000/order_books
ActionController::RoutingError (undefined method `klass' for nil:NilClass): app/controllers/order_books_controller.rb:2:in `<class:OrderBooksController>' app/controllers/order_books_controller.rb:1:in `<top (required)>' in routes.rb resources :order_books do as_routes end On Sep 19, 7:09 am, "Sergio Cambra .:: entreCables S.L. ::." <[email protected]> wrote: > On Lunes, 19 de Septiembre de 2011 14:11:48 slava escribió: > > > Hello, > > Trying to get the latest active scaffold from git master installed in > > my Rails 3.1 app. > > I added gem > > gem 'active_scaffold', :git => 'git://github.com/activescaffold/ > > active_scaffold.git' > > > added require active_scaffold to both javascript and stylesheet > > manifests, generated an active scaffold and opened the page. I see > > this error: > > > uninitialized constant > > ActiveScaffold::Bridges::Cancan::ActiveRecord::Base > > > Any Ideas? thanks. > > It was a bug in cancan bridge. It's fixed now > Thanks > > -- > 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.
