Displaying 20 results from an estimated 1100 matches similar to: "Unsuccessful with using mongodb with rails"
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 is failing with the following
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 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 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: Talk" group.
To post to this group, send email to
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
2015 Dec 21
0
Announcing release for MongoDB 2.4 and 2.6 on CentOS Linux 6 x86_64 SCL
I am pleased to announce the immediate availability of versions 2.4 and
2.6 of the MongoDB server on CentOS Linux 6 x86_64, delivered via a
Software Collection (SCL) built by the SCLo Special Interest Group
(https://wiki.centos.org/SpecialInterestGroup/SCLo).
QuickStart
----------
You can get started in three easy steps (example of MongoDB 2.6):
$ sudo yum install centos-release-scl
$
2015 Dec 21
0
Announcing release for MongoDB 2.4 and 2.6 on CentOS Linux 7 x86_64 SCL
I am pleased to announce the immediate availability of versions 2.4 and
2.6 of the MongoDB server on CentOS Linux 7 x86_64, delivered via a
Software Collection (SCL) built by the SCLo Special Interest Group
(https://wiki.centos.org/SpecialInterestGroup/SCLo).
QuickStart
----------
You can get started in three easy steps (example of MongoDB 2.6):
$ sudo yum install centos-release-scl
$ sudo yum
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 subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this
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 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 the Google Groups
2017 Nov 28
0
Announcing release of MongoDB 3.4 on CentOS Linux 6 x86_64
I am pleased to announce the immediate availability of MongoDB
in version 3.4 on CentOS Linux 6 x86_64, delivered via a Software
Collection (SCL) built by the SCLo Special Interest Group
(https://wiki.centos.org/SpecialInterestGroup/SCLo).
QuickStart
----------
You can get started in three easy steps:
$ sudo yum install centos-release-scl
$ sudo yum install rh-mongodb34
$ scl enable
2017 Nov 28
0
Announcing release of MongoDB 3.4 on CentOS Linux 7 x86_64
I am pleased to announce the immediate availability of MongoDB
in version 3.4 on CentOS Linux 7 x86_64, delivered via a Software
Collection (SCL) built by the SCLo Special Interest Group
(https://wiki.centos.org/SpecialInterestGroup/SCLo).
QuickStart
----------
You can get started in three easy steps:
$ sudo yum install centos-release-scl
$ sudo yum install rh-mongodb34
$ scl enable
2018 Jun 12
0
Announcing release of MongoDB 3.6 on CentOS 7 x86_64
I am pleased to announce the immediate availability of MongoDB in
version 3.6 on CentOS Linux 7 x86_64,
delivered via a Software Collection (SCL) built by the SCLo Special
Interest Group (https://wiki.centos.org/SpecialInterestGroup/SCLo).
QuickStart
----------
You can get started in three easy steps:
# 1. Install a package with repository for your system:
# On CentOS, install package
2010 Oct 13
1
rails 3 with mongodb
Hi.
I would like to configure a application in ruby 1.9.2 + rails 3 +
mongodb on windows vista.
I know it''s work better in linux ou mac, but in my job i need to use
win.
I folowed the steps from the site of mongodb, but when i run the
bundle install, there comes
this message below.
Someone can help me with this.
Thanks.
<internal:lib/rubygems/custom_require>:29:in
2012 Oct 21
0
rails g problem
When I enter rails g, I get the bunch of logs behind.
Any idea what I''m missing?
I though it''s trying to install minitest, so I manually installed it.
Still this error persists.
$ rails g
gem install minitest
/Library/Ruby/Gems/1.8/gems/activesupport-3.2.8/lib/active_support/dependencies.rb:251:in `require'': no such file to load -- minitest/unit
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 Oct 16
3
Puppet dashboard over passenger: The environment must be purely alphanumeric, not ''
Hello,
I installed puppet-server, passenger and dashboard. I have tested every
step in between to make sure all is running well and not errors are
carrying forward. Dashboard worked well with my test in WEBrick.
After configure the dashboard with passenger I got the message” The
environment must be purely alphanumeric, not ''''” instead of the dashboard.
I verified the
2023 May 02
1
is(x,"ANY") is FALSE
I?m somewhat puzzled by the following bit of code on R 4.2.3 (also R 4.2.2)
> df <- data.frame(x=1:3)
> is (df,"ANY")
[1] FALSE
This seem to be false when the first argument is any S3 class, while 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
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 copy
of mingw-w64 version 4.8.3 and indeed, here the
2014 May 06
0
Failed "bundle install" due to libpq-fe.h
I tried to run the command "bundle install" as follow and then I got this
error:
# bundle install
Don't run Bundler as root. Bundler can ask for sudo if it is needed, and
installing your bundle as root will break this application for all non-root
users on this machine.
Fetching gem metadata from https://rubygems.org/........
Fetching additional metadata from