|
Rails is a great webapp framework ruined by a lovely O/R framework.
|
# ¿ Aug 11, 2007 09:38 |
|
|
# ¿ May 3, 2024 19:50 |
|
You probably want to use :include to join in all the books when you fetch the author.
|
# ¿ Aug 23, 2007 17:13 |
|
Panic! at the Fist Jab posted:Is anyone using edge Rails and the latest featureset that Rails provides consistently? I stopped using Rails about a year ago and focused on microframeworks like Sinatra, and I'm wondering if there's anything really amazing that I'm missing that the switch to Rails may be worth it again. Any awesome plugins, etc...
|
# ¿ Jan 10, 2009 18:22 |
|
Ghotli posted:We evaluated JRuby at work for a good while but eventually scrapped it. This was a while back and I assume JRuby has matured. Can you describe your deployement method with JRuby? Overall, my biggest complaint with JRuby is startup time -- it sucks. I've talked with the JRuby guys about ways to improve this but I don't think its very high on the priority list. The main problem is JRuby's parser and lexer is pretty slow, and so parsing and lexing all the gems at startup time takes a significant amount of work. Multithreaded Rails will reduce this burden on the server since it only has to do this once, instead of N times for each Ruby runtime, but on the client you still end up having to wait 20-30 seconds for a script/console Other than that, JRuby is rock solid, we have been using it for a few months now and being able to integrate with Java code we already had has been a huge help.
|
# ¿ Jan 13, 2009 17:49 |
|
Ghotli posted:I assume you're using glassfish v2 since v3 isn't stable yet. At work we have a few rails applications that we need deployed at the same time. When we were looking into glassfish I remember v2 not being able to host more than one rails app at a time. Do you have any idea if this is true or not? 1) Stop domain 2) Warble 3) Start domain 4) Deploy 5) Stop domain 6) Start domain 7) Curl everything until the URLs come back instantly We curl because basically glassfish has a ruby runtime pool (8 right now for us on EC2) and so there is a very large startup time penalty since JRuby has to lex, parse, and interpret all of the gems 8 times over (and stick the AST in RAM ). Curl'ing basically warms all these things up.
|
# ¿ Jan 24, 2009 08:56 |