# Toolbocks date problem

**URL:** <https://www.ruby-forum.com/t/toolbocks-date-problem/125806>\
**Category:** Rails\
**Created:** [January 12, 2008, 6:27am UTC](https://www.ruby-forum.com/t/toolbocks-date-problem/125806 "2008-01-12T06:27:19Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![venu](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/v/9de0a6/32.png) [@venu](https://www.ruby-forum.com/u/venu)\
**Post date:** [January 12, 2008, 6:27am UTC](https://www.ruby-forum.com/t/toolbocks-date-problem/125806/1 "2008-01-12T06:27:19Z")

</div>

The toolbocks\_date\_select doesn’t honour when put in a partial file.

\<%= toolbocks\_date\_select :ci, :supply\_date, { :format =\> ‘us’,  
:autoRollOver =\> false} %\>

Any solution to recover this? Thanks in advance!!

Regards  
Venu

---

<div class="post-metadata">

**Author:** ![venu](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/v/9de0a6/32.png) [@venu](https://www.ruby-forum.com/u/venu)\
**Post date:** [January 12, 2008, 11:28am UTC](https://www.ruby-forum.com/t/toolbocks-date-problem/125806/2 "2008-01-12T11:28:39Z")

</div>

On 12 Jan 2008, at 06:27, Venu Vallayil wrote:

> The toolbocks\_date\_select doesn’t honour when put in a partial file.
> 
> \<%= toolbocks\_date\_select :ci, :supply\_date, { :format =\> ‘us’,  
> :autoRollOver =\> false} %\>
> 
> Any solution to recover this? Thanks in advance!!

We’ve just migrated away from toolbocks for a number of reasons:

- The markup it produces is about the ugliest thing I’ve ever seen  
and can lead to very annoying css related problems, especially if you  
combine it with ajax
- It doesn’t integrate with formbuilder at all
- Loading the whole engines plugin just for a simple date/datetime  
selection, whether embedded or popup, is just overkill

We replaced it with calendar\_date\_select (and there’s another  
unobtrusive one out there that’s good too), and life just got a whole  
lot easier.

Best regards

Peter De Berdt

---

<div class="post-metadata">

**Author:** ![venu](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/v/9de0a6/32.png) [@venu](https://www.ruby-forum.com/u/venu)\
**Post date:** [January 12, 2008, 11:41am UTC](https://www.ruby-forum.com/t/toolbocks-date-problem/125806/3 "2008-01-12T11:41:34Z")

</div>

Peter De Berdt wrote:

> On 12 Jan 2008, at 06:27, Venu Vallayil wrote:
> 
> > The toolbocks\_date\_select doesn’t honour when put in a partial file.
> > 
> > \<%= toolbocks\_date\_select :ci, :supply\_date, { :format =\> ‘us’,  
> > :autoRollOver =\> false} %\>
> > 
> > Any solution to recover this? Thanks in advance!!
> 
> We’ve just migrated away from toolbocks for a number of reasons:
> 
> - The markup it produces is about the ugliest thing I’ve ever seen  
> and can lead to very annoying css related problems, especially if you  
> combine it with ajax
> - It doesn’t integrate with formbuilder at all
> - Loading the whole engines plugin just for a simple date/datetime  
> selection, whether embedded or popup, is just overkill
> 
> We replaced it with calendar\_date\_select (and there’s another  
> unobtrusive one out there that’s good too), and life just got a whole  
> lot easier.
> 
> Best regards
> 
> Peter De Berdt

Peter …

I think calendar\_date\_select needs RAILS 2.0 and PROTOTYPE 1.6.0

Regards  
Venu

---

<div class="post-metadata">

**Author:** ![venu](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/v/9de0a6/32.png) [@venu](https://www.ruby-forum.com/u/venu)\
**Post date:** [January 12, 2008, 11:49am UTC](https://www.ruby-forum.com/t/toolbocks-date-problem/125806/4 "2008-01-12T11:49:11Z")

</div>

On 12 Jan 2008, at 11:41, Venu Vallayil wrote:

> Peter …
> 
> I think calendar\_date\_select needs RAILS 2.0 and PROTOTYPE 1.6.0

If you read what it says, you would see:

Version 1.9.0 and greater require prototype.js 1.6.0. If you’re  
compelled to use an earlier version of prototype.js Use version 1.8.3.

We’re using it in a Rails 1.2.6 (with prototype 1.5) project.

Best regards

Peter De Berdt
