Hello all. I am REALLY hoping someone can knock me upside the head
with an answer to this because I'm flummoxed.
I'm trying to get my project moved over to 2.0.2 from 1.2.6. I
upgraded the Rails gem (and dependencies) successfully.
rake:deprecated passed with no issues. I ran "rake rails:update".
Everything I think I'm supposed to do for the update.
I'm getting the following error. It happens anywhere I'm outputting
an html tag in my code.
ArgumentError in Sessions#new
Showing sessions/new.rhtml where line #3 raised:
wrong number of arguments (2 for 1)
Extracted source (around line #3):
1: <% form_tag sessions_path, :id => 'loginform' do -%>
2: <p><label for="login">Login</label><br/>
3: <%= text_field_tag 'login', nil, :size => 50 %></p>
5: <p><label for="password">Password</label><br/>
6: <%= password_field_tag 'password', nil, :size => 50 %></p>
This form code is from Rick's "restful_authentication" plugin, with
some minor personal tweaks but nothing that'd cause this issue. This
same error occurs on "image_tag", "stylesheet_tag", etc. I don't
think I have any conflicting plugins installed. I'd have thought that
if I did, they'd show up in the Application Trace output and this
clearly shows it's coming from the actionpack-2.0.2 gem.
Anyone have any ideas. I'm at wits end on this.
Thanx in advance.