wrong number of arguments (5 for 4)

8 views
Skip to first unread message

Nick Wild

unread,
Aug 16, 2009, 10:50:58 PM8/16/09
to calendar_date_select
Hello,

Having installed the plugin and verified that both prototype and the
calendar_date_select includes are added I'm running into issues when I
try to integrate with form builder per the demo site examples.

within my do |f| block I have this line as guided by the demo...

<%= f.calendar_date_select :lastUserReview , :embedded => true
%>

Which produces:

ArgumentError
wrong number of arguments (5 for 4)

I am able to use the tag generator without a problem this works just
fine:

<%= calendar_date_select_tag
"e_date",@site.update_date_from_source, :embedded =>
true, :year_range => 10.years.ago..0.years.ago %>


The controller in question does not use active_scaffold - I saw some
other posts about that. Sorry if I have missed something trivial - I
appreciate any guidance as I'm still getting up to speed on debugging
ROR.

Thanks!



Nick Wild

unread,
Aug 17, 2009, 1:15:09 AM8/17/09
to calendar_date_select
I was using the google code repository link that is listed on the
project home page.

When I removed that version of the plugin and then reinstalled from
github it resolved this issue.

timcharper

unread,
Aug 21, 2009, 2:04:36 PM8/21/09
to calendar_date_select
Thanks for reporting this. I will make sure the svn link is gone.

Tim

timcharper

unread,
Aug 21, 2009, 2:06:10 PM8/21/09
to calendar_date_select
Hmmm.... I actually can't find the svn link. Where exactly did you
see it?
Reply all
Reply to author
Forward
0 new messages