Ruby is an open-source dynamic object-oriented interpreted language created by Yukihiro Matsumoto (Matz) in 1993.

learn more… | top users | synonyms | ruby jobs

0
votes
1answer
7 views

Bulk Insert into Mongo - Ruby

I am new to Ruby and Mongo and am working with twitter data. I'm using Ruby 1.9.3 and Mongo gems. I am querying bulk data out of Mongo, filtering out some documents, processing the remaining ...
0
votes
0answers
12 views

manipulating array: adding number of occurrences to the duplicate elements

(You are welcome to change the title to a more appropriate one!) I got another Ruby/ERB question. I have this file: ec2-23-22-59-32, mongoc, i-b8b44, instnum=1, Running ec2-54-27-11-46, mongod, ...
0
votes
0answers
3 views

Unable to install ruby using rvm due to mac port issues

I am trying to install ruby 1.9.2 or latest to work with cupertino gems In order to install ruby, i have install 3rd party tool(RVM) I am able to install rvm, However to install ruby, i am getting ...
2
votes
1answer
18 views

Cannot install Ruby DevKit on Windows 8

Please help me, I am desperate. I am encountering the following error when installing different gems: Building native extensions. This could take a while... ERROR: Error installing bson_ext: ...
0
votes
1answer
11 views

Capybara using nth-child to select an element

I have the following html: <ul class="project-admin-links"> <li><a href="/projects/3/edit">Edit</a></li> <li><a ...
1
vote
0answers
8 views

How do I index this field in ElasticSearch?

I want to index the following field: quick brown fox So that I can search with words in any order, but all words (and only those words) are required for a match. In other words, index it so the ...
2
votes
1answer
41 views

Notation “name: ” vs “:name => ”

I'm not too clear what's the difference between the follwing two notations: = render :partial => "order_fields", :locals => { :t => type, :f => c} = render :partial => "order_fields", ...
0
votes
0answers
15 views

Writing Rails Templates in Pure Ruby

I have a large number of views in my Rails application that both: Have a consistent and repeated structure, and Involve the use of helpers that accept large hash inputs. As such, I would like to ...
0
votes
0answers
11 views

Rails/unicode issue

I have a bit of my Ruby/Rails (Ruby 2.0.0p195, Rails 3.2.13) project that works as a proxy; that is, you pass it a URL, it goes out and fetches the page, and presents it to you. This generally works ...
-3
votes
0answers
16 views

What languages/tools should I use to build a web game where I can detect clicks to any word of text on a specific web page? [on hold]

I have an idea for a game; it will involve nesting a website (for example, Wikipedia) within my website and asking the user to find a specific word or phrase on that particular webpage (sort of like I ...
0
votes
1answer
6 views

Maximum connections count on puma server

Is this possible to specify maximum connection on puma wev server (like in thin etc?). I need to test if this is reason of 502 that comes on some configuration with nginx+puma.
0
votes
0answers
9 views

Problems connecting to SQL Server 2012 on Ruby

I want to connect my Ruby script to SQL Server 2012 on my localhost. However I searched every bit on internet and cannot find an answer. First I tried DBI. However DBI raise me errors. After that I ...
0
votes
1answer
7 views

How should you handle slow requests (image upload from mobile) on Heroku?

I have a server side API running on Heroku for one of my iOS apps, implemented as a Ruby Rack app (Sinatra). One of the main things the app does is upload images, which the API then processes for meta ...
0
votes
2answers
19 views

Action mailer Development Envrionment Rails 3

So it seems as if I always run into an issue when setting up a mailer in development mode, I cant see anything wrong with my setup, maybe someone else can see something? At the moment when i send an ...
0
votes
0answers
16 views

Passing variables between chef resources

i would like to show you my use case and then discuss possible solutions: Problem A: i have 2 recipes, "a" and "b".. "a" installs some program on my file system (say at "/usr/local/bin/stuff.sh" and ...

1 2 3 4 5 5165
15 30 50 per page