def self.capture_system(*args)
  args = args.flatten.compact.collect { |arg| arg.to_s }
  return false if args.blank?
...

Ruby Silencing current output, b...

by k776, February 03, 2010 02:34, No refactoring, tagged with form, output, process, exec, system

Is there a shorter way to d...

74198b06bc9e68739debfe6c23e070d3 Talk
class Asset < ActiveRecord::Base
	belongs_to :account
	belongs_to :asset_type
...

Ruby Advanced search form & ...

by Erez Ben Shoham, March 16, 2009 11:33, 3 refactorings, tagged with search, form, model, named_scope

I have an Asset model in a ...

30bcacccb1c7fa2b577b905a2128027f Talk
include Form::Elements

...

Ruby Closure scoping issue

by Tj Holowaychuk, January 09, 2009 20:14, 5 refactorings, tagged with form

Below is the syntax I would...

F1e3ab214a976a39cfd713bc93deb10f Talk