List Info

Thread: rails prototype helper bugs?




rails prototype helper bugs?
user name
2006-11-17 06:06:27
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-spinoffsgooglegroups.com
To unsubscribe from this group, send email to
rubyonrails-spinoffs-unsubscribegooglegroups.com
For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=
en
-~----------~----~----~----~------~----~------~--~---

rails prototype helper bugs?
user name
2006-11-17 08:07:59
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-spinoffsgooglegroups.com
To unsubscribe from this group, send email to
rubyonrails-spinoffs-unsubscribegooglegroups.com
For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=
en
-~----------~----~----~----~------~----~------~--~---

rails prototype helper bugs?
user name
2006-11-17 08:29:35
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.fuchswollzelle.com> 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-spinoffsgooglegroups.com
To unsubscribe from this group, send email to
rubyonrails-spinoffs-unsubscribegooglegroups.com
For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=
en
-~----------~----~----~----~------~----~------~--~---

rails prototype helper bugs?
user name
2006-11-17 08:35:54
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 <akaspickgmail.com> 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.fuchswollzelle.com> 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-spinoffsgooglegroups.com
To unsubscribe from this group, send email to
rubyonrails-spinoffs-unsubscribegooglegroups.com
For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=
en
-~----------~----~----~----~------~----~------~--~---

JSP Taglib style helpers
user name
2006-11-17 10:00:58
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-spinoffsgooglegroups.com
To unsubscribe from this group, send email to
rubyonrails-spinoffs-unsubscribegooglegroups.com
For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=
en
-~----------~----~----~----~------~----~------~--~---

JSP Taglib style helpers
user name
2006-11-17 15:11:58
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-spinoffsgooglegroups.com
To unsubscribe from this group, send email to
rubyonrails-spinoffs-unsubscribegooglegroups.com
For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=
en
-~----------~----~----~----~------~----~------~--~---

[1-6]

about | contact  Other archives ( Real Estate discussion Medical topics )