After importing a project into Aptana Studio workspace, I find out that after starting server devise plugin don’t work.
undefined method `admin_signed_in?'
It shows up overtime I want to load any controller where devise functions are used.
I tried.bundle install gem update rails also tried to reinstall plugin. Restart server.And so, but nothing seems to work.
On my office PC, project works fine, but I wanted to add something at home, is not working.
GEM file
gem 'devise'
gem "paperclip", :git => "http://github.com/thoughtbot/paperclip.git"
and other built in stuff.
I hope somebody can help.
Edgars
Based on https://github.com/plataformatec/devise/wiki/How-To:-Add-an-Admin-role, routes.rb should contain line: