
rails
zqho
这个作者很懒,什么都没留下…
展开
-
rails APIS
If you install Rails using RubyGems, simply start the gem documentation server using gem_server, and you can access the Rails API through the browser by pointing the address http://localhost:8808.原创 2007-09-12 17:45:00 · 500 阅读 · 0 评论 -
select a different database(other than MySQL)
If you want to use anthoer database other than MySQL, you can edit the database.yml in config folder after you create the rails porject.However, if you know that youll be using database other than原创 2007-09-14 09:36:00 · 427 阅读 · 0 评论 -
create the model and table
work>ruby script/generate model productthe generator creates a bunch of files. The two were interested in are the model itself product.rb, and the migration 001_create_products.rb.In this file,原创 2007-09-14 10:26:00 · 476 阅读 · 0 评论 -
《Agile Web Development with Rails》读书笔记(一)
I. My way of RailsWorking as an embedded system developer, I never know much about web development. When I found my colleague build an website for ordering & managing the dinner原创 2007-09-19 10:20:00 · 572 阅读 · 0 评论 -
《Agile Web Development with Rails》读书笔记(二)
Instant GratificationAfter the Rails environment has been established, I write a simple application to verify we have got Rails snugly installed on my machine. I. Create a n原创 2007-09-19 15:06:00 · 604 阅读 · 0 评论 -
《Agile Web Development with Rails》读书笔记(三)
Make Dynamic PagesIn order to get dynamic pages, I need to embed some ruby code into the *.rhtml in views.First, I introduce some symbols in *.rhtml. : content between is interpreted as ruby co原创 2007-09-19 17:13:00 · 504 阅读 · 0 评论 -
《Agile Web Development with Rails》读书笔记(四)
The Depot ApplicationI’ll take the creating a depot application of books for maintaining and buying as an example. Of course, this application has database operation( I use MySQL here ).Create dat原创 2007-09-21 14:44:00 · 696 阅读 · 0 评论