17 Apr '13, 7am

Hash.[] - @UnfalseIdeas #ruby

populated with the given objects. Equivalent to the literal { key => value, … }. In the first form, keys and values occur in pairs, so there must be an even number of arguments. The second and third form take a single argument which is either an array of key-value pairs or an object convertible to a

Full article: http://apidock.com/ruby/Hash/%5B%5D/class#1417--UnfalseIdeas

Tweets

Ruby & (Ampersand) Parameter Demystified

rubyflow.com 16 Apr '13, 2pm

Ruby & (Ampersand) Parameter Demystified Posted by skorks on April 16, 2013 — 0 comments Recently I was asked a question a...

English Name Equivalents for Ruby's Special Var...

rubyinside.com 17 Apr '13, 2pm

English Name Equivalents for Ruby's Special Variables Post by Peter Cooper The English library (used by simply placing req...

Chef Cookbooks for Busy Ruby Developers

rubyflow.com 18 Apr '13, 2am

Chef Cookbooks for Busy Ruby Developers Posted by teohm on April 18, 2013 — 0 comments I just released two Chef cookbooks:...

Clear memcached without restart with Ruby and C...

rubyflow.com 16 Apr '13, 11am

Clear memcached without restart with Ruby and Capistrano (Rake task) Posted by mencio on April 16, 2013 — 0 comments Do yo...

Ruby on Rails Guides: Action Controller Overview

guides.rubyonrails.org 17 Apr '13, 4am

class ClientsController < ActionController::Base # This action uses query string parameters because it gets run # by an HT...

{:foo => "bar", :fizz => "buzz"}.except(:baz) c...

api.rubyonrails.org 19 Apr '13, 10pm

# File activesupport/lib/active_support/json/encoding.rb, line 239 def encode_json (encoder ) # values are encoded with us...