Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in ruby

Using Ruby, what is the most efficient way to get the content type of a given URL?

ruby content-type

Why can the Ruby File#read or File#readlines only be used once?

ruby

How do I split text into key-value pairs?

ruby string parsing

How do i generate a 4 x 5 matrix full of random numbers with ruby 1.8.7

ruby matrix

How do I embed an uploaded binary files (ASCII-8BIT) in an XML (UTF-8)?

ruby ruby-on-rails-3

Ruby 1.9 If I have a shebang pointing to ruby, why doesn't the system see it?

ruby

Select all columns by a unique column value in Rails 3

Correct syntax for get requests with rest-client

ruby rest-client

Routing Error No route matches [GET] "/static_pages/home", tutorial

Marshal can't dump hash with default proc (TypeError)

ruby marshalling

How do `Hash#reject!` and `Hash#reject` differ from `Hash#delete_if`?

ruby

Ruby scan Regular Expression

ruby regex

What does "break" do in this ruby statement

ruby

best linked list in ruby WITHOUT extending array?

Rails uninitialized constant when instantiating class

Installing redcarpet gem on mavericks

Rescuing a DivisionByZero with default value returns NaN in ruby?

ruby

Error in converting range into Array of floating values in Ruby

ruby arrays range

ArgumentError: wrong number of arguments in Ruby

ruby

How do I get the first Thursday of the month in Ruby/Rails?

ruby-on-rails ruby