Displaying 1 result from an estimated 1 matches for "cordoned_off".
2011 May 25
1
rake task: uninitialized constant
...e_new_date = parse_date_string(row[3])
inspection_date = parse_date_string(row[7])
intervention_date = parse_date_string(row[9])
remove_date = parse_date_string(row[13])
notification_date = parse_date_string(row[14])
expiry_date = parse_date_string(row[15])
cordoned_off = true if row[8] == "Si" or row[8] == "SI"
cordoned_off = false if row[8] == "No" or row[8] == "NO"
UnsafeBuilding.create!({ :practice_number => practice_number,
:address => row[6]
etc. etc.
rake import:pericolanti works well but if I do...