Tuesday, October 25, 2011

[Rails] Re: How to transform my html form into a rails 3 form

Thank you for your detailed answer!

I started with Rails 3, so there is no "old" Rails 2 code in it. As I
know Rails 3 comes 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 your Rails App 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 <rbri...@gmail.com> wrote:
> > google to your Gemfile and at this
>
> should be 'move to your gem file', it appear i was making honor to my motto:
>
> 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 rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate