8 ms·
Rails 3.0: It's ready
- melvinram 16y agoAwesomeness!!
- pibefision 16y agoCongratulations!
- Groxx 16y ago>Say goodbye to encoding issues And good riddance! Utterly thrilled to hear this.
- epochwolf 16y agoMe too, this is perfect for the literature website site I'm working on.
- igravious 16y agoAnybody have more in depth details on how this was achieved? K thx bye!
- steveklabnik 16y agoWell, the first thing is like the post said: Ruby 1.9's string encoding support is much, much better. For more on this, see wycats' post here: http://yehudakatz.com/2010/05/17/encodings-unabridged/ http://yehudakatz.com/2010/05/17/encodings-unabridged/ Secondly, Rails 3 has some tricks up its sleeve, with things like the Rails Snowman: http://railssnowman.info/ http://railssnowman.info/
- igravious 16y agoThanking you kindly sir.
- troels 16y agoBold words. I can guarantee that encoding issues will prevail. They may be of another sort, but they will never go away magically.
- Groxx 16y agoCertainly. But you can remove the ones you create (to reach "zero"), and patch some of the ones you don't (to reach... "-zero"?).
- steveklabnik 16y agoIt's 500-ing, so here's a pastie of the text: http://pastie.org/1125097 http://pastie.org/1125097
- grinich 16y agoStatus: 500 Internal Server Error Maybe not quite yet?
- dhh 16y agoFixed the issue. The weblog is a prime example of cobbler's shoes. I think it's running Rails 0.5 on a machine that hasn't been updated in 6 years.
- duck 16y agoSpeaking of, you might want to get rid of the mephistoblog.com link since it is no longer valid.
- dhh 16y agoI want to nuke that entire installation from orbit. It's the only way to be sure that it's gone.
- steveklabnik 16y agoI mean, it should only take 15 minutes to build a new one, right? ;)
- die_sekte 16y agoAnd at least one "WHOOPS!"
- pibefision 16y agoHow the rails team will celebrate this milestone? really, it's an amazing work guys, thank you and congratulations
- technoweenie 16y agoHey come on, it's running Mephisto. It's got to be at least Rails 1.0 :)
- steve19 16y agoNot a single mention of Merb in the entire blog post.
- melvinram 16y agoA comment from DHH in the comments of the post: it long since stopped being about a Rails and a Merb team. Today there’s just a Rails 3 team where everyone is working together for the improvement of the framework. See http://contributors.rubyonrails.org/contributors?window=this-year http://contributors.rubyonrails.org/contributors?window=this... for work done this year. More than 350 people who has commits this year. No factions, just collaboration.
- ezmobius 16y agoNot to cry sour grapes here but there is not one mention of Merb in that entire blog post. I personally wrote merb in order to show that rails internals could be much better, modular and faster. I did heavy duty politicking to get the two teams to come together and I think the rails merb merger is one of the coolest open source success stories vie heard of. But not a single mention of merb in this entire post. I'm not complaining but it seems disingenuous not to mention it as the sole reason I wrote merb was to push rails forward. And when it looked like merb might possibly overtake rails I went ahead and gave merb to the rails project and got the two teams together so there wasn't wasted effort. After all to have ruby and rails itself win we needed to compete with java and python and php. Merb was starting to fragment the ruby community as it became a more and more viable option and I did some personal heavy politicking to get it merged back into rails so we could take on the world instead of infighting within the ruby community. I think it's been a great success story and most of the ideas of merb's architecture have made it into rails. So I'm incredibly happy to see rails 3 finally come out. And I'm incredibly happy that my little experiment in making rails architecture better has paid off and the two projects merged. But I do think it's a bit weak that merb was not mentioned once in the article. (Edit) all this being said I don't want to come across as co plaining. My work on merb ended up exactly as I wanted it to, it made rails better. So huge congratulations to the rails team for making this happen! (Edit) http://rubyonrails.org/merb http://rubyonrails.org/merb
- dasil003 16y agoOfftopic: when are you announcing your next project? We're already feeling the lack of your presence at EY as we move to AppCloud. A cool new project would do much to offset that general disappointment (not that it's your problem).
- ezmobius 16y agoI'm working at Vmware now on a cloud operating system. That's about all I can say right now but it is what runs vmforce and vmware's partnership with google app engine to get spring running there very well. Multiple cloud multiple language paas.
- moeffju 16y agoI just realized this going through the API docs when I noticed the docs for 3.0.0 were now live on api.rubyonrails.org. Finally! (Of course, just two hours after converting one app from rc1 to rc2.)
- viraptor 16y agoDoes AR really work like this? users = User.where(:name => "david").limit(20) users.where("age > 29") # SELECT * FROM users # WHERE name = "david" AND age > 29 # ORDER BY name # LIMIT 20 It seems a bit counter-intuitive to me. I'd expect that User.where(:name => "david").limit(20).where("age > 29") =/= User.where(:name => "david").where("age > 29").limit(20) Yeah - just nitpicking, but it caught my attention.
- steveklabnik 16y agoThe query is lazily generated, so that's why they're equal.
- astrange 16y agoWhy should a lazy lookup behave differently than any other one, except that it happens later?
- steveklabnik 16y agoYou're assuming that execution happens on a limit, and it doesn't.
- emmett 16y agoIt depends on whether your mental model is "applying a sequence of filters to a result set" or "editing attributes of a query". If the latter, you'd expect them to be equal and the opposite would be surprising. Just from the point of view of a Rails user, generally I want to do the latter. This will replace things I use .with_scope() for right now, which a "sequence of filters" model wouldn't work as well for.
- jallmann 16y agoOr even: User.where(:name => "david", :age => "> 29").limit(20) Although this way you'd have to parse the '>' out of the second K-V.
- 16y ago
- bhellman1 16y agoCongrats! I'm reading the railstutorial.org book now. Thanks for making the book free and available on the release of v3
- c00p3r 16y agodie, J2EE, DIE! ^_^
- amix 16y agoInstead of making things more simple they have made a lot of things more complex and "configureable". I think Rails 3 is a great example of over-design and over-engineering. I don't really think web-frameworks need to be this complex. If people want to control their own stack with minimal code and complexity they should check out Python's WSGI interface and the tools that are built around it. You can in an afternoon tie your own framework using tools like werkzeug, mako and sqlalchemy. You can be the master without following other people's lame conventions.
- ptn 16y agoI'm about to learn Rails 3, please, which parts of it you think are complex, over-designed and over-engineered?
- epochwolf 16y agoI'm using rails 3. OP is full of crap. Rails is a full stack framework complete with ponies, unicorns, and rainbows. Asking it to be minimal is a joke, but you can get rails pretty slimmed down if you work at it. You wouldn't want to build a full app on ActionController::Metal but you can. The redesign has made the internal code of rails much simplier and ActiveModel is simply brilliant. I'm using CouchRestModel and having ActiveModel means I can use plugins like Formtastic right out of the box. Rails 3 decoupled the major components. It's more modular now. I can disable ActiveRecord without the plugins I'm using getting upset that it's missing. If anything, this makes the framework less complex because you don't have to worry about interplay between the components.
- dhh 16y agoWe've designated a release charity for people to show their appreciation of Rails 3. If you're going to use it, please help us bring clean water to 5,000 people with Charity:Water. You can donate on http://mycharitywater.org/rails3 http://mycharitywater.org/rails3
- jreposa 16y agoFor anyone using Rails 3 with haml, upgrade haml to 3.0.18... bundle update haml I lost a few hours looking for the issue where form_for was silently failing. Great support though. Here is a discussion of the issue and resolution. https://rails.lighthouseapp.com/projects/8994/tickets/5493 https://rails.lighthouseapp.com/projects/8994/tickets/5493