Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in ruby

How to optimize this code in Rails?

Stack level too deep in Ruby array vs hash test

DRYing repeated rescue statements

ruby error-handling

Initialize a hash in the inject method to prevent a value being nil

ruby

Passing a splat parameter from one method to another method

ruby arrays parameters splat

Why is String#chomp named like this

ruby

Undefined method `check_pending!' for ActiveRecord::Migration (Rails Tutorial)

In Ruby, what's the best way to execute a block around a child method?

ruby inheritance

Return min values of hash with duplicate values

ruby

Can't split/strip by space in a string in Ruby because it's an NBSP character

ruby string text ruby-1.9

Weird Behavior when using between? method for dates

ruby-on-rails ruby date

Assert if any of two strings are present

ruby-on-rails ruby capybara

unable to push to Heroku after importing thousands of records

RoR: Enums, how to list recipients of a message based on them

ruby-on-rails ruby enums

Strict regex routing

ruby sinatra

"delete_at" Method Deletes Only Even Array Elements

arrays ruby

Ruby, Rails - how to check if a var is an Email

sort a hash by using the values of keys

ruby