ls = LineStream.new(true)
bl = ls.retrieve
line_msg = ls.messagize(bl, false) # long format
...
has_many :fight_wins, :class_name => 'Fight', :finder_sql =>
'#{sanitize_sql_array(
"SELECT f.*
...
Ruby Refactor sanitize_sql_array
I can't get this to work pr...
Ruby On how to refactor tricky logi...
by keruilin.myopenid.com,
June 08, 2010 04:19
Joshu, yours is closest I'v...
def check_win_streak(streak)
badge = 10
while badge < BADGE::MAX_STREAK_BADGE_SIZE do # MAX_STREAK_BADGE_SIZE = 30
...
Ruby how to refactor tricky logi...
The rule at work here is th...
I have an ActivityStrea...