I'm trying to migrate to Rails 2, but keep getting these errors all
over the place:
ActionView::TemplateError: wrong number of arguments (2 for 3)
On line #61 of users/new.rhtml
58: <% if @captcha_error -%><div class="fieldWithErrors"><
% end -%>
59: <table class="signup"><tr>
60: <td class="signupdescription">Verification
61: <td><%= image_tag
@captcha_image.public_filename, :size=>@captcha_image.image_size %></
63: <td class="signupdescription"
64: <td><%= text_field_tag :code %></td>
Basically, every function that calls `compute_public_path' gets this
error. In this case, it's 'image_tag'.
I'm looking at the source and don't see any problem.
def compute_public_path(source, dir, ext = nil, include_host =
compute_public_path takes a minimus of one parameter, which is
supplied by image_path.
What am I doing wrong here?