Skip to content

Instantly share code, notes, and snippets.

@tdm00
Created June 11, 2012 04:02
Show Gist options
  • Select an option

  • Save tdm00/2908443 to your computer and use it in GitHub Desktop.

Select an option

Save tdm00/2908443 to your computer and use it in GitHub Desktop.
Gist 1
# Define legacy table information
# self.table_name = "tblDoctor"
# self.primary_key = "DoctorID"
# alias_attribute :first_name, :DoctorFName
# alias_attribute :last_name, :DoctorLName
# alias_attribute :middle_name, :DoctorMName
# alias_attribute :suffix, :DoctorSuffix
# alias_attribute :title, :DoctorPrefix
# alias_attribute :hospital_id, :HospitalID
# alias_attribute :address1, :DoctorAddress1
# alias_attribute :address2, :DoctorAddress2
# alias_attribute :address3, :DoctorAddress3
# alias_attribute :city, :DoctorCity
# alias_attribute :state_id, :DoctorState
# alias_attribute :zip_code, :DoctorZip
# alias_attribute :office_phone, :DoctorPhone
# alias_attribute :office_fax, :DoctorFax
# alias_attribute :note, :DoctorNotes
@tm72
Copy link
Copy Markdown

tm72 commented Jun 11, 2012

This is a second comment to the Gist

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment