![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
activerecord
iteye_20993
这个作者很懒,什么都没留下…
展开
-
DB Cluster / Replication in Active Record
突然看到了這篇文章,差點沒興奮的大叫出來!!!I have done some extensive work on active record to allow for databases to be defined in terms of "connection pools" rather than simply one database. Most of the work was compl...2007-02-07 03:18:10 · 59 阅读 · 0 评论 -
在 Rails 之外使用 ActiveRecord
今天要寫一個 cron script 要用到資料庫,因為已經被 Active Record 慣壞了,懶得用 SQL。所以就花點時間 Survey 怎麼再 Rails 之外使用 Active Record。簡單版1. require 相關的 lib require "rubygems" require_gem "activerecord"2. 建立 DB Connection ActiveRe...2007-03-15 08:11:34 · 116 阅读 · 0 评论