Displaying 1 result from an estimated 1 matches for "cursoscontrol".
2011 May 29
4
Model load time
...0.0:3000
=> Call with -d to detach
=> Ctrl-C to shutdown server
Cidade
=> Debugger enabled
But when I try to login and get redirected to the root page
(Curso#new) it prints:
Cidade
Curso
Legislacao
Started GET "/" for 127.0.0.1 at Sun May 29 19:38:58 -0300 2011
Processing by CursosController#new as HTML
Usuario Load (0.3ms) SELECT `usuarios`.* FROM `usuarios` WHERE
`usuarios`.`id` = 1 LIMIT 1
As you can see, the Usuario class was loaded, but was not added to
ActiveRecord::Base.descendants. Which makes me think that it was
loaded after the to_prepare block.
Shouldnt the to_prepa...