railsでは二重投稿防止のために簡単な方法が用意されています。 <%= submit_tag '開始', :disable_with =>'読み取り中・・・' %> submit_tag に :disable_with オプションを付けるだけ。 一度ボタンを押したら、処理が終わるまでボタンが押せなくなります。 手軽すぎてワロタ。
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く