ruby on rails - Devise is installed but no methods are found -
i installed ruby 1.9.3 rails 3 rubymine 5.4. followed installation guide install devise 3.
devise:install
devise user
db:migrate
after tried use method devise, none found, method user_signed_in
or new_user_session_path
etc...
i'm missing simple...
edit: routes.rb
c:\ruby193\bin\ruby.exe -e $stdout.sync=true;$stderr.sync=true;load($0=argv.shift) c:\ruby193\bin\rake routes new_user_session /users/sign_in(.:format) devise/sessions#new user_session post /users/sign_in(.:format) devise/sessions#create destroy_user_session delete /users/sign_out(.:format) devise/sessions#destroy user_password post /users/password(.:format) devise/passwords#create new_user_password /users/password/new(.:format) devise/passwords#new edit_user_password /users/password/edit(.:format) devise/passwords#edit put /users/password(.:format) devise/passwords#update cancel_user_registration /users/cancel(.:format) devise/registrations#cancel user_registration post /users(.:format) devise/registrations#create new_user_registration /users/sign_up(.:format) devise/registrations#new edit_user_registration /users/edit(.:format) devise/registrations#edit put /users(.:format) devise/registrations#update delete /users(.:format) devise/registrations#destroy notes /notes(.:format) notes#index post /notes(.:format) notes#create new_note /notes/new(.:format) notes#new edit_note /notes/:id/edit(.:format) notes#edit note /notes/:id(.:format) notes#show put /notes/:id(.:format) notes#update delete /notes/:id(.:format) notes#destroy root / notes#index process finished exit code 0
edit2: well, turns rubymine. won't recognize devise functions reason... although showing me errors, app seems functional.
Comments
Post a Comment