I'm having problems with using CalendarDateSelect in a form_for loop
with Rails 2.3.5
Is this a known issue?
Here's what I get:
<%= f.calendar_date_select :bday, nil, :year_range => 0.years.ago..
1.years.from_now %> gives me the error:
wrong number of arguments (3 for 2)
<%= f.calendar_date_select :bday %> gives me the error:
wrong number of arguments (5 for 4)
I'm running rails 2.3.5 and ruby enterprise 1.8.7-2010.01
Thanks!
Cheri
Thanks for the info. I downloaded the 1.15 tar.gz file of
calendar_date_select -
timcharper-calendar_date_select-88b7caf.tar.gz, uncompressed it and
renamed it calendar_date_select, and put the directory in the vendor/
plugins directory. Now when
I start up passenger, I get this error:
"CalendarDateSelect is not a class"
The backtrace is:
1 /opt/ruby-enterprise-1.8.7-2010.01/lib/ruby/site_ruby/1.8/rubygems/
custom_require.rb 31 in `gem_original_require'
2 /opt/ruby-
enterprise-1.8.7-2010.01/lib/ruby/site_ruby/1.8/rubygems/
custom_require.rb 31 in `require'
3 /opt/ruby-enterprise-1.8.7-2010.01/lib/ruby/gems/1.8/gems/
activesupport-2.3.5/lib/active_support/dependencies.rb 156 in
`require'
Do you have any idea what might be going on?
Thanks,
Cheri
--
You received this message because you are subscribed to the Google Groups "calendar_date_select" group.
To post to this group, send email to calendar_d...@googlegroups.com.
To unsubscribe from this group, send email to calendar_date_se...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/calendar_date_select?hl=en.
I figured out what the problem was. I still had the OLD version that
doesn't work with Rails 2.5 in my plugins directory and that was what
was hosing up everything!!!!!! Live and learn....
Thanks again, great plugin!!! I appreciate all your work in keeping
it current!
Cheri
On Mar 29, 3:50 pm, Shih-gian Lee <shihg...@gmail.com> wrote:
> Hi Cheri!
>
> We have a new release with new enhancement and multiple bug fixes. Can you
> download the latest zip version - 1.16.1 here? -http://github.com/timcharper/calendar_date_select/downloads
>
> I don't have phusion passenger running locally. Did you have it running
> locally before deploying to passenger?
>
> - Lee
>
> > calendar_date_se...@googlegroups.com<calendar_date_select%2Bunsubs...@googlegroups.com>
> > .
> > For more options, visit this group at
> >http://groups.google.com/group/calendar_date_select?hl=en.- Hide quoted text -
>
> - Show quoted text -