Neville Burnell
2005-Mar-24 03:25 UTC
Active Record 0.9 SQL Server Adapter problem => Rails 0.11 does not work with SQL Server
I just upgraded from Rails 0.10 to Rails 0.11, and my app generates the following trace: add_limit_without_offset! not implemented Framework trace: c:/ruby/lib/ruby/gems/1.8/gems/activerecord-1.9.0/lib/active_record/conn ection_adapters/sqlserver_adapter.rb:261:in `add_limit_without_offset!'' c:/ruby/lib/ruby/gems/1.8/gems/activerecord-1.9.0/lib/active_record/conn ection_adapters/abstract_adapter.rb:360:in `add_limit!'' c:/ruby/lib/ruby/gems/1.8/gems/activerecord-1.9.0/lib/active_record/base .rb:360:in `find_all'' c:/ruby/lib/ruby/gems/1.8/gems/activerecord-1.9.0/lib/active_record/base .rb:378:in `find_first'' I did a quick ''Google'' and found the following ticket which might be related: http://dev.rubyonrails.com/ticket/795 "To developers of the Oracle, SQL Server, and DB2 adapters, or anyone with access to those databases: This patch needs implementations of add_limit_with_offset! and add_limit_without_offset!. You should no longer override the add_limit! method. The unit tests will tell you if your implementation works." Is anyone using Rails 0.11 with SQL Server? Thanks Neville