Rails 3.0 Released
An anonymous reader writes "After two years of gestation, 4 betas, 2 release candidates and thousands of commits by 1600+ contributors, the result of the succesful merge of the Merb and Rails frameworks (and teams) is now out and ready to transport your web applications on all new shiny tracks."
I can hear my 2.3.8 app breaking!
I find it a bit hard to keep up with rapid changes to Rails. But that's my problem anyway. I think the changes and additions in Rails 3 are wonderful and the team did a good job on this. Congratulations and thank you!
This is my sig. There are thousands more, but this one is mine.
I've avoided Rails for years due to the community's reputation. So against my better judgement, I decided to build a project on the Rails 3 Beta, thinking that some of frameworks new features made it hard to ignore.
And you know what? It's a really nice framework. Nice enough that in the future, I'll probably be using Ruby on Rails instead of PHP or Python when the project allows.
But I do wish the community would grow up.
A lot of the changes have made the code much more modular. You don't need to include everything if you don't need it. This also allows you to plug in other database adapters if you want. One of the nice routing changes allows you to call Rack or Sinatra applications from within your Rails application. I'm really looking forward to using this going forward.
And just what do you hope to achieve by railing against it?
Be relentless!
You just need to convert more Java guys to keep telling everyone it's not slow.
t
I just upgraded an app we've been developing in 3.0.0.rc2 and it went smoothly. Looking forward to actually having the docs in place. It's really been a lot of fun implementing the new changes and I'm excited for everything - hopefully the performance issues will get there, though, I've heard (though not personally observed) that the ActiveRecord in rails3 is something like 50% as fast as 2.3.5 was...
choo choo!
The World Wide Web is dying. Soon, we shall have only the Internet.
Perhaps put everyone back on the right track.
I am a long-time Rails user - Started playing with it before 1.0, and have applications in production since the 1.1 days.
Rails is _great_, and it helps lots to productivity. However, its community is too young - the whole "latest version or deep-fried" attitude really hurts.
A community of assorted modules' authors has sprung around Rails and its Agile practices, which is good. However, most of those modules (gems) have (contrary to Rails, which at last has grown and is a mature project by now) very unsound practices - Say, API-incompatible changes in minor versions, or announcing major versions every month or two. And then telling you that via Gems you can keep several co-installed version. Oh, but please, do not bother them to fix bugs in older versions. Or gems adding other gems as dependencies, even when said gems are nowhere near production quality.
I maintaining for Debian several Ruby modules. And believe me, while I try to do a decent job, it gets harder, and I have ended up maintaining a lot of crappy modules that were at some point dependencies... Or the "flavor of the day" which was superseded by a new, "faster, DRYer, nicer, better!" implementation... which gradually builds up cruft and gets replaced as well.
have they made it stop be slow as shit?
If I pretend that's a complete sentence, then yes, for some time now.
Don't thank God, thank a doctor!
I've been a C/C++ programmer for a fair bit, and am starting to dabble in some web-dev for a startup idea a couple friends have. Can someone tell me how the newer versions of Rails/Ruby compare against the newer versions of Grails/Groovy? I don't want intend for this to be a troll/flame fest, I'm just under-informed on the tradeoffs. Thanks in advance for any info.
It might just be my configuration (installed Ruby 1.9.1 via MacPorts). Here's my Rails 3 install attempt:
bash-3.2#
Successfully installed rails-3.0.0
1 gem installed
Installing ri documentation for rails-3.0.0...
ERROR: While executing gem
No such file or directory - lib
The gem installed, but without docs. WTF.
I spent the last month fighting with Ruby 1.9.1 + RoR 2.3.8 on OS 10.6, trying to get it to connect to MySQL, Postgres, or Sqlite. The database connectors (mysql, pg, etc.) for all 3 failed. I wish I knew how to start fresh with Ruby and RoR on OSX, but I don't know where gem and MacPorts have installed everything. I might consider it again if:
1) I can use Ruby 1.9.[12], not the OSX-installed 1.8.7.
2) I had any idea how to wipe all the Ruby/RoR stuff without wiping/reinstalling OSX. I'm sure it's perhaps only a dozen commands, but I'm so tired of fighting with RoR dependencies that I gave-up a week ago.
In its place, I got Python + Django + Postgres working together in about 1 hour, including time required to find a couple nice tutorials, download the Django source, build it, install it, and configure it. I don't like the double-underscore "magic method" syntax I'm finding for e.g. filtering methods though, and prefer Ruby's lambda expressions instead (blame my C# + LINQ experience professionally)...
(Waiting for somebody to tell me to go with what I know and use C# in Mono on OSX instead. :P )
Is Capitalism Good for the Poor?