2008-10-22から1日間の記事一覧

Ajax.in

Rails 2.1.1 では,form_authenticity_token が必要な関係上,Ajax 関係のリクエストをそのまま使うと失敗する.対処法としては,下記のように直接記入するとか. <p id="place">ここをクリックして編集</p> <script type="text/javascript"> new Ajax.InPlaceEditor('place', '<%= url_for(:action => "update…

iiim-properties が core を吐く対策 など

iiim-properties の適用・OKで core を吐いて落ちる問題は,http://blog.browncat.org/2007/12/atok_x3gconf.html を参考に対策をとってみた. #!/bin/sh gconftool -s "/desktop/input_methods/languages_save" -t list --list-type=string "[ja;atokx3;]…