-
I have the following situation:
class Housing::Kennel < ActiveRecord::Base
has_many_polymorphs :guests, :from => [:dogs,:cats,_birds]
end
class GuestKennel < ActiveRecord::Base
belongs_to …
-
Just getting started with DM and I apologise if I have misunderstood the scope of the identity map semantics and intended behaviour of associations.
With a basic join model, accessing the association…
-
Self contained example: https://github.com/markiz/dm-test/blob/d65ee9e65befaddf2d0444c2ef8e7ab5600973c2/nested_model_bug.rb
(clone repo, run bundle install, run ruby nested_model_bug.rb)
Meat of the…
-
Hey,
Is it possible to create an object and attach it to associations (or even create the associations and attach them) in one request?
For example:
Create/Update user instance and assign existing ta…
-
**Do you want to request a *feature* or report a *bug*?**
**BUG**
**What is the current behavior?**
**Conversion API**
DOC->DOCX conversion broke associations between comments and text points wh…
-
I have a user model with associated models. The user.addModel is not triggering an insert in Revision.
-
Our current downloading query (pasted below) returns association names, not individual association members:
``` python
# Build query
query = ("SELECT sci_data_set_name "
"FROM sc…
-
Hi there!
First off, amazing gem. I've been diving through the source all tonight and have been thoroughly impressed :+1:.
I'm trying to create a `belongs_to`, with a foreign key that lives inside o…
-
Here's a rough draft of a db schema for G2P associations (in normal form). Currently, it only handles univariate associations.
- David Heckerman, Christoph Lippert, Chris Widmer
Study id (unique g…
-
My data for the Album model:
``` JSON
{
"id": 2,
"name": "Album name",
"tracks": [
1,
2,
3
]
}
```
I want to implement sortable list of tracks, so I need to change the order of trac…