最近一直在忙工作,沒有繼續學習rails,不過還是一直在關注。年底了,在大家在回顧過去一年的同時,業界的公司,組織也不斷推出新產品,下面的幾條也已經不新了,舊聞吧,是關於Rails的。首先一個,也是在javaeye上看到最新看到的,是ruby 1.9的發布http://www.ruby-lang.org/en/news/2007/12/25/ruby-1-9-0-released/再一個,是先前一個重要的發布,Rails 2.0,javaeye上的介紹:Ruby on Rails
First, we need a simple view for our index defined in part 1index.rhtml in views/login<script type="text/javascript" src="/javascripts/login.js"></script> <p>Here comes the Content whichwill be used after the user logged on.
轉載: http://www.5itjob.net/html/86/86_itemid_1183.html Ruby on Rails 是一個相對較新的 Web 應用程式架構,構建在 Ruby 語言之上。它被宣傳為現有企業架構的一個替代,而它的目標,簡而言之,就是讓生活,至少是 Web 開發方面的生活,變得更輕鬆。在本文中,Aaron Rustad 將對 Rails 和傳統的 J2EE 架構在架構上的一些關鍵特性進行比較。Ruby on Rails 是一個 Web
1: I'm Sadek Drobi, I'm here at QCon with Matsumoto Yukihiro. Matz, can you tell us what you've been up to lately?Recently, I've been working on the version 1.9, which is the development version of Ruby, which is much faster than the stable version 1
一、建立檔案 f=File.new(File.join("C:","Test.txt"), "w+")f.puts("I am Jack")f.puts("Hello World")檔案模式"r" :Read-only. Starts at beginning of file (default mode). "r+" :Read-write. Starts at beginning of file. "w" :Write-only. Truncates existing file to
This is to setup a developement environment for Ruby 1.87 and Rails 2.2.3 on Ubuntu 10.04 (Lucid).[sourcecode language="bash"]# make sure ubuntu is up to date$ sudo apt-get update$ sudo apt-get dist-upgrade# install ruby$ sudo apt-get install ruby1.8