Hi, Has anyone tried rails on jruby? I''m about to, but figured I''d see what anyone else''s experiences have been thus far. It seems to me that doing so could greatly ease migration to rails from the java world. This way components of applications can be moved piece by piece instead of one giant leap. Thanks, Ben
Hi, I was wondering what the best way to use multiple models in a single form was. I have a Project model which can have any number of Contributers associated with it. I want to let the user create a new Project and specify new Contributors on the same form. My current solution is to have a form that uses two dummy models (DummyProjects and DummyContributors). These models are used solely for capturing input on this form. Later on, in my controller I use the data in these dummy tables to create the real Project and Contributor objects, and form the associations. This approach just does not sit well with me. Is there a better way that I am totally missing? Any help and advice appreciated. Thanks. Krishna
I believe JRuby is based on Ruby 1.6.x and Rails requires Ruby 1.8.x. scott. --- Ben Anderson <benanderson.us-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> Hi, > Has anyone tried rails on jruby? I''m about to, but > figured I''d see > what anyone else''s experiences have been thus far. > It seems to me > that doing so could greatly ease migration to rails > from the java > world. This way components of applications can be > moved piece by > piece instead of one giant leap. > Thanks, > Ben > _______________________________________________ > Rails mailing list > Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > http://lists.rubyonrails.org/mailman/listinfo/rails >~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~Scott F. Walterscottwalter.com --explorer what''s new
On 11/7/05, Scott Walter <tx_scottwalter-/E1597aS9LQAvxtiuMwx3w@public.gmane.org> wrote:> I believe JRuby is based on Ruby 1.6.x and Rails > requires Ruby 1.8.x.The latest JRuby is based on 1.8.2. You might want to grab the latest from CVS, since it fixes a few bugs. Jim -- Jim Menard, jim.menard-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org, jimm-Xhj3G7Rj6JI@public.gmane.org http://www.io.com/~jimm "Any sufficiently advanced technology is indistinguishable from a rigged demo." -- Unknown
Being able to run rails is still a target for jruby team. For now you can not do it. -- Xue Yong Zhi http://seclib.blogspot.com "Jim Menard" <jim.menard-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote in message news:afcea94e0511070737j33ef5c46m398fae32ee95a19a-JsoAwUIsXouq+1Nelnf3ueG/Ez6ZCGd0@public.gmane.org On 11/7/05, Scott Walter <tx_scottwalter-/E1597aS9LQAvxtiuMwx3w@public.gmane.org> wrote:> I believe JRuby is based on Ruby 1.6.x and Rails > requires Ruby 1.8.x.The latest JRuby is based on 1.8.2. You might want to grab the latest from CVS, since it fixes a few bugs.