OK, it looks like that JRails is better for dealing with Rails2, but
not for Rails3!

So there is only one question left: If a install the "jquery-rails"
gem like you mentioned, are the
prototype helpers still working?

Right now I am using your code in html tags and it is working like a
charm, like this:

<head>
  <script src="http://code.jquery.com/jquery-latest.js";></script>
  <script>
  "Your code snippets here!"
  </script>
</head>

But that means I have that on every view!


On 25 Okt., 13:40, Sebastian <[email protected]> wrote:
> Thank you for your detailed answer!
>
> I started withRails3, so there is no "old"Rails2 code in it. As I
> knowRails3comes out-of-the-box configured with prototype, right? So
> yes I have prototype installed.
>
> And yes you are right I meant javascript helpers (not JAVA), like
> this:
> <%= button_to 'Destroy', product, :confirm => 'Are you sure?', :method
> => :delete %>
>
> But I meant JRails not JRuby! It could be found 
> here:https://github.com/aaronchi/jrails
> Here is the Railscast that is showing 
> JRails:http://railscasts.com/episodes/136-jquery
> It should just add JQuery to yourRailsApp and the standard OOTB
> prototype javascript helpers should still work, but I haven't tried
> that.
>
> So if a install the "jquery-rails" gem like you mentioned, are the
> prototype helpers still working?
>
> On 25 Okt., 13:19, radhames brito <[email protected]> wrote:
>
>
>
>
>
>
>
> > > google to your Gemfile and at this
>
> > should be 'move to your gem file', it appear i was making honor tomymotto:
>
> > cogito ergo google

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" 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-talk?hl=en.

Reply via email to