Questions tagged [ruby-datamapper]

DataMapper is a Object Relational Mapper written in Ruby. It implements an architectural pattern with the same name (with some changes).

Key features of Datamapper:

  • query chaining (delaying actual talking to a DB until necessary)
  • bulk loading of several data rows with one query
  • very abstract design allowing non-SQL adapters
  • lazy loading of large fields

Home page http://datamapper.org/

242 questions
0
votes
1 answer

How do you use a row from one table as a property in another table using Datamapper?

The specific instance I am referring to is here. I want to use a row from the Grid table to be the value of the Grid property in the Driver table. But I cannot get updates in the Grid table to persist through to the Grid property on the Driver…
JoeyC
  • 764
  • 11
  • 19
-2
votes
1 answer

Syntax error I don't understand

edit: cleaned this question up by removing unneccessary detail I'm trying to use data mapper with ruby, but I keep getting this syntax error, and I have no idea how to fix it: user.rb:1: syntax error, unexpected keyword_class, expecting $end include…
Matthew Sainsbury
  • 1,470
  • 3
  • 18
  • 42
1 2 3
16
17