2008-03-01から1ヶ月間の記事一覧
ExternalInterface API を使用HTMLソース <html> <head> <title>wrapper/WrapperBeingCalled.html</title> </head> <body scroll='no'> <script language="JavaScript"> function changeDocumentTitle(a) { window.document.title=a; document.getElementById('title').innerHTML = a; return "successful"; } </script> </body></html>
キーワード
puts Time.now.to_i
$ cd PROJECT_NAME $ ruby script/plugin install http://themidnightcoders.net:8089/svn/weborb
$ rails PROJECT_NAME //プロジェクト作成 $ cd PROJECT_NAME $ ruby script/generate model MODEL //モデル作成 $ ruby ruby script/generate controller MODEL //tコントローラー作成 $ ruby script/server -d //サーバー起動 http://HOST:3000/ //起動確認