Rails 3.2.3 introduced a new option that allows you to control the behavior of remote forms when it comes to authenticity_token generation. If you want to fragment cache your forms, authenticity token will also get cached, which isn't acceptable. However, if you only use such forms wi...
Matz Earns the FSF's 2011 Free Software Award The Award for the Advancement of Free Software is given annually to an individual who has made a great contribution to the progress and development of free software, through activities that accord with the spirit of free software. This yea...
まつもとさんがFSF 2011 Free Software Awardを受賞 The Award for the Advancement of Free Softwareは一年に一度、フリーソフトウェアの精神に則った活動を通じ、フリーソフトウェアの進歩と発展に大きく寄与した個人に与えられる賞です。 今年は、プログラミング言語Rubyの創造者であるまつもとゆきひろさんが受賞しました。まつもとさんは、GNUやRuby、その他のフリーソフトウェアのため20年以上に渡って活動を続けてきました。 FSFの記事全文 Posted by Shugo Maeda on 29 Ma...
Help Yehuda Katz make Rails on OS X easy again! (on Kickstarter) Posted by chaostheory on March 29, 2012 — 0 comments Yehuda wants to develop an easy to use and install Mac app, to help make Rails easy to develop with on the Mac (again) "I am planning on taking some time off of work t...
Posted by mql on March 29, 2012 — 0 comments Okay, again. This is not Ruby. However this could be very useful in conjunction with a Ruby Backend for the data. Dance.js is a data-driven visualization framework. It's basically a flavor of Backbone.js, but enriched with some of the ideas...
Solve online puzzles with Rubeque! Posted by stephenballnc on March 29, 2012 — 0 comments Over at Rake Routes I've written a blog post about Rubeque , the new Ruby puzzle site. Comments Post a Comment Comment abilities for non registered users are currently deactivated, pending ti...
Capistrano とは何か。それは、デプロイメントのツールである。 デプロイメントとは何か。Web アプリケーションについて言えば、それは以下のようなタスク全般を指す言葉である。 アプリケーションを本番サーバにインストールすること。あるいは、最新版に更新すること。 Web サーバを起動、再起動、停止すること。 Web サイトをメンテナンス中にすること。あるいは、通常の状態に戻すこと。 世の中に向けて Web アプリケーションを公開しているなら、こうしたタスクは日常茶飯事である。 最初は少し面白いけれど、基本的な退屈な作業だ。 怠惰を美徳とする我々プログラマは、...
Capistrano is an open source tool for running scripts on multiple servers. Itâs primary use is for easily deploying applications. While it was built specifically for deploying Rails apps, itâs pretty simple to customize it to deploy other types of applications. This package is a d...
is Mike Gunderloy's software development weblog, covering Ruby on Rails and whatever else I find interesting in the universe of software. I'm a full-time Rails developer and contributor, available for long- or short-term consulting, with solid experience in working as part of a distri...
tb is a manipulation tool for table: CSV, TSV, JSON, etc. tb provides a command and a library for manipulating tables: Unix filter like operations (grep, sort, cat, cut, ls, etc.), SQL like operations (join, group, etc.), other table operations (gsub, rename, cross, melt, unmelt, etc....
task_with_airbrake 0.0.3 Error handling in rake task install gem install task_with_airbrake Download Documentation Subscribe Stats Authors Teruo Adachi 32 total downloads 11 for this version Owners Bundler gem "task_with_airbrake", "~> 0.0.3" Versions 0.0.3 March 28, 2012 0.0.2 March ...
So even if we label all methods that accept a block as iterators, we know the story runs deeper than that. With this in mind, we can leverage some basic techniques to utilize any of the approaches shown here, as well as some more advanced tricks. By doing things in a way that is consi...
module ForeignKeys def add_foreign_key(from_table, from_column, to_table, options = {}) to_column = options.fetch(:to_column, 'id') suffix = options[:suffix] on_delete = options[:delete] on_update = options[:update] on_delete = 'SET NULL' if on_delete == :set_null on_update = 'CASCADE...
Suppose that we have an app Foo that depends on Bar, no specific version. At this time, running 'gem "foo"' will automatically activate the latest version of "bar". This behavior causes various problems. A concrete example: - Rails 3.0pre depends on Rack 1.1. - Rails 2.3 depends on Ra...
There is a newer version of this episode, see the revised episode . Resources Sphinx Thinking Sphinx Thinking Sphinx Usage Guide Thinking Sphinx RDoc Install Sphinx on Leopard bash script/plugin install git://github.com/freelancing-god/thinking-sphinx.git rake thinking_sphinx:index ra...
"Конечный автомат — абстрактный автомат без выходного потока, число возможных состояний которого конечно. Результат работы автомата определяется по его конечному состоянию." (из статьи в Википедии "Конечный автомат ") Micromachine - это библиотека в 22 строчки кода, которая реализует ...
In order to have a near zero default footprint, Active Support does not load anything by default. It is broken in small pieces so that you may load just what you need, and also has some convenience entry points to load related extensions in one shot, even everything.
In extracting the model-building parts of ActiveRecord, ActiveModel makes it possible to add model-like behavior to any Ruby class, with no Rails or databases required. In his latest blog post, ActiveModel: Make Any Ruby Object Feel Like ActiveRecord , Yehuda shows off how to get Rail...