Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
mafei198 committed May 25, 2012
1 parent 9ac2895 commit 865d061
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/registor/registor_callbacks.rb
Expand Up @@ -33,7 +33,7 @@ def rem_uniq_name(field_name, name)
module InstanceMethods
private
def set_primary_key_value
self.send "#{self.primary_key}=", self.class.regist_uniq_id
self.send "#{self.class.primary_key}=", self.class.regist_uniq_id
end
end # InstanceMethods
end

0 comments on commit 865d061

Please sign in to comment.