Skip to content

Instantly share code, notes, and snippets.

@heisters
Created July 23, 2011 01:21
Show Gist options
  • Save heisters/1100812 to your computer and use it in GitHub Desktop.
Save heisters/1100812 to your computer and use it in GitHub Desktop.
Fix FlowExperssionId bug
require 'ruote/fei'
class Ruote::FlowExpressionId
def initialize(h)
@h = h
class << h; include Ruote::HashDot; end
# Howcast: don't use sub_wfid if we arleady have a subid
@h['subid'] = @h.delete('sub_wfid') if @h['sub_wfid'] && !@h['subid']
# TODO : for 2.1.13, remove this
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment