Commit 3707356af458d05624d3029b5829802f346bb3ae

Authored by Leandro Santos
1 parent e022cf75

updating script

Showing 1 changed file with 3 additions and 0 deletions   Show diff stats
script/process_merit_rules.rb 100644 → 100755
  1 +#!/usr/bin/env ruby
  2 +# encoding: UTF-8
  3 +
1 4 def create_action(obj)
2 5 target_model = obj.class.base_class.name.downcase
3 6 action = Merit::Action.find_by_target_id_and_target_model_and_action_method(obj.id, target_model, 'create')
... ...