Re: [rspec-users] form_for problem

2009-12-03 Thread Brandon Goodin
Okay I figured out my error. I needed to specify my form_for like: - form_for [:admin, @user] do |f| This is obviously cleaner. It is strange that a running rails app would accept this while rspec rendered view would not. Anyway, I'm glad that rspec didn't accept this since the way i'm using it

[rspec-users] form_for problem

2009-12-03 Thread Brandon Goodin
Greetings All, I have an interesting issue that I can only assume is me doing something dumb. == I have the following route defined == map.namespace(:admin) do |admin| admin.resources :users end == I have a form: == - form_for @user, :url=>admin_user_path do |f| == and a