record.rb bug fix: remove "def action"