何気なくTwitterのタイムラインを見ていたら、
wycatsとd2hがMerbがRails3にマージされるというお知らせをしてました。

Rails And Merb Merge

Today is a fairly momentous day in the history of Ruby web frameworks. You will probably find the news I’m about to share with you fairly shocking, but I will attempt to explain the situation.

Merb gets merged into Rails 3!

It’s christmas, baby, and do we have a present for you. We’re ending the bickering between Merb and Rails with a this bombshell: Merb is being merged into Rails 3!

確かに最近Railsが急速にMerb化してきてる気がするなと思ってたのですが。
save!のポリシーがどういう感じにmergeされるのかが気になる所。

Updates

#merbを見ていて分かった事など。

  • "any app can be a slice" 全てのアプリケーションがsliceとして利用可能らしい。てことはRails3にはsliceが入るっぽいですね。
  • "we're going to have a rails-core which is basically merb-core"
    merb-coreをベースとしてrails-coreを作るらしい。
  • "goal is beta by RailsConf" 次のRailsConfまでにβを出すのが目標。
  • "rails JS helpers become modular" RJSはモジュールかされて標準添付からは追い出される。
  • "DM definitely will be first-class. Just because AR is the default, doesn't mean DM shouldn't be just as easy to use."
    ARが標準のORMとなるが、DMも同等のサポートを受ける。
  • 依然としてtest/unitがデフォルト。これを機にRSpecが標準になったら良かったのだけど。
  • "get all the specific js code out of the view" JSはviewに書かないスタイルになる。
  • "Rails 3 will definitely have some incompatibilities with Rails 2.x" Rails 3が2.xとの互換性を保つのは難しそう。

全体的な印象として、MerbをベースにRailsを作り直す(%%ビッグバンリライトする%%→ビッグバンリライトではないと書いてた。notを読み落としてました。thanks @moro)ような感じがします。

See Also

posted by genki genki on Wed 24 Dec 2008 at 04:57 with 2 comments
kwatch kwatch 12/25 08:34
> save!のポリシーがどういう感じにmergeされるのかが気になる所。
そこはDataMapperの話なので、MerbやRailsはあんまり関係しないと思います。
またORMを変えた場合は、Modelに関するコードも書き換える必要があると思うので、save!がマージされるとかそういうことはないと思います。
瀧内元気 瀧内元気 12/25 08:57
コメントありがとうございます。
確かにsave!の実装自体はORM次第ですね。
現状のMerbのように、どのORMを選ぶかによって互換性のない別なコードで動くようになるのかなー。

個人的には、何らかのORMを抽象化するようなレイヤー(ActiveModel?)的なものが出てくる可能性もあるかなと思っています。

どうなるか今後の動向に注目ですね。
Contents rssrss
光ファイバーを二次元振動させて走査するAR用ディスプレイ
因果の取り違え
Swift2's defer for CoffeeScript
mongodb-3.0からcreateIndexのdropDupsが無くなったらしい
mongodb-3.0以降のWiredTigerの設定を動的に変更する方法
一般楕円の高速生成アルゴリズムへの道標
farro mantecatoのレシピ
Droonga関連の記事のまとめ
RuntimeErrorの特定のメッセージに限定してrescueする方法
jQueryでscriptタグを実行せずにappendする
Tags
coffeescriptdefergroongajsmemonodenodejs
Comments rssrss
https://listji.com/index.php?page=user&action=pub_profile&id=72479&item_type=active&per_page=16 https://listji.com/index.php?page=user&action=pub_profile&id=72479&item_type=active&per_page=16: As tһe premier furniture store аnd comprehensive f... 05/16 07:16
https://khvanchkaravino.ru https://khvanchkaravino.ru: Квартира мечты за 2 месяца — помогаем выбрать мебе... 05/16 05:06
https://www.tequilagames.com https://www.tequilagames.com: Thanks for finally writing about >something new an... 05/16 03:16
https://%EB%B6%80%EB%B9%84%EC%A3%BC%EC%86%8C.isweb.co.kr/ https://%EB%B6%80%EB%B9%84%EC%A3%BC%EC%86%8C.isweb.co.kr/: We absolutely love your blog and find a lot of you... 05/16 01:40
https://zgarcitul01.com https://zgarcitul01.com: Hi my loved one! I wish to say that this post is a... 05/16 01:10
https://pelnadobrego.pl https://pelnadobrego.pl: I love what you guys tend to be up too. This sort ... 05/15 22:11
https://bet365info.org/%f0%9f%92%b8-%d8%a8%d8%a7-%d9%87%db%8c%da%86%db%8c-%d8%af%d8%b1-%d8%a7%d9%86%d9%81%d8%ac%d8%a7%d8%b1-%d9%85%db%8c%d9%84%db%8c%d9%88%d9%86%d8%b1-%d8%b4%d9%88-%d8%b1%d8%a7%d9%87%d9%86%d9%85%d8%a7%db%8c/ https://bet365info.org/%f0%9f%92%b8-%d8%a8%d8%a7-%d9%87%db%8c%da%86%db%8c-%d8%af%d8%b1-%d8%a7%d9%86%d9%81%d8%ac%d8%a7%d8%b1-%d9%85%db%8c%d9%84%db%8c%d9%88%d9%86%d8%b1-%d8%b4%d9%88-%d8%b1%d8%a7%d9%87%d9%86%d9%85%d8%a7%db%8c/: درود، بنده امروز اتفاقی در اینترنت با این وبسایت آ... 05/15 21:26
https://linklist.bio/jutawanbetlogin https://linklist.bio/jutawanbetlogin: Hi there, You've done an excellent job. I will ce... 05/15 21:20