You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert
Alexander Dymo Alex is the co-author of the KDevelop IDE for Linux and Mac and was the founding engineer at Acunote. 1 Introduction I often hear that Rails is slow. This has become a common theme among the Ruby and Rails community. But it is actually a myth. It's easy to make your application up to 10x faster just by using Rails in the right way. Here's what you need to know to optimize your Rails
Posts tagged "eager load" A couple weeks ago, Aaron Patterson (aka @tenderlove) wrote about getting rid of config.threadsafe! on Rails 4. When discussing multi-process and multi-threaded servers in production, one important aspect of the discussion that came up in the blog post was code loading. This blog post is about which code loading strategies exist in a Rails application, … » Tags: eager loa
This document discusses the architecture and development of Tabelog, a restaurant review and recommendation website from Japan. It notes that Tabelog uses Rails for its frontend application and a custom framework called Cobqlo for its backend services. It has divided its model, view, and controller logic between these two frameworks to improve scalability. The backend services communicate with the
Disclaimer: This post is mostly about Rack. If your unfamiliar with this software, you may want to read this first. Unit testing of controllers Testing the Rails components in complete isolation from one another is not that easy. Obviously, integration tests exist to set the whole application stack in motion, while on the opposite, unit testing focus on asserting that small pieces of code perform
Hi everyone, Rails 3.2.9 has been released without new changes since 3.2.9.rc3. IMPORTANT! A DoS attack was recently found in Ruby that uses specially-crafted input to dramatically reduce the performance of hashes, thus using up lots of CPU time. Rails applications may be vulnerable to an attacker sending a specially-crafted HTTP request to exploit this. A good way to limit the effectiveness of su
I gave a presentation in RubyConf Argentina about what’s new in Rails 4 (if you saw it please rate it). I’ve already posted the Rails 4 MindNode which I used to start to think about what I was going to present. The talk was in Spanish but I’m leaving here the English version of the slides. If you want to use these slides to spread the word about what’s new in Rails you don’t need to ask me for per
Hi everyone, Rails 3.2.9.rc1 has been released. If no regressions are found I will release 3.2.9 final this Thursday 1st. If you find a regression open an issue on github and mention me on it, mail me or tweet me, whatever but let me know :). CHANGES since 3.2.8 Action Mailer Do not render views when mail() isn’t called. Fix #7761 Yves Senn Action Pack Accept :remote as symbolic option for link_to
昨日 @bekkou68 さんに「前島さんってどうやってRubyやRails関連の情報を収集しているんですか?」って聞かれたのでまとめてみます。とりあえず海外のブログ限定で。日本ブログ編は気が向いたらやります…。 RailsCasts 有名すぎて説明不要かもしれませんね。毎週2つ(うち1つは有料購読が必要)の Rails 関連動画をアップロードしてくれているサイトです。良質な情報を定期的に届けてくれるすばらしいサイトですね。1ヶ月9ドル払って有料購読する価値は間違いなくあると断言できます。動画中で紹介しているライブラリの情報もすばらしいですが、コード例もかなりRailsっぽく綺麗に書かれていて大変参考になります。 RubyFlow いろいろなRuby開発者のブログの更新情報をまとめたブログ。簡単な紹介文に各ブログのリンクがくっついているような形式です。日によってばらつきがありますが、だいた
注意 このエントリは急いで書いたので間違いが含まれている可能性が高いです。気づいた方はご指摘ください。 序文 strong_parameters とは、mass assignment で余計なパラメータをモデルの属性にセットさせないための新しい仕組みです。Rails 4.0 からはこれが標準になります。Rails2.x と 3.x はattr_accessibleやattr_protectedなどで似たような機能が提供されていましたが、これだと管理が煩雑になるケースがありました。 今年の3月くらいにGitHub が mass assignment の脆弱性を突かれたことで 、この問題をどうにかしようという流れが起き、最終的に strong_parameters が作られるという経緯を辿りました。 mass assignment とは Rails ではこんなコードをよく見ると思います。 de
Phusion Passenger is an Apache and Nginx module for deploying Ruby and Python web applications. It has a strong focus on ease of use, stability and performance. Phusion Passenger is built on top of tried-and-true, battle-hardened Unix technologies, yet at the same time introduces innovations not found in most traditional Unix servers. Since mid-2012, it aims to be the ultimate polyglot application
zeusはRuby on Railsのコマンド実行速度を高速化するソフトウェアです。 Ruby on Railsはここ数年で一気に知名度を高めてきました。そんなRailsですが、コマンドを実行した後の処理の重さにみんな辟易していました。そこで使ってみたいのがzeusです。 インストールします。 起動しました。 サーバを立ち上げます。おお、速いかも。 コンソールを立ち上げます。こちらも速い。 デモ動画です。 zeusはRailsのインスタンスを常に起動しておいて、それを使って他のコマンドを実行する仕組みになっていると思われます。そのため様々なライブラリなどをロードすることもなく、即座に実行できるのが魅力です。コンソールやサーバ、Generate系、rake、テストなどが高速で処理されるようになります。 zeusはRuby製、MIT Licenseのオープンソース・ソフトウェアです。 MOON
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く