Here's an overview of some of the tools I've been using for behavior driven API development in Ruby.
Ruby における振る舞い駆動による API 開発を行ううえで私が使っているツールについての概要。
Here's an overview of some of the tools I've been using for behavior driven API development in Ruby.
Ruby における振る舞い駆動による API 開発を行ううえで私が使っているツールについての概要。
The Radiant iPhone extension adds an iphone tailored ui to Radiant CMS.
The Radiant 用の iPhone エクステンションを使うと、iPhone 専用の UI が Radiant CMS で使えるようになる。
FiveRuns has posted an article on the opportunity for Ruby on Rails developers given the current global financial situation. We're bullish :-). And, we'd love to hear your thoughts.
FiveRuns は Ruby on Rails 開発者に対して現在における世界の金融状況を知らせる記事を投稿した。我々の見通しは明るい :-)。また、我々はみなさんの考えをぜひ聞きたいと考えている。
Several recent blog posts about instance_eval: a warning not to overuse it, making it optional by checking blog arity, mixing and unmixing instead of using instance_eval, and using instance_eval with delegation.
最近、instance_eval についてのブログの投稿がいくつかあった: 使いすぎないようにという警告、 ブロックの引数の数をチェックすることで引数を省略可能にする、instance_eval を使うかわりに mixing と unmixing を使う、委譲と instance_eval 。
I wrote a tutorial on how to have Growl-like Autotest notifications on Ubuntu.
Growl ライクな、自動テスト通知を Ubuntu で行なう方法のチュートリアルを書きました。〔訳注: Growl はシステムからの通知を表示する MacOS X アプリケーション〕
Using Umbrella Today? as a case study, thoughtbot will provide Advanced Rails training at Rockefeller Center, NYC on Friday, December 5th. Topics covered include Rails best practice patterns, refactoring with confidence, Test Driven Development with ease, and contributing back to the community with plugins and gems.
ケーススタディとして Umbrella Today? を使い、thoughtbot は ニューヨークのロックフェラーセンターでアドバンスド Rails トレーニングを 12 月 5 日金曜日に行ないます。内容としては、Rails ベストプラクティスパターン、信頼をもったリファクタリング、テストケースを伴ったテスト駆動開発、プラグインや gem を使ってコミュニティに貢献する方法、などです。
How to stop errors in your rails app driving you hopping-mad. A blog post about how Hoptoad help keep us sane around the launch of Swirrl.
自分の Rails アプリで起こっている、あなたを激怒させているエラーを止める方法。Swirrl のローンチ時に、Hoptoad がどのように我々の正気を保させてくれるかについての、ブログの投稿。
Stale caches causing inconsistent user experience and response times? Yahoo developers proposed an extension (stale-while-revalidate) to address this problem. We implement a proof of concept Ruby caching server for this pattern.
古いキャッシュは、一貫性がないユーザ体験と、応答時間での問題を引き起こすよね? Yahoo の開発者たちはこの問題を解決するための拡張 (stale-while-revalidate) を提案した。私たちはこのパターンを使って、コンセプトを実証するための Ruby キャッシュサーバを実装してみた。
The results of Hampton Catlin's Ruby Survey are in. 1,224 people responded. 74% have read the Pickaxe. 40% are atheist.
Hampton Catlin による Ruby アンケードでは、1,224 名が回答してくれた。このうち 74% がピッケル本を読んだことがあり、40% が無神論者であった。
Shouldn't you be testing your helpers? It's not very well known, but Rails provides ActionView::TestCase for doing just that.
自分のヘルパー関数をテストしてないことない? あまり知られてないけど、Rails は ヘルパー関数のテストをしてくれる ActionView::TestCase を提供している。
My partners and I have made an amusing and hopefully informative video on Ruby and the vast support it has seen in 2008. We hope you enjoy it:
http://www.youtube.com/watch?v=_2VXUQwGHZg
私とパートナーは、愉快で、かつ (できれば) ためになる Ruby のビデオと、2008 年に見られたそれの広大なサポートを作成した〔訳注: 意味不明〕。楽しんでもらえますように: http://www.youtube.com/watch?v=_2VXUQwGHZg
The Path to Ruby Mastery Interview Series by Ruby Masters, provides guidance to and answers questions confronting Ruby beginners from across the globe. Today, Dr Nic Williams reveals his secrets!
Ruby Masters による、Ruby の達人への道インタビューシリーズでは、Ruby 初心者へのガイダンスおよび初心者が直面している質問への回答を世界中から提供している。今日は、Dr Nic Williams が彼の秘密を教えてくれた!
The Omaha Ruby on Rails User Group will meet again this Wednesday, Oct 8th. We will have special guest Ryan Bates of Railscasts.com via an iChat audio session there to answer questions regarding Rails development and building an online community.
オマハ Ruby on Rails ユーザグループは今週水曜日の 10 月 8 日に再度会議を行なう予定。特別ゲストとして Railscasts.com の Ryan Bates に iChat 音声セッションを行なってもらい、Rails の開発とオンラインコミュニティの構築について質疑応答を行なう予定。
The Mack Web Application Framework now has a comprehensive, and ever growing, User Guide to help developer's make use of Mack's rich feature set. The User Guide can be found at: http://www.mackery.com/
Mack Web アプリケーションフレームワークに、包括的で、今も成長を続けているユーザーズガイドが用意された。このガイドは、開発者が Mack の豊富な機能セットを利用するのを助けてくれる。ユーザーズガイドはこちら: http://www.mackery.com/
The Mack Framework has just reached version 0.8.0. The release includes substantial feature improvements to the router, Configatron support, a new asset management system, better error handling, reporting, and logging. Plus, much more!
Mack フレームワークはバージョン 0.8.0 に達した。今回のリリースには、ルータにおける持続的機能の改善、Configatron のサポート、新しい資産管理 (asset management) システム、よりよりエラー処理、レポート機能、ログ機能、その他たくさん!
rails proxy plugin: http://github.com/shuber/proxy: A rails plugin that allows applications to dynamically respond to proxied requests by detecting forwarded host/uri headers and setting the session domain, default host, and relative url root. The plugin adds this functionality to calls to url_for, named route helpers, and view url helpers while still allowing you to specifically set the :host and :only_path options to override this behavior.
Rails 用 proxy プラグイン: http://github.com/shuber/proxy: アプリケーションがプロキシ経由のリクエストに対して動的に応答するようにできる Rails 用のプラグイン。転送されたホスト/URI ヘッダーを検出し、セッションドメインやデフォルトホストや相対 URL ルートを設定してくれる。プラグインはこの機能を、url_for() や named route ヘルパーやビューの url ヘルパーのために追加するが、:host と :only_path オプションを使うことでこの挙動を上書き指定できる。
A new YAML.dump implementation that is many times faster in our real-world tests.
新しい YAML.dump の実装は、現実世界のテストをたいへん高速化してくれる。
NamedScope For Those Left Behind: This is not simple hack of named scope like you might find in WillPaginate. This is a fully backported and tested version of NamedScope that will work on rails 1.2.6 or 2.0.4. The most important part of this plugin is that it is TESTED. In fact all the test are Shoulda/FactoryGirl ports of the tests currently found in rails 2.1.1.
This plugin includes backported code for the ActiveRecord class methods that work in conjunction with NamedScope such as first, last and all. This plugin also includes ActiveRecord.attribute_condition which allows you to use named scopes as conditions in other finder methods.
残された人々のための NamedScope: これは、WillPaginate で見られるような named scope の簡単なハックではない。こいつは NamedScope の 1.2.6 と 2.0.4 への移植 (バックポート) である。移植したバージョンは、完全でかつテストもされている。このプラグインでいちばん大事なのは、十分にテストされているということである。事実、すべてのテストは Rails 2.1.1 で動かした Shoulda/FactoryGirl からのテストの移植である。
このプラグインは、first や last や all といった、NamedScope を使った連結 (conjunction) で動作する ActiveRecord クラスメソッドの移植を含んでいる。このプラグインはまた、他の検索用メソッドの中で named scope を条件として使うための、 ActiveRecord.attribute_condition も含んでいる。
FiveRuns has posted the latest Rails TakeFive interview, this week, from Prague, featuring Karel Minařík. Check it out here.
FiveRunsは最新の Rails TakeFive インタビューを公開した。今週は Prague から Karel Minařík。ここでチェック。
Capistrano can do way more than deployment: read our top 5 uses for Capistrano
Capistrano は配備だけでなく他のこともできる: 我々が書いた Capistrano を使うべき 5 つの場面 をどうぞ。
Have two models that you'd like to join that are separated by two relationships? In this article Tim Harper (that's me - I'm a third person!) describes a clever trick to achieve just that using named_scope finders, without losing the ability to chain additional named scopes.
Full Article
ジョインしたい 2 つのモデルがあって、それが 2 つの関連づけで分かれていたら? この記事では、Tim Harper なる人物が (これは自分のこと - 私は第三者なのです!) これを named_scope による検索メソッドを使って実現してくれる賢いトリックを説明してくれている。ここで紹介する方法を使っても、他の named scope をつなげられます。
記事全文
Searchgasm 1.3.0 released! Face melting modifiers / database agnostic searching
Searchgasm 1.3.0 がリリースされた! 顔が溶けるような修飾子 / データベースに依存しない検索〔訳注: たとえば MySQL では HOUR(created_at)、PostgreSQL では date_part('hour', created_at)、SQLite では strftime('%H', created_at) と異なる部分を吸収してくれるライブラリ〕
1.0 release of the popular Ruby based web server Thin was released. Read more from Marc-André Cournoyer's blog or the announcement.
Ruby ベースの Web サーバとして人気のある Thin の 1.0 がリリースされた。詳細は Marc-André Cournoyer のブログまたは 告知でどうぞ。
Last year over 100 attendees and speakers from around the UK, Europe and US came together in Edinburgh for what keynote speaker and RailsCore member Michael Koziarski recently described on stage in Berlin as "the best small conference" he had ever attended.
Scotland on Rails is pleased to announce the conference will be running again on March 26―28, 2009 and the call for proposals is now open. We are hoping for a mix of new and experienced speakers, targeting both new and experienced Ruby programmers. Any 45 minute sessions on Ruby, Rails, or associated technologies and techniques will be considered. The closing date for submissions is December 1st 2008.
去年はイギリスとヨーロッパとアメリカから 100 名を超える参加者とスピーカーがエジンバラ〔訳注: スコットランドの首都〕にやってきました。また〔訳注: RailsConf Europe 2008 が行なわれた〕ベルリンのステージで、キーノートスピーカーであり RailsCore メンバーでもある Michael Koziarski が〔訳注: Scotland on Rails のことを〕今まで参加した中で最も優れた小さいカンファレンスだと説明しました。
Scotland on Railsというカンファレンスを2009 年 3 月 26-28 日に開催します。また発表の申し込み (call for proposals) も受けつけています。私たちは新しいスピーカーと経験豊かな発表者の両方が混在することを望んでおり、またセッションも Ruby 初心者と経験豊かな Ruby プログラマーの両方を対象としています。Ruby や Rails やその他関連技術についての 45 分間のセッションを考えています。申し込みの締め切りは 2008 年 12 月 1 日です。
I just finished up my first RubyGem WeatherMan. It's based on RWeather but adds support for forecasts and more. You can learn more about it in this post I wrote or go straight to the GitHub project.
自分の最初の RubyGem である WeatherMan をリリースしました。これは RWeather をもとにしてますが、天気予報やその他の機能を追加しています。より詳しいことは私のこの投稿またはGitHub のプロジェクトのページをご覧下さい。
Smushit: reduces image sizes dramatically, lossless!
Great for logos/icons…(but does not work for gifs) script to convert your files from the cmdline
Smushit: 画像サイズを劇的に削減する、しかもロスレスで!
ロゴやアイコンにはすごく役立つ…(ただし gif には使えない) コマンドラインで自分のファイルを変換するためのスクリプト
A hands on look at the available tools, and techniques to do log replay to simulate a collection of users + release of a Ruby driver to automate these tests.
利用可能なツールを見てみるハンズオン、ログを再現するテクニックでユーザの集合をシミュレートする + これらを自動化するたえの Ruby 用ドライバのリリース。
I've finally posted part 11 in my series on writing a compiler in Ruby. This part deals with splitting out most of the x86 specific code generation into a separate class to make the main compiler code more portable and maintainable.
私は Ruby でコンパイラを書いてみるシリーズの第 11 回目を遂に投稿しました。今回は x86 に特化したコード生成の大半を別のクラスに分離し、メインとなるコンパイラのコードをより移植性の高いものにし、かつ保守性を高めるようにしました。