ruby-pg is now the official rubyforge project for the “postgres” ruby
gem. See the project here:
gem. See the project here:
http://www.rubyforge.org/projects/ruby-pg
or install the gem directly:
# gem install –remote postgres
http://www.rubyforge.org/projects/ruby-pg
or install the gem directly:
# gem install –remote postgres
The solution ORMs provide is to “map” an object class, which is a type (or domain), onto a table, which is a relation variable (a.k.a. relvar). This supposedly abstracts away an “impedance mismatch” between the two. ORMs are already off to a bad start, mapping a type to a variable, but I’ll continue.
The real impedance mismatch is a set of very fundamental differences between application data and data in a well-designed relational database.