Error on stpexec : ROR on Linux with SQLServer Connection


#1

So I got my rails app to connect to the SQLServer via ODBC, and I can
model/scaffold, yada yada…

but when I need to exec a stored proc using sql_server.rb I get

undefined local variable or method `connection’

how can that be, if I can connect for everthing else?

thanks


#2

zac elston wrote:

So I got my rails app to connect to the SQLServer via ODBC, and I can
model/scaffold, yada yada…

but when I need to exec a stored proc using sql_server.rb I get

undefined local variable or method `connection’

Hi Zac,

I’ve been using MSSQL a whole bunch recently, you’re probably running
into a problem with rake…the instructions on the wiki are dreadfully
wrong. Can you give me some more information about what the error is
and how your causing it? a Terminal log might be nice…


Matthew B. :: removed_email_address@domain.invalid
Resume & Portfolio @ http://madhatted.com