Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Group info
Language: English
Group categories:
Computers > Programming
More group info »
Discussions
View:  Topic list, Topic summary Topics 1 - 10 of 1226  Older »

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 »
By Heberto del Rio  - May 22 - 2 new of 2 messages    

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 »
By Michael Lawlor  - May 14 - 6 new of 6 messages    

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
By Farhan Abdul Shakoor  - May 4 - 2 new of 2 messages    

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 »
By Steven Crosley  - May 3 - 2 new of 2 messages    

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 »
By Santiago Ezcurra  - Apr 29 - 1 new of 1 message    

How to get specific field of a many-to-many related document? 
  Hi, I'm trying to figure out how exactly I could get a specific field of a many-to-many related document. Here's a link to my SO question: [link] I have a model called ChildTemplate that has this key: key :used_parameters, Array many :parameters, :in => :used_parameters... more »
By mariod...@gmail.com  - Apr 29 - 4 new of 4 messages    

Mongo Mapper equivalant of ActiveRecord's sum 
  What is the equivalent to ActiveRecord's sum<[link]>method? So: User.sum 'credit' Bonus points if I could use the more advanced calculate<[link]>options like I can on AR: User.sum 'credit', group: 'role', limit: 100... more »
By Eric Anderson  - Apr 11 - 6 new of 6 messages    

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 »
By Joe Busuttil  - Apr 8 - 2 new of 2 messages    

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 »
By Eric Anderson  - Apr 5 - 4 new of 4 messages    

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 »
By mariod...@gmail.com  - Apr 2 - 1 new of 1 message    

1 - 10 of 1226   « Newer | Older »

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