I think in the older versions of Radiant, there had been a column call 'developer' in the table users. No there are now only columns called "admin" and "designer". Maybe developer moved to designer.
I had a similar problem when using the RBAC Extension and fixed it by extending the user model with something like this: def developer? designer? end Hope this could help.... and sorry for my english On 10 Mai, 20:52, Dmitry Belitsky <[email protected]> wrote: > Hello guys, > how i can check where from this error come? > I can't go to layouts page in backend, cause this error. > I move this site from rc to 0.8.1 > May be this is the reason? > But i am not sure how to fix this. > And i can't go to Users page also, cause same error. > Thanks! > > Processing Admin::LayoutsController#index (for at 2010-05-10 > 12:46:03) [GET] > Parameters: {"action"=>"index", "controller"=>"admin/layouts"} > > NoMethodError (undefined method `developer?' for #<User:0xb747e624>): > radiant (0.8.1) lib/login_system.rb:58:in `send' > radiant (0.8.1) lib/login_system.rb:58:in `user_has_role?' > radiant (0.8.1) lib/login_system.rb:67:in > `user_has_access_to_action?' > radiant (0.8.1) lib/login_system.rb:66:in `each' > radiant (0.8.1) lib/login_system.rb:66:in > `user_has_access_to_action?' > radiant (0.8.1) lib/login_system.rb:44:in `authorize' > radiant (0.8.1) vendor/plugins/haml/rails/./lib/sass/plugin/rails.rb: > 19:in `process' > thin (1.2.5) lib/thin/connection.rb:76:in `pre_process' > thin (1.2.5) lib/thin/connection.rb:74:in `catch' > thin (1.2.5) lib/thin/connection.rb:74:in `pre_process' > thin (1.2.5) lib/thin/connection.rb:57:in `process' > thin (1.2.5) lib/thin/connection.rb:42:in `receive_data' > eventmachine (0.12.10) lib/eventmachine.rb:256:in `run_machine' > eventmachine (0.12.10) lib/eventmachine.rb:256:in `run' > thin (1.2.5) lib/thin/backends/base.rb:57:in `start' > thin (1.2.5) lib/thin/server.rb:156:in `start' > thin (1.2.5) lib/thin/controllers/controller.rb:80:in `start' > thin (1.2.5) lib/thin/runner.rb:177:in `send' > thin (1.2.5) lib/thin/runner.rb:177:in `run_command' > thin (1.2.5) lib/thin/runner.rb:143:in `run!' > thin (1.2.5) bin/thin:6 > /usr/bin/thin:19:in `load' > /usr/bin/thin:19 > > Rendering radiant/public/500.html (500 Internal Server Error) > > r...@vps [/radiant]# gem list radiant > > *** LOCAL GEMS *** > > radiant (0.8.1)
