Design Patterns in Ruby On Rails