I had a similar issue to the one that you're having.  In my case,
date_select was handling the auto-indexing of a new record
incorrectly.  See my patch:

http://dev.rubyonrails.org/ticket/10551

Not sure if this helps but someone referred me to this post when they
heard about the issue I had patched.

Best,
Rick

On Dec 16, 2:08 pm, "James H." <[EMAIL PROTECTED]> wrote:
> See patch here:http://dev.rubyonrails.org/ticket/10523
>
> James H.
>
> On Dec 16, 1:46 pm, "James H." <[EMAIL PROTECTED]> wrote:
>
> > To put this to bed (for now), the problem is how people are
> > _expecting_ to use the "select" helper.  They're expecting to use it
> > like this:
>
> > select("album[]", "genre", %w[rap rock country], :index => nil)
>
> > When in fact they _should_ be using it like this:
>
> > select("album[]", "genre", %w[rap rock country], {}, { :index => nil }
>
> > In summation, this feature is already supported, it's just not as
> > expected.  I'll be submitting a patch with documentation enhancements
> > and a new test to show an example of this usage.
>
> > James H.
>
> > On Dec 15, 4:36 am, Michael Klishin
>
> > <[EMAIL PROTECTED]> wrote:
> > > Please attach changes you have made to the ticket in Rails Trac so  
> > > that someone can check and fix it.
>
> > > On 15 Dec. 2007, at 11:00, Alexander Simonov wrote:
>
> > > > Hello James!
> > > > I'm already fix issue with date items.
> > > > All works with creating, but if i update entryes i get error -  
> > > > Symbol as
> > > > array index.
>
> > > MK
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Core" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-core?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to