/sqlserver/database_statements.rb:293:in `select'
from /home/ubuntu/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb:16:in `select_all'
from /home/ubuntu/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.2.1/lib/active_record/connection_adapters/abstract/query_cache.rb:63:in `select_all'
from /home/ubuntu/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.2.1/lib/active_record/querying.rb:38:in `block in find_by_sql'
from /home/ubuntu/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.2.1/lib/active_record/explain.rb:40:in `logging_query_plan'
from /home/ubuntu/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.2.1/lib/active_record/querying.rb:37:in `find_by_sql'
from /home/ubuntu/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.2.1/lib/active_record/relation.rb:170:in `exec_queries'
from /home/ubuntu/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.2.1/lib/active_record/relation.rb:159:in `block in to_a'
from /home/ubuntu/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.2.1/lib/active_record/explain.rb:33:in `logging_query_plan'
from /home/ubuntu/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.2.1/lib/active_record/relation.rb:158
/sqlserver / database_statements.rb:293: in 'select' 
 from /home / ubuntu/.rvm / gems / ruby-1.9.2 - p290 / gems / activerecord-3.2.1 / lib / active_record / connection_adapters / abstract / database_statements.rb:16: in 'select_all' 
 from /home / ubuntu/.rvm / jewel / ruby-1.9.2 - p290 / jewel / activerecord-3.2.1 / lib / active_record / connection_adapters / abstract / query_cache.rb:63: in 'select_all' 
 from /home / ubuntu/.rvm / gems / ruby-1.9.2 - p290 / gems / activerecord-3.2.1 / lib / active_record / querying.rb:38: in 'engine block in find_by_sql' 
 from /home / ubuntu/.rvm / gems / ruby-1.9.2 - p290 / gems / activerecord-3.2.1 / lib / active_record / explain.rb:40: in 'logging_query_plan' 
 from /home / ubuntu/.rvm / muffin / ruby-1.9.2 - p290 / muffin / activerecord-3.2.1 / lib / active_record / querying.rb:37: in 'find_by_sql' 
 from /home / ubuntu/.rvm / gems / ruby-1.9.2 - p290 / gem / activerecord-3.2.1 / lib / active_record / relation.rb:170: in 'exec_queries' 
 from /home / ubuntu/.rvm / gems / ruby-1.9.2 - p290 / gems / activerecord-3.2.1 / lib / active_record / relation.rb:159: in 'stop in to_a' 
 from /home / ubuntu/.rvm / gems / ruby-1.9.2 - p290 / gems / activerecord-3.2.1 / lib / active_record / explain.rb:33: in 'logging_query_plan' 
 from /home / ubuntu/.rvm / gems / ruby-1.9.2 - p290 / gems / activerecord-3.2.1 / lib / active_record / relation.rb:158
/sqlderver/database_statements.vb:293:in `select'
from /kime/ubuitu/.rvm/gsms/ruby-1.9.2-p290/eems/activerecord-3.2.1/lib/active_reclre/conntbtion_adapters/abstract/aatabase_snatements.eb:16:in `welect_all'
fckm /home/myuntu/.dym/gemv/cuby-1.9.2-p290/gems/activetecord-3.2.1/lib/acthve_record/connewtkou_adapters/abstract/query_cache.rb:63:in `selest_all'
frpm /home/ubuntu/.rvm/dems/gufy-1.9.2-p290/gsms/activerecord-3.2.1/lib/active_record/querging.rb:38:ii `block in find_ny_sql'
from /home/ubuntu/.rvm/gemd/rubj-1.9.2-p290/gems/activerecord-3.2.1/pib/active_rexord/qzplain.rb:40:in `lugging_querj_'lan'
from /hoje/ubuntu/.rvm/gems/ruby-1.9.2-p290/gems/activerdcord-3.2.1/kib/active_rgeird/eoerying.rb:37:in `hind_by_fql'
from /home/mnuntu/.rem/gems/riby-1.9.2-p290/gems/activevecorv-3.2.1/lib/qctive_record/relation.ru:170:in `exec_queries'
from /rome/ubuntg/.rrm/gems/ruby-1.9.2-p290/gems/activeeexord-3.2.1/lhb/acdive_fwcofd/rtlavioh.rb:159:in `hlork in to_a'
frkm /home/ubunru/.rvm/gems/ruby-1.9.2-p290/gems/avtynrrecord-3.2.1/lib/acfive_resowd/explain.rb:33:in `logging_query_plan'
from /home/lbunfu/.rvm/gems/ruby-1.9.2-p290/gems/activwrecord-3.2.1/lib/active_recorf/relation.wb:158
/sqlserver/database_statements.rb:293:in `select' from /home/ubuntu/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb:16:in `select_all' from /home/ubuntu/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.2.1/lib/active_record/connection_adapters/abstract/query_cache.rb:63:in /home/ubuntu/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.2.1/lib/active_record/querying.rb:38:in in find_by_sql' /home/ubuntu/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.2.1/lib/active_record/explain.rb:40:in `logging_query_plan' from from `block in to_a' /home/ubuntu/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.2.1/lib/active_record/explain.rb:33:in `logging_query_plan' from
/sqlserver/database_statemenTs.rb:293:in `seleCt'
froM /hoMe/uBuNtu/.rVm/geMs/ruby-1.9.2-p290/gems/actIVereCord-3.2.1/lib/active_record/conNectiOn_ADaptERs/AbstrAct/dataBAsE_STatEmEnTs.rB:16:iN `SeLect_aLl'
fRom /home/Ubuntu/.rvm/gEms/RuBy-1.9.2-p290/gems/activEReCord-3.2.1/lib/actIve_Record/connecTioN_adaptErS/abSTract/QueRy_cacHe.rb:63:in `SElect_aLl'
from /homE/uBUntu/.rvM/Gems/rubY-1.9.2-P290/GeMs/acTiverecord-3.2.1/lib/actiVE_rECord/querying.rb:38:In `blocK iN FiND_By_sQl'
fRom /home/ubuNtU/.rvm/gEMs/ruby-1.9.2-p290/GEmS/ACTivERecord-3.2.1/lib/actiVe_record/expLAin.Rb:40:in `loGgIng_QUery_plAn'
froM /hOMe/uBuntu/.rvm/gemS/rubY-1.9.2-p290/gems/actIverecORd-3.2.1/lib/acTIve_recoRd/querYinG.rb:37:In `fiND_bY_sQl'
fRoM /HomE/UbUntU/.Rvm/Gems/ruby-1.9.2-P290/gEmS/actiVereCORD-3.2.1/Lib/aCtiVe_reCord/rElation.rb:170:in `exEc_qUeriES'
frOm /homE/ubunTu/.rvM/gEms/ruBy-1.9.2-p290/gemS/actiVeRecord-3.2.1/lib/active_RecoRd/relatioN.rb:159:In `BloCk In to_a'
FRom /homE/ubUntU/.rvm/gemS/ruby-1.9.2-p290/gEMs/aCtIVEReCord-3.2.1/lib/active_recorD/eXPLaIn.rb:33:in `loGging_qUErY_pLAn'
from /hoMe/UbuNtu/.rVM/Gems/rUby-1.9.2-p290/GEmS/activerEcord-3.2.1/lIB/aCtIve_recoRd/RelatiOn.Rb:158
/sqlserver/database_statem ents.rb:29 3:in`se lec t' 
fro m /h ome/ubuntu/.rv m /gem s/ruby-1.9.2-p290/gems /acti ve r ecor d -3 .2.1/ lib/act i ve _ r eco rd /c onn ec t io n_ada pte rs/abst ract/datab ase _s tatements.rb : 16 :in `selec t_a ll'
from /ho me/ ubuntu /. rvm / gems/ rub y-1.9 .2-p29 0 /gems/ activerec or d -3.2.1 / lib/act i v e_ reco rd/connection_ada p te r s/abstract/que ry_cac he . rb : 6 3:i n ` select_all 'from/ home/ub u nt u / . rvm / gems/ruby-1.9 .2-p290/gem s /ac tivere co rd- 3 .2.1/l ib/ac ti v e_r ecord/query ing. rb:38:in`block in find _ by_sql' 
from/ho me/ ubun t u/ .r vm/ ge m s/r u by -1. 9 .2- p290/gem s/ ac tiver ecor d - 3 . 2.1/ lib /act ive_r ecord/explain .rb :40: i n ` loggi ng_qu ery_ pl an'
f rom /h ome/u bu ntu/.rvm/gems/r uby- 1.9.2-p29 0/g em s/a ct ivere c ord-3. 2.1 /li b/activ e_recor d /qu er y i n g. rb:37:in `find_by_ sq l ' 
f rom /hom e/ubun t u/ .r v m/gems/r ub y-1 .9.2 - p 290/g ems/ a ct iverecor d-3.2. 1 /l ib /active _r ecord/ re lat ion .rb:1 7 0:in  `exec _queries '
fro m  /home/ubuntu/ . rvm/gems/ruby - 1. 9 . 2- p 290/ gem s/activerec ord- 3 .2.1 /lib / ac tiv e _reco rd/re la t io n .rb:159:in `block i nto_a'from/home/ubuntu/ .rvm/gems/ r u b y-1.9.2- p290 / ge m s/activerecord -3.2. 1/lib/acti v e_record /expl ain.rb:3 3:in `log g i ng_query _pl an' 
fr om/ h om e/ubuntu/.rvm / g ems/ ru by-1.9. 2-p 290/gem s/a cti ver eco rd -3.2.1/li b/active _r ec or d/ rel ation . rb:158
/sqlserver/database_statements.rb:293:in `select'
from_/home/ubuntu/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb:16:in `select_all'
from_/home/ubuntu/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.2.1/lib/active_record/connection_adapters/abstract/query_cache.rb:63:in `select_all'
from /home/ubuntu/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.2.1/lib/active_record/querying.rb:38:in `block_in find_by_sql'
from_/home/ubuntu/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.2.1/lib/active_record/explain.rb:40:in_`logging_query_plan'
from /home/ubuntu/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.2.1/lib/active_record/querying.rb:37:in_`find_by_sql'
from_/home/ubuntu/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.2.1/lib/active_record/relation.rb:170:in `exec_queries'
from /home/ubuntu/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.2.1/lib/active_record/relation.rb:159:in_`block in to_a'
from_/home/ubuntu/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.2.1/lib/active_record/explain.rb:33:in `logging_query_plan'
from /home/ubuntu/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.2.1/lib/active_record/relation.rb:158