I''ve noticed the newest version of prototype disallows giving the methods Element.toggle, Element.show, and Element.hide multiple elements, which the rails helpers do allow and currently breaks if you''re using a newer prototype. Edge rails still supports the multiple element syntax. Is this going to be updated in the next rails release or outsourced to a plugin? Cause as I see it, this would currently be a bug. Andrew --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---
I thought this was fixed. Can you issue a bug if it''s still a problem? Best, Thomas Am 17.11.2006 um 07:06 schrieb Andrew Kaspick:> > I''ve noticed the newest version of prototype disallows giving the > methods Element.toggle, Element.show, and Element.hide multiple > elements, which the rails helpers do allow and currently breaks if > you''re using a newer prototype. > > Edge rails still supports the multiple element syntax. Is this going > to be updated in the next rails release or outsourced to a plugin? > Cause as I see it, this would currently be a bug. > > Andrew > > >--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---
My apologies, edge rails does seem to have the correct changes in place. I just took another look. The newest prototype and the current version of rails are just out of sync now, which I guess isn''t quite a bug. I guess more attention should be paid to the release notes when upgrading. :) On 11/17/06, Thomas Fuchs <t.fuchs-moWQItti3gBl57MIdRCFDg@public.gmane.org> wrote:> > I thought this was fixed. Can you issue a bug if it''s still a problem? > > Best, > Thomas > > Am 17.11.2006 um 07:06 schrieb Andrew Kaspick: > > > > > I''ve noticed the newest version of prototype disallows giving the > > methods Element.toggle, Element.show, and Element.hide multiple > > elements, which the rails helpers do allow and currently breaks if > > you''re using a newer prototype. > > > > Edge rails still supports the multiple element syntax. Is this going > > to be updated in the next rails release or outsourced to a plugin? > > Cause as I see it, this would currently be a bug. > > > > Andrew > > > > > > > > > >--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---
Except that the changes causing this break aren''t easily viewable unless you go digging through the subversion repo for prototype release notes... not quite ideal. Unless I''m missing something, I''d think a little bit more of a warning should be given to people when a new release is available that isn''t 100% backward compatible with previous versions. On 11/17/06, Andrew Kaspick <akaspick-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> My apologies, edge rails does seem to have the correct changes in > place. I just took another look. > > The newest prototype and the current version of rails are just out of > sync now, which I guess isn''t quite a bug. I guess more attention > should be paid to the release notes when upgrading. :) > > > > On 11/17/06, Thomas Fuchs <t.fuchs-moWQItti3gBl57MIdRCFDg@public.gmane.org> wrote: > > > > I thought this was fixed. Can you issue a bug if it''s still a problem? > > > > Best, > > Thomas > > > > Am 17.11.2006 um 07:06 schrieb Andrew Kaspick: > > > > > > > > I''ve noticed the newest version of prototype disallows giving the > > > methods Element.toggle, Element.show, and Element.hide multiple > > > elements, which the rails helpers do allow and currently breaks if > > > you''re using a newer prototype. > > > > > > Edge rails still supports the multiple element syntax. Is this going > > > to be updated in the next rails release or outsourced to a plugin? > > > Cause as I see it, this would currently be a bug. > > > > > > Andrew > > > > > > > > > > > > > > > > > >--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---
Hi Coming from a Java background, I''ve always been a fan of wrapping javascript Widgets with JSP Tags. e.g. <Widget:Autocompleter etc etc /> to wrap a scriptaculous Autocompleter widget. My question is, is there a way to do this in Rails as well instead of the usual way of using helpers like <% my_helper () %>. Thanks so much. Z --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---
I can imagine you can do this with some kind of after_filter. Still, I''d recommend using the helpers instead, easier than messing around with filters. :) -Thomas Am 17.11.2006 um 11:00 schrieb Zubair Hamed:> > Hi > > Coming from a Java background, I''ve always been a fan of wrapping > javascript > Widgets with JSP Tags. > > e.g. <Widget:Autocompleter etc etc /> to wrap a scriptaculous > Autocompleter > widget. > > My question is, is there a way to do this in Rails as well instead > of the > usual way of using helpers like <% my_helper () %>. > > Thanks so much. > Z > > > >--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---