You cannot post messages because only members can post, and you are not currently a member.
Description:
Support group for MongoMapper ruby gem.
|
|
|
Hashes, uneven behavior
|
| |
Why is it that when in MongoMapper a key of type Hash is used the keys of that hash are saved as strings, even if symbols are used? How can this behavior be changed? In the same way if a key has a type Array and hashes are used as the elements of this array the keys of the used hashes are saved as string,... more »
|
|
Mongo::ConnectionTimeoutError possible problem with threading?
|
| |
Hi there, I've been running into frequent Mongo::ConnectionTimeoutError exceptions when running MongoMapper behind Sidekiq. I'm running a Sidekiq server with 30 concurrent actors on MRI 1.9.3. I've configured Mongo to use a connection pool with 40 connections and a 15 second timeout, figuring that should more than cover me. However I hit... more »
|
|
Group By with Months and genrate reports
|
| |
Hi All, I've a Job collection which contain a start date attribute (Date type), I would like to generate reports with data group by with months. By using this start date attribute. Please help. Regards
|
|
You got your Sequel in my MongoMapper
|
| |
Has anyone ever come across this? I'm using Rails 3.2, with both MongoMapper and Sequel, but I don't have any Sequel models... I have Sequel gem in my Gemfile for a rake task. Now, I am getting this error in my MongoMapper document: undefined method `flatten' for ...With this query being in my model as a MongoMapper document:... more »
|
|
How to describe complex json in Mongomapper
|
| |
Hi there ! I have this kind of document stored in MongoDB: { userid: "someuser", email: "validemail", location: "some city" acls: { "canedit": false, "canview": true } addresses: [{ street: "", zipcode: "" }, {... more »
|
|
Geospatial Query results in exception "geo field only has 1 element"
|
| |
Hi and thanks for reading. I'm quite new to Ruby and Mongomapper so please forgive me if this is obvious. I'm trying to do a geospatial query, depending on how the user enters their location it'll either be an exact match or distance based. I'd like to also query with other fields. The Model class User... more »
|
|
many to EmbeddedDocument
|
| |
The setup: class A include MongoMapper::Document # many :cs, dependent: destroy end class B include MongoMapper::Document many :cs end class C include MongoMapper:EmbeddedDocument belongs_to :b belongs_to :a end I basically want to un-comment the commented line. My embedded document is... more »
|
|
Difficult design decision, would like some help
|
| |
I'm trying to think of a possible mongomapper implementation for some model structure I want to create. I have the following model classes: DeviceType, MasterTemplate, ChildTemplate. To avoid confusion, only think of id's with DeviceType and child templates. What I would like to have in MasterTemplate is a key that looks like this:... more »
|
|
|