Guest User

Untitled

a guest
May 26th, 2018
90
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.16 KB | None | 0 0
  1. require 'xx.dll'
  2.  
  3. def SomeModel < ActiveRecord::Base
  4. after_save :parse_record
  5.  
  6. def parse_record
  7. obj = XX::Instance.load_from_record(self)
  8. end
  9. end
Add Comment
Please, Sign In to add comment