ncubica ncubica Mon Aug 20 16:31:44 -0400 2012

Subject: Can't use find_by_sql cause exception is throw

Hi whenever I want to use find_by_sql an exception is throw, everything is working fine with my models and while I dont use find_by_sql everything is working, does any know why is happening this?? what else do I have to modify or add before use this method?

"There were and exception on backend exception 'ActiveRecord\DatabaseException' with message '3D000, 1046, No database selected' in C:\xampp\htdocs\ibp\App_data\DAL\lib\Connection.php:276 Stack trace: #0 "