Add sync fields to reports table
Using a uniq generator for guid
is_deleted is false by default
reports must have a guid and only return records that are not deleted
report will generate a guid for new records if one isn't provided
will only update records with most current timestamp
fixed last_modified sync bugs
removed your pry idiot
reports are retrived by guid for update action
select first record if found
guid must be unique
will send back id of exsiting record if guid already exists
added delete action
fixed retarded method naming mistake
assign errors correctly
delete by passes lastmodifed validation
removed last_modified for the db and implimented a virtual attribute
refactored sync into a service to use as a wrapper class for syncing objects
removed debugging code
show errors on sign in page