scope '/users' do
  resources :passwords, :only => [:new,:create]
...

Ruby Rails Routing

by rgoytacaz.myopenid.com, March 27, 2011 06:24, 2 refactorings

Rails routing for authentic...

9fe77a0217c77ce4cb00096d863c8b45 Talk
module Highcharts
  module Option
    class Title
...

Ruby Hashing an object, Code dup...

by rgoytacaz.myopenid.com, November 29, 2010 02:43, 2 refactorings, tagged with ruby, serialization, duplication

This is a ruby gem I'm work...

9fe77a0217c77ce4cb00096d863c8b45 Talk
require 'csv'

File.open("output.html", 'w') do |output_file|
...

Ruby On Generate HTML links from CS...

by rgoytacaz.myopenid.com, April 22, 2010 15:36 Star_fullStar_fullStar_fullStar_fullStar_full

Less code

9fe77a0217c77ce4cb00096d863c8b45 Talk
list = []

lists.each do |l|
...

Ruby Too many each loops

by rgoytacaz.myopenid.com, April 22, 2010 04:03, 3 refactorings, tagged with each loop

Maybe some collect / sellec...

9fe77a0217c77ce4cb00096d863c8b45 Talk
def validate_permalink(attr_name)
    if permalink?
      permalink = sanitize_permalink(attr_name)
...

Ruby Simple if staments

by rgoytacaz.myopenid.com, March 16, 2010 01:23, 3 refactorings, tagged with if else

easy one?

9fe77a0217c77ce4cb00096d863c8b45 Talk