Displaying 20 results from an estimated 800 matches similar to: "how to connect rails app using monodb"
2013 Sep 04
7
Shift from mongrel to webrick
Hi Everyone
I have installed mongrel gem and in my dev I can able to run my app on
mongrel but If I want to shift to webrick how can I shift easily with out
uninstalling the mongrel gem
Thanks in advance
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send
2012 Aug 04
4
Rspec
Hi all i''m trying to learn Rspec testing can anyone suggest me the best
book to learn Rspec with good sample code.
Thanks in advance
--
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 from this group,
2012 Jan 22
3
Using Mongoid with ActiveRecord
I''m trying to use mongodb and postgresql simultaneously with Rails
3.1. I believe I have everything set up correctly.
What I''m interested in knowing is how to get rails to flip-flop back-
and-forth between mongoid and activerecord.
For example, if I want to generate an ActiveRecord model after using
mongoid, rails automatically defaults to the Mongoid gem.
> rails g model
2013 Jul 24
12
Want to send password via SMS
Hi I am saving password with hashed_password and salt in table. Now I need
to send those passwords via SMS can it be possible.Kindly give me some
suggestion plz .
Thanks in advance
Cheers
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
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
2011 Dec 06
1
mongodb topic in rails
Hi
I use mongoid for rails application
and I try to do
@users = User.where("first_name = ? OR last_name = ? OR type = ?",
firstname, lastname, usertype)
but I am getting error
but when i put:
@users = User.where(:first_name => firstname, :last_name => lastname,
:type => usertype).all
the program run successfully
but i need OR to execute in mongodb
Also I need sql LIKE to
2011 May 04
5
rails mongoid
I have a strange problem. Suppose I have a user model with only name
field.
I can add a field with value by creating an instance in mongodb rails
environment.
Example:
class User
include Mongoid::Document
field :name
end
Now in rails console, If you do
user = User.new
user[:name] = "xxxx"
user[:firstname] = "yyyy"
user.save
The record gets created with name and
2012 Apr 10
2
how to use cronjob
hey everyone i want to send mails by scheduling the time
dynamically.lets say in a single table i have all the employee logs
who came at different timings.they are from different locations and
departments. i want to send mails to different mails ids according to
there location to there HR. can i do this with cron job.
thanks in advance
--
You received this message because you are subscribed to
2012 Feb 09
7
ruby script/server is not working
hi everyone i just typed ruby script/server -d and then after when i
type again it is not working. i got this error
[2012-02-09 16:19:54] WARN TCPServer Error: Address already in use -
bind(2)
Exiting
/usr/lib/ruby/1.8/webrick/utils.rb:73:in `initialize'': Address already
in use - bind(2) (Errno::EADDRINUSE)
from /usr/lib/ruby/1.8/webrick/utils.rb:73:in `new''
from
2012 Jul 04
1
How to use wheneverize gem
Hi all i''m trying to use wheneverize gem to schedule my mails and to run a
specific file in controller.i tried but unable to send mails. i am using
rails 2.3.8 and ruby 1.8.7 . ive followed the
https://github.com/javan/whenever this link
Thanks in advance
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To view this
2012 Jul 20
2
scheduling mails in 2.3.8
Hi all,
How can i send mails in rails 2.3.8 and schedule them when i need it.
i''ve tried with whenever gem but it did not work properly . can any one
help me out .
thanks in advance
--
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
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
2013 Oct 23
2
how is mongoid syntax implemented ?
In mongoid, a ORM mapped database object is like below. The part "type:
String" seems to me to not fit into any standard ruby syntax and I was
curious how does mongoid implement that ?
class Step
include Mongoid::Document
field :Label, type: String
field :Descript, type: String
field :ErrorText, type: String
embedded_in :step_data
end
--
You received this message
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
2004 May 26
5
Windows XP and domain logon
Hello,
I have installed samba 3.0.2a as PDC and BDC, I am able to add windows xp to domain and have added all the registry patches to windows xp, but when it comes to domain logon on windows xp client, the behaviour is very erratic, sometimes I am able to logon to domain and sometimes the domain logon fails, we need to restart the xp machine and keep trying to the domain logon. The error we
2011 Feb 27
10
How to store the same key multi times in a Hash ?
given an Arra tags[]
I need to produce a resulting Hash as following ..
{ "$in" => [tags[0]], "$in" =>[tags[1], ...}
in which the key should be always the same and the value being an
Array
I tried this :
myHash = {}
tags.each do |tag|
h = {"$in" => [tag]}
myHash.merge!(h)
end
but the merge! is only
2004 Jun 18
5
Slowdown on lots of motion
I'm playing the "Honey" movie (both Honey-small and Honey-large) and I notice
significant slowdown during periods of lots of motion (when the camera shakes,
when the first man hops into bed, when people turn around and approach the
camera, etc.). The audio plays smoothly all the time but when there is a lot
of motion, the picture freezes and resumes when there's less motion.
2011 Jun 09
2
nginx + passenger + mongoid
When I set the rails_env to production in nginx.conf I get:
Error message:
db_name must be a string or symbol
--
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 from this group, send email to
2012 Jan 20
3
Istalling Ruby 1.9.2
I just installed 1.9.2 on my 2nd machine, but after I installed I checked
the version with ruby -v and it sent me 1.8.7
Here''s the terminal output...anyone know what''s wrong (I have RVM
installed):
Francescas-MacBook-Air:~ fkrihely$ rvm install 1.9.2
Fetching yaml-0.1.4.tar.gz to /Users/fkrihely/.rvm/archives
Extracting yaml-0.1.4.tar.gz to /Users/fkrihely/.rvm/src
Configuring
2013 Apr 05
2
How to manage data in MongoDB
I''m working with MongoDB but i feel impatient with it.
I want tool manage MongoDB same as PHPmyadmin(Mysql),Sqlite manager...
I found some tool for this but I don''t know what I shall use
please give me some advice for this!Thanks...
--
Posted via http://www.ruby-forum.com/.
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: