Account Options

  1. Sign in
The old Google Groups will be going away soon.
Switch to the new Google Groups.
Google Groups Home
« Groups Home
Group info
Language: English
Group categories: Not categorized
More group info »
Discussions
View:  Topic list, Topic summary Topics 1 - 10 of 1796  Older »

You cannot post messages because only members can post, and you are not currently a member.
Description: Ruby DataMapper: http://datamapper.org
 

flag DataMapper 1.2.0 Released 
  Hi All, I'm happy to announce that after 2 RCs I pushed the final version of DataMapper 1.2.0. Check out the official announcement on [link] Thank you so much to all the contributors for helping with this release! Cheers!
By Piotr Solnica  - Oct 13 2011 - 2 new of 2 messages    

valid? raises error: wrong number of arguments (1 for 0) 
  I have a model named Fact. A fact belongs to many other models and holds some attributes. Think of it as a data-warehouse fact table. class Fact include DataMapper::Resource belongs_to :patientposition, :key => true belongs_to :controlpointcount, :key => true belongs_to :radiationtype, :key => true... more »
By Johannes Held  - May 15 - 3 new of 3 messages    

dynamic tables 
  Hello all, I've dabbled in datamapper in the past, but don't have much experience in it. I'm trying to evaluate its usefulness for solving a problem I have. I have a number of tables (probably ~50) that I need to get data from. Each table has 5 columns in common. Beyond those 5 columns each table has various numbers of various other columns; none of them... more »
By Clark Snowdall  - May 10 - 2 new of 2 messages    

What is the proper way to execute a SQL statement via DataMapper? 
  Hello list, I’m wondering what's the proper way to execute a SQL statement via DataMapper. Assume I these models are created at runtime: class Bar include DataMapper::Resource property :id, :Serial end class Foo include DataMapper::Resource property :a, :Serial property :b, :Serial... more »
By Johannes Held  - May 3 - 1 new of 1 message    

Listing all models in a repository (reflection) 
  I'm trying to whip up some debug pages based around all the models in my repository and I'm wondering if I can do this dynamically. Is there a way to list all the models in a given repository? I'm not looking to list all the *objects* in the repo (not yet at least), but all the different kinds of models and their properties. I poked around... more »
By jbrennan  - May 2 - 4 new of 4 messages    

Mutex already locked error in pooling.rb (jruby/torquebox) 
  Hi, I'm getting the following error at "random" times in an app I have deployed using jruby (1.6.7) on torquebox (2.0.1), using latest datamapper gems: [link] It's not something I can reproduce at will, seems to happen every few days under low load. Anyone has an idea what's going on here? Bug in the pooling code?... more »
By Patrik Sundberg  - Apr 27 - 1 new of 1 message    

DataObjects::Postgres::Result 
  I executed a pure SQL query against Postgres using DataMapper and got an object of class DataObjects::Postgres::Result. However, I can't find any kind of documentation indicating how to manipulate this instance to get the data. Can you point me to that documentation? Thanks.
By Neil C  - Apr 22 - 2 new of 2 messages    

Attributes on an Association 
  I need to store people, albums, photos, and the order that photos appear in an album, so I decided to try adding a "position" attribute to the association between Photo and Album. Consider the following models: class Person include DataMapper::Resource ... end class Album include DataMapper::Resource... more »
By Neil Chaudhuri  - Apr 21 - 2 new of 2 messages    

Query Order 
  Guys, how can I set the query (all, first, etc) order to something like "ifnull(column1, column2) asc", I just can "order => [:column1.asc, :column2.asc]", but it does't work for null columns. Thanks
By Fred  - Apr 18 - 1 new of 1 message    

Many to one association question 
  Howdy! I have a very simple Many to One relationship class InterviewGroup include DataMapper::Resource property :id, Serial has n, :interviews end class Interview include DataMapper::Resource property :id, Serial belongs_to :interview_group belongs_to :person end The problem is when I destroy an Interview, it deletes the parent... more »
By Jacob Basham  - Apr 13 - 1 new of 1 message    

decimal field using sqlite 
  hi, I am having some problem here with field Decimal My Class: require 'dm-core' class Registry include DataMapper::Resource property :num, Decimal, :key => true, :precision => 20, :scale => 0 end require 'dm-migrations' DataMapper.finalize DataMapper.setup(:default, 'sqlite::memory:')... more »
By Arthur MM  - Apr 9 - 7 new of 7 messages    

1 - 10 of 1796   « Newer | Older »

XML       Send email to this group: datamapper@googlegroups.com