Sinatra sinatra 操作 db 一般用什么搭配?

yakczh · August 19, 2013 · Last by ericguo replied at October 05, 2013 · 2643 hits

有没有例子学习下

我现在使用 mongoid, 曾经用过 DataMapper, Activerecord 其实跟 Rails 差别不大

@neverlandxy_naix mongoid 怎么和 sinatra 使用?

@yakczh 楼主伸手党啊^_^,@luikore 大神给的链接点进去看一下就知道了...

DateMapper 可以看这个例子,from Simple Sinatra

You need to Sign in before reply, if you don't have an account, please Sign up first.