I'm getting the following error:
ActionView::TemplateError (wrong number of arguments (0 for 1)) on line #30 of app/views/asked/_no_conversations.rhtml:
27: />
28: <%= update_page_tag do |page|
29: page['question_url_input'].select
30: page['question_url_input'].focus
31: end %>
32:
How can I fix this problem?
People succeed in answering Adam Thorsen's questions 46% of the time (24 successes in 52 attempts).
Answers by: Federico
I seems that focus() expects a parameter, try to replace
page['question_url_input'].focus
with
page.focus('question_url_input')
Thanks Federico, I'll give that a shot and see if it works.