similar to: Mongoid : bson namespace error

Displaying 20 results from an estimated 400 matches similar to: "Mongoid : bson namespace error"

2014 Jun 07
0
Multitenancy with Rails and rspec
Hello, I am following this book Multitenancy with Rails. Has anyone here read this book or can shed light on the issue? When I run rspec i get following errors rspec spec/features/accounts/sign_up_spec.rb C:/Users/J/RubymineProjects/subscribem/spec/dummy/config/environments/test.rb:1:in `<top (required)>': undefined me thod `configure' for #<Dummy::Application:0x416fe08>
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)
2013 Jan 24
0
Appending BSON arrays in MongoDB with package 'rmongodb'
Dear list, I simply can't figure out how to append an BSON array in MongoDB (with package 'rmongodb') using either the '$push' or '$addToSet' operator. It's sort of the last missing puzzle piece regarding CRUD operations, so any hint will be greatly appreciated! Below you'll find a link to an SO post where I provided a reproducible example and additional
2011 Nov 09
0
beginner question: how do I figure out why an app won't start? (RubyMine)
I''m building a new Ruby app with RubyMine. I built a basic app (just a homepage) and it is running fine. Next step is to get the app talking to MongoDb. I''m using this tutorial: http://www.mongodb.org/display/DOCS/Rails+3+-+Getting+Started also tried this one: https://github.com/RailsApps/rails3-mongoid-devise The problem is, after running through the tutorial and starting my
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:
2012 Jun 14
1
Cucumber/RSpec ::: Capybara? Webrat What am I using??
Hey everybody I''m currently reading through the Pragmatic Programmers RSpec book, and I really enjoy it. But I’m facing some problems because of the fact that the book is already some years old, I guess. I have installed rvm and use Ruby 1.9.3, and I didn’t really get some Rails code examples to work properly, so I tried it with a 1.8.7 installation, but there I had some other problems
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/lib/mongoid/ cursor.rb:37:in `send'' from
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
2012 Dec 12
3
Fatal Error during bundle install
Hi I was trying to run bundle install from cmd prmpt but getting the following error . ruby 1.9.3p327 (2012-11-10) [i386-mingw32] C:\Users\sony>D: D:\>cd SupportBee-Apps D:\SupportBee-Apps>cd apps D:\SupportBee-Apps\apps>cd dummy D:\SupportBee-Apps\apps\dummy>bundle install Fetching git://github.com/rchampourlier/guard-shotgun.git Unfortunately, a fatal error has occurred.
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
2012 Jul 27
7
Getting error while starting server plz help
c:/Ruby193/lib/ruby/gems/1.9.1/gems/rails-2.3.14/lib/rails_generator/options.rb:32:in `default_options'': undefi ned method `write_inheritable_attribute'' for Rails::Generator::Base:Class (NoMethodError) from c:/Ruby193/lib/ruby/gems/1.9.1/gems/rails-2.3.14/lib/rails_generator/base.rb:90:in `<class:Base>'' from
2014 May 22
0
CentOS-announce Digest, Vol 111, Issue 11
Send CentOS-announce mailing list submissions to centos-announce at centos.org To subscribe or unsubscribe via the World Wide Web, visit http://lists.centos.org/mailman/listinfo/centos-announce or, via email, send a message with subject or body 'help' to centos-announce-request at centos.org You can reach the person managing the list at centos-announce-owner at centos.org When
2012 Jan 03
1
updating rails version to 3.1.3 get error
hi all, i have ruby : 1.8.7 rails :2.3.11 and rubygem:1.6.2 installed on my Windows sys. my application work without error .I have upgraded the environment to gem:1.8.12,rails:3.1.3 ,ruby:1.9.2 i have getting the following error on starting the Webrick server D:/Hemant/Suggestica_setup/Ruby193/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require'': cannot load such
2014 Mar 17
0
CESA-2014:0306 Moderate ruby193-rubygem-actionpack SCL Security Update
CentOS Errata and Security Advisory 2014:0306 (CentOS Software Collections) The following updated files have been uploaded and are currently syncing to the mirrors: ( sha256sum Filename ) ----------------------------- X86_64 ----------------------------- 7209df8e46b9c9e6a329be6074e3b19e5fa19f94f5cd67a3b5dd0886c2fa317d ruby193-rubygem-actionpack-3.2.8-5.3.el6.centos.alt.noarch.rpm
2014 May 21
0
CESA-2014:0355 Important: ruby193-libyaml SCL Security Update
CentOS Errata and Security Advisory 2014:0355 (CentOS Software Collections) The following updated files have been uploaded and are currently syncing to the mirrors: ( sha256sum Filename ) ----------------------------- X86_64 ----------------------------- edbfde2a93cf27d78c80fe0fb82d1a8c82d425f07ea3c9318da288b115d9ee86 ruby193-libyaml-0.1.4-5.1.el6.centos.alt.x86_64.rpm
2014 May 21
0
CESA-2014:0510 Moderate: ruby193-rubygem-actionpack SCL Security Update
CentOS Errata and Security Advisory 2014:0510 (CentOS Software Collections) The following updated files have been uploaded and are currently syncing to the mirrors: ( sha256sum Filename ) ----------------------------- X86_64 ----------------------------- 9cdf701c95ceadf582d57c584d20259e98ef107ff90565a503b143f710c343dc ruby193-rubygem-actionpack-3.2.8-5.5.el6.centos.alt.noarch.rpm
2011 Nov 17
2
please suggest a web page automation tool
I''ve been trying to get a couple of web automation tools going today and having a hard time. Seems like everything I try is outdated and won''t run on my environment. Mechanize seemed like a good one but it doesn''t want to run: require ''rubygems'' require ''open-uri'' require ''mechanize'' agent = Mechanize.new
2014 Apr 03
1
Difference between ruby193 CentOS SCL and ruby193 softwarecollections.org SCL
? I've found that in https://softwarecollections.org/repos/rhscl/ruby193/epel-6-x86_64/ is passenger included but in http://dev.centos.org/centos/6/SCL/x86_64/ruby193/ is not. What is the differences between this two repos? ? Thanks, Filip Bartmann
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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe
2005 May 27
2
imap disconnects on my account only
Talk about personal problems! I am using dovecot-0.99.13-4.FC2, and everything has been going fine for months. Earlier this afternoon, Thunderbird's status 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.