参照: The Basics of Creating Rails Plugins 上記のドキュメントは現時点で work n progress な状態で(当たり前だけれど)親切な書き方はされていないし、情報にも抜けがあるように見える。実際に試して、動く手順をメモしていく。利用している環境はちょっとバージョンが古い等あるんだけれど、流れを確認するだけなので気にしない。 準備 先ずは下準備。手軽な sqlite 環境で環境を整える。rvm +pow利用が前提。システムの gem を汚さないように gemset も分ける。また今回は gem にすることは考えず、vendor/plugins 以下にプラグインを実装していくやり方。 $ rails new rails3-plugin $ cd ~/.pow $ ln -s ~/rails3--plugin . $ cd $ rvm gemset c
Overview The jQuery Form Plugin allows you to easily and unobtrusively upgrade HTML forms to use AJAX. The main methods, ajaxForm and ajaxSubmit, gather information from the form element to determine how to manage the submit process. Both of these methods support numerous options which allows you to have full control over how the data is submitted. Submitting a form with AJAX doesn't get any easie
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く