Skip to content

Instantly share code, notes, and snippets.

@thelinuxlich
Created October 25, 2011 12:53
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save thelinuxlich/1312641 to your computer and use it in GitHub Desktop.
Save thelinuxlich/1312641 to your computer and use it in GitHub Desktop.
class HorarioAula < ActiveRecord::Base
set_table_name :horarios_aulas
set_primary_keys :num_ano_turma,:num_sem_turma,:num_mes,:cod_centro,
:cod_curso,:cod_bloco,:idt_periodo_bloco,:num_periodo_turma,
:cod_turma,:cod_discip,:cod_grupo,:cod_doce,:idt_campus,
:num_dia_semana,:cod_modulo,:cod_sub_modu
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment