Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in ruby

Why does to_a and to_ary behave differently in subclasses of Array?

ruby duck-typing

Is there an equivalent of Ruby's Yard in Python?

Marshal or Serialize an ActiveRecord object

Large number of WebSocket connections

Carrierwave upload works in rails console but not in spec

running a Unit test from irb or pry

ruby testing irb pry

How do I parse this Craigslist page in this particular way?

ruby nokogiri

Why is there a String#replace in Ruby?

ruby string replace

Is it possible to create a nil value in an array using %w[] shorthand?

ruby arrays

Adding short strings to a set in Ruby is slow

ruby performance set

Guard executes shell scripts twice

ruby guard

How can I extend an object in ruby with a module whose name is given in a parameter?

ruby inheritance

Making ruby gems respond to terminal commands

ruby rubygems terminal gem rvm

Using scope to return results within multiple DateTime ranges in ActiveRecord

Ruby pass self as instance in initialize

ruby

Authorizing Namespaced and Nested controllers using CanCan

I am getting this gem install error for kgio gem when i do a bundle install

What are best ways to consolidate instance variables (to pass data from controller to the view) in Rails?

Can I update to Ruby 2.1.2 using Rails 3.2.3?

Regular expression - Ruby vs Perl

ruby regex perl