Forum: Ruby on Rails ROR on top of a non-SQL database

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
6688498883b5a9631e3f04dc614eec75?d=identicon&s=25 Kretch Kretchmer (kretch)
on 2009-05-21 23:24
(Received via mailing list)
Hi All
So I have a database called OpenAccess (used for describing electrical
objects like transistors etc.) and I'd like to put Rails on top of
it.
First question is "Is this possible?" i.e. can you put ActiveRecord
(or some component thereof) on top of a non-SQL database, then have
access to most of the rails goodness?

Thanks much
Kretch
Dd2d775dea75b381edb1bbf0600a0907?d=identicon&s=25 Marnen Laibow-Koser (marnen)
on 2009-05-22 13:39
Kretch Kretchmer wrote:
> Hi All
> So I have a database called OpenAccess (used for describing electrical
> objects like transistors etc.) and I'd like to put Rails on top of
> it.
> First question is "Is this possible?" i.e. can you put ActiveRecord
> (or some component thereof) on top of a non-SQL database, then have
> access to most of the rails goodness?

I don't know offhand how to do this but it should be possible: there are
people using Rails with CouchDB, and with Amazon's SimpleDB (the
SimpleRecord library).

>
> Thanks much
> Kretch

Best,
--
Marnen Laibow-Koser
http://www.marnen.org
marnen@marnen.org
4375b4aca04b8d72482fd409fb6d0b47?d=identicon&s=25 Roderick van Domburg (roderickvd)
on 2009-05-22 17:52
Marnen Laibow-Koser wrote:
> I don't know offhand how to do this but it should be possible: there are
> people using Rails with CouchDB, and with Amazon's SimpleDB (the
> SimpleRecord library).

Yes you can, just not with ActiveRecord without creating your own
intermediate layer.

--
Roderick van Domburg
http://www.nedforce.com
6688498883b5a9631e3f04dc614eec75?d=identicon&s=25 Kretch Kretchmer (kretch)
on 2009-05-22 19:12
(Received via mailing list)
Thanks Marnen-
The SimpleDB example is very interesting, and looks like it could be
applicable to my problem. Thank you for pointing me in that direction!


regards
Kretch

On May 22, 4:39 am, Marnen Laibow-Koser <rails-mailing-l...@andreas-
6688498883b5a9631e3f04dc614eec75?d=identicon&s=25 Kretch Kretchmer (kretch)
on 2009-05-22 19:13
(Received via mailing list)
So SimpleDB is a drop-in replacement for ActiveRecord? Or does is sit
between ActiveRecord and the Amazon Simple DB?

Thanks much
Kretch

On May 22, 8:52 am, Roderick van Domburg <rails-mailing-l...@andreas-
E66ceae48943526967c5118011e58b63?d=identicon&s=25 Travis Reeder (Guest)
on 2009-06-30 04:47
(Received via mailing list)
We've built a drop in replacement for ActiveRecord called
SimpleRecord:

http://code.google.com/p/simple-record/

Just make your models extend SimpleRecord::Base instead of
ActiveRecord::Base and you're good to go.

Travis
This topic is locked and can not be replied to.