Displaying 20 results from an estimated 51 matches for "mongo".
Did you mean:
mingo
2014 Mar 10
0
Mongoid : bson namespace error
Hello All,
I had been trying to work on Rails 4 and Mongoid gem.
The following are the versions I had installed:
bson-2.2.1
mongoid-3.1.6
After installing and trying to run "rails generate" command. It is failing
with NameSpace error for BSON::ByteBuffer.
It is trying to connect to mongodb server initially and getting successful.
Post that it...
2017 Feb 21
2
no connectivity to some hosts behind tinc for the first few seconds
I have the following tinc setup:
client -- tinc DC1 -- tinc DC2 -- 10.1.2.0/24 subnet
It generally works well, however, there is one issue I'm not able to
solve: *sometimes*, connectivity to *some* destinations does not work
for the first few seconds.
To demonstrate:
$ mongo mongo.example.com:27017
MongoDB shell version: 3.2.12
connecting to: mongo.example.com:27017/test
2017-02-21T03:29:30.243+0000 W NETWORK [thread1] Failed to connect to
10.1.2.3:27017 after 5000ms milliseconds, giving up.
2017-02-21T03:29:30.243+0000 E QUERY [thread1] Error: couldn't
conne...
2011 Nov 09
3
Mongo adapter
I have setup mongo database and want to know which one would be best
adapter ( mongo_mapper , mongoid, dm-mongo-adapter ) in terms of
Associations, include option for eager-loading .
--
Regards
Mukesh Paras Singh
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Ta...
2013 Feb 28
1
Mongo backend for userdb and passdb
Hi,
I was wondering if any work had been made (out of tree) or has been
planned for a mongo driver? If not is it something that would be of
any interest for being included?
Regards,
Damien
2011 Aug 05
5
Best Mongo Framework to work with Rails
Hi all,
Wanted to hear your opinions about the currently best option for mongo
with Rails.
Thank you all in advance,
Vasco Andrade e Silva
--
Posted via http://www.ruby-forum.com/.
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+...
2010 May 21
0
Multiple Models one form and validations ... no transactions(mongo)
...studio_params)
return unless self.valid? && studio.valid?
.....
.....
end
that way i at least know they are valid then i actually create them if
the call to Chargify is successful.
Thanks for any help this has been driving me nuts.
Ps.I wonder if this is better suited to the mongo form since my
problem is coming from lack of transactions?
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To unsubscribe fro...
2005 May 27
2
imap disconnects on my account only
...s pane would
say 'Sending authenticate login information...' and I would no longer
receive email.
When I checked with others, they were fine and dandy.
I tried kmail, evolution, and even tried webmail. All had connection errors.
Checking the logs I can see the following:
May 27 14:07:58 mongo imap-login: Login: mitchy [162.84.141.200]
May 27 14:07:58 mongo imap(mitchy): getgroups() failed: Invalid argument
May 27 14:07:58 mongo dovecot: child 3264 (imap) returned error 89
I can see new messages in $Maildir, so it is all about authentication,
which I am completely clueless about as it h...
2014 Oct 05
2
Using Rtools with gcc 4.8.3
I started working on some R bindings for mongo-c-driver [1]. The C
library compiles fine on Ubuntu Trusty (gcc 4.8.2) and osx (clang),
however on my windows machine (gcc 4.6.3 from Rtools 3.1) it fails
with: 'INIT_ONCE_STATIC_INIT' undeclared. Google suggests that this
might be a problem in older versions of mingw-w64. So I grabbed a c...
2010 Aug 18
0
Developer wanted for Rails-Mongo Knowledge Exchange improvements
We are searching for a developer to fork a Rails-based open source
Knowledge Exchange (see shapado.com) and add some innovative features
and extensions to this excellent codebase. The work will first involve
installing and maintaining the codebase and some customizations to
presentation layer.
If the KE fork works well ( it''s stable code, so it should be fine) ,
the project will lead to
2011 Mar 16
19
Uninitialized constant Files::Magick -still around
Hi there,
I''m solving the problem about the plugin Magick. In my app in Gemfile
I''ve follwoing:
require ''rubygems''
require ''mongo''
require ''RMagick''
include Magick
and in a model Files:
class Files
def self.save(upload)
...
img = Magick::Image.read(''public/data/nature6.jpg'').first
end
end
And I still getting error in subject of this post. I tried to move
require ...
2023 May 02
1
is(x,"ANY") is FALSE
...I would think that ?ANY? would be true for S3, S4 and reference classes, as well as primitive types.
This also seems to be a regression, as code that was previously working no longer works.
A little more context on my use.
I?m defining a slot for a reference class using a type union,
setClass(?MongoDB?,c(?NULL?,?ANY?))
[I should be using setOldClass(?mongo?) here, but I was having trouble promoting the S3 ?mongo? class I was getting from the library.]
Then when I try to set the corresopnding slot I?m getting an error, because ?mongo? is not of type MongoDB (even through that is a class union...
2011 May 09
0
gem issues
HI,
I''m getting this error for a mongo gem:
Expected /Users/.../.gem/ruby/1.8/gems/mongo-1.3.0/lib/mongo.rb to
define MONGO
How can I resolve that?
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3M...
2011 Mar 04
7
Example of work with mongo
Hi there,
I''m newbie here and I have a problem with the connection with MongoDB.
The connection among Rails and MongoDB works, but I don''t know, how to
print only one "column" from document.
If I''m trying following a part of code:
puts db["testCollection"].find_one().inspect
So I''will get the entire structure of BSON, as:
{&q...
2012 Aug 19
0
Unsuccessful with using mongodb with rails
I have had a frustrating time trying to get mongodb to work with Rails (works just fine with a plain Ruby app).
cannot load such file -- mongo
The error is traced to the code line <requires ''Mongo''>.
bundle initialize shows I have it all. Any ideas?
Thanks,
Shiv
$ bundle install
Using rake (9.2.2)...
2010 Feb 04
6
Fastes database server for...
Hi,
I''m currently building a small rails application that needs to store web
traffic information. Similar to google analytics and clicky. (but
simpler) It needs to store refer domains and visitors. Integration goes
through a small javascript snippet.
My question is: What database server is the fastest and should I use for
this app?
I was thinking about SQLlite.
Thanks for your time,
2011 Jul 04
2
when use mongoid , Model.count can't work.
Hi, when i use mongoid to get the count of model named "User", I met a
error :
irb(main):001:0> User.count
ArgumentError: wrong number of arguments (1 for 0)
from /var/lib/gems/1.8/gems/mongoid-2.0.2/lib/mongoid/
cursor.rb:37:in `count''
from /var/lib/gems/1.8/gems/mongoid-2.0.2/l...
2012 Oct 21
2
Razor Mongodb related questions
I''m new to Razor and have two questions related to Razor Mongodb:
1. Is there available Razor object relationship diagram that describes
relationships between Razor slices?
2. Does Razor make use of Mongo''s JSON doc store features like automatic
secondary indexing on all JSON attributes?
--
You received this message because you are subscribed to...
2004 Feb 06
0
smbclient and XP
...ding it on anyway so that others might benefit).
Greetings,
I am relatively new to samba.
samba-2.2.3a-6 (RedHat 7.3)
Trying to get Amanda to back up an XP client via smb. (XP SP1). (yes,
our environment is a wild mix of hardware and OS - typical consulting
shop).
Amcheck tries:
smbclient \\mongo\jparker -U jparker -E -c quit
to which it gets:
selfcheck: samba access error: //mongo/jparker: added interface
ip=192.168.16.10 bcast=192.168.16.255 nmask=255.255.255.0: session setup
failed: SUCCESS - 0: returned 1
Running the same command from the command line - it works fine.
Amcheck works f...
2012 Jun 25
1
Very simple question R5 setRefClass and Initialize
...te at the class definition.
I would like it to execute only when an instance is created.
How can I do that? I found no way to test if the code execution is when
the class definition happens or when a $new instance is created.
Thanks for your help.
For example my class definition looks like this :
mongoDbUser = setRefClass("mongoDbUser",
fields = list(
auth = "logical",
host = "character",
username = "character",
password = "character",
db = "character",
connector = "mongo"
),
m...
2009 Dec 29
0
Mongo3 - rule your mongoDB clusters!
If you mongo, please try mongo3 (www.mongo3.com) !
Mongo3 is a web app to administer you mongoDB clusters.
Features:
o Visualize your mongo landscape
o Manage your dbs, collections and indexes
o Bundled as a gem for easy install and getting started.
-Fernand
--
You received this message because you are...