Hi all,
    I have an Question , How to use multiple database in padrino?
DataMapper.setup(:db1,xx,xx,xx)
DataMapper.setup(:db2,xxx,xxx,xxx)

class M
  include DataMapper::Resource
  # I want use db1 for this Model
end

class N
  include DataMapper::Resource
  # I want use db2 for this Model
end

How I do it?
Thx

-- 
You received this message because you are subscribed to the Google Groups 
"DataMapper" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to datamapper+unsubscr...@googlegroups.com.
To post to this group, send email to datamapper@googlegroups.com.
Visit this group at http://groups.google.com/group/datamapper.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to