This is getting extremely frustrating! >:-(
So I moved the devise_for statement, under resources users:
resources :companies
resources :users
resources :companies do
resources :users
end
devise_for :users, :controllers => { :registrations =>
'users/registrations' }
and now the form DOES WORK, but now I'm back at the Too Many Redirects
error!!!
If I remove the before_filter :authenticate_user! in the application
controller I get errors like Couldn't find User with ID=sign_in or
Couldn't find User with ID=sign_out
My neck hurts from tension! :(
--
Posted via http://www.ruby-forum.com/.
--
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk" 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/rubyonrails-talk?hl=en.