Top "Ruby-1.8.7" questions

For issues relating to developing in Ruby, version 1.8.7.

Dividing elements of a ruby array into an exact number of (nearly) equal-sized sub-arrays

I need a way to split an array in to an exact number of smaller arrays of roughly-equal size. Anyone …

ruby-on-rails ruby arrays ruby-1.8.7
Ruby Output Unicode Character

I'm not a Ruby dev by trade, but am using Capistrano for PHP deployments. I'm trying to cleanup the output …

ruby string unicode utf-8 ruby-1.8.7
Get last character in string

I want to get the last character in a string MY WAY - 1) Get last index 2) Get character at last …

ruby ruby-1.8.7
Ruby 1.8.7 convert hash to string

I wasn't working with ruby 1.8.7 and recently I was surprised that: {:k => 30}.to_s #=> "k30" Is there ready …

ruby ruby-1.8.7
Ruby require 'file' and relative location

So I'm writing some rspec tests and I'm embarrassed at my lack of Ruby understanding. I have a file structure …

ruby require ruby-1.8 ruby-1.8.7 ruby-1.9.1
Uncaught ReferenceError: check is not defined

Please help me out with this, jquery is working well in w3schools but in my rails 2 app its getting …

jquery html ruby-on-rails ruby-1.8.7
400 bad request in ruby but not curl

I'm trying to make a https post request in ruby and it works in curl, but I get a 400 bad …

ruby curl net-http ruby-1.8.7