2008-06-01から1ヶ月間の記事一覧

svn:このクライアントは、・・・古すぎます

数日前に再インストールしたのに、こんなメッセージがでる svn: このクライアントは、作業コピー 'C:\Aptana IDE Beta\roommgr08\vendor\plugins ' を扱うには古すぎます。もっと新しい Subversion クライアントをダウンロードしてく ださい。

public/javascriptの謎

プラグインマネージャーでPrototype Support1.6.0となっているのに、プロジェクトのprototype.jsは1.5.0な状況に理解に苦しんでいたのがついさっきまで。 何気なく新しいプロジェクトを作成してみると、public/javascriptsの中身ががらりと変わっている。(…

ProtoCalendarを試す

これ http://labs.spookies.jp/product/protocalendarヘルパーに仕込む def date_field(object_name, method, options = {}) result = text_field_for_date(object_name, method, options) styleId = options[:id] ? options[:id] : object_name.to_s + '_' …

gem updateしたら動かなくなった

つい、いらっとして「gem update」とコマンドを打ってしまった。今は反省している。RadRailsでサーバーを起動したらエラーがでるようになった。 ** Starting Mongrel listening at 127.0.0.1:3008 ** Starting Rails with development environment... C:/Rub…

date_selectとdatetime_selectでvalidateは注意が必要だね

ここ数日の悩み。 date_selectを使って日付を選択させるんだけど、2/31とか6/31が選択できてしまう。 そいでvalidateでDate.todayと比較させていたんだけども、ありえな日付を選択したときにエラーが発生してしまうのだ。 if hoge_day.nil? errors.add(:hoge…

calendardateselectを試す。

calendardateselectを試している。 http://code.google.com/p/calendardateselect/ 便利そうなんで入れてみると「prototype.jsのバージョンが古いよ!」って怒られた。1.6な最新版にする。 ヘッダに召喚呪文を書かないといけないらしいので、ビューの中に入…

ActiveCalendarを試す。

アプリケーションのルートディレクトリで C:\Aptana IDE Beta\roommgr08>ruby ./script/plugin install http://activecalendar.googlecode.com/svn/trunk/activecalendar svn: このクライアントは、作業コピー 'C:\Aptana IDE Beta\roommgr08\vendor\plugins…