Does activerecord-sqlserver-adapter work with Rails 3 RC?
I get bunch of warning and then an exception:
D:\temp>ruby -v adapter.rb
ruby 1.9.1p378 (2010-01-10 revision 26273) [i386-mingw32]
D:/M2/dlr/External.LCA_RESTRICTED/Languages/Ruby/ruby19/lib/ruby/gems/1.9.1/gems/i18n-0.4.1/lib/i18n/core_ext/string/interpolate.rb:11:
warning: too many arguments for format string
D:/M2/dlr/External.LCA_RESTRICTED/Languages/Ruby/ruby19/lib/ruby/gems/1.9.1/gems/arel-0.4.0/lib/arel/algebra/relations/relation.rb:101:
warning: shadowing outer local variable - attribute
D:/M2/dlr/External.LCA_RESTRICTED/Languages/Ruby/ruby19/lib/ruby/gems/1.9.1/gems/arel-0.4.0/lib/arel/algebra/relations/utilities/compound.rb:36:
warning: method redefined; discarding old engine
D:/M2/dlr/External.LCA_RESTRICTED/Languages/Ruby/ruby19/lib/ruby/gems/1.9.1/gems/arel-0.4.0/lib/arel/algebra/relations/operations/lock.rb:6:
warning: method redefined; discarding old initialize
D:/M2/dlr/External.LCA_RESTRICTED/Languages/Ruby/ruby19/lib/ruby/gems/1.9.1/gems/arel-0.4.0/lib/arel/engines/sql/relations/table.rb:6:
warning: method redefined; discarding old engine
D:/M2/dlr/External.LCA_RESTRICTED/Languages/Ruby/ruby19/lib/ruby/gems/1.9.1/gems/arel-0.4.0/lib/arel/engines/sql/christener.rb:6:
warning: shadowing outer local variable - relation
D:/M2/dlr/External.LCA_RESTRICTED/Languages/Ruby/ruby19/lib/ruby/gems/1.9.1/gems/arel-0.4.0/lib/arel/engines/memory/relations/array.rb:9:
warning: method redefined; discarding old initialize
D:/M2/dlr/External.LCA_RESTRICTED/Languages/Ruby/ruby19/lib/ruby/gems/1.9.1/gems/activerecord-sqlserver-adapter-2.3.8/lib/active_record/connection_adapters/sqlserver_adapter.rb:366:
warning: unused literal ignored
D:/M2/dlr/External.LCA_RESTRICTED/Languages/Ruby/ruby19/lib/ruby/gems/1.9.1/gems/activerecord-sqlserver-adapter-2.3.8/lib/active_record/connection_adapters/sqlserver_adapter.rb:870:
warning: unused literal ignored
D:/M2/dlr/External.LCA_RESTRICTED/Languages/Ruby/ruby19/lib/ruby/gems/1.9.1/gems/activerecord-sqlserver-adapter-2.3.8/lib/active_record/connection_adapters/sqlserver_adapter.rb:880:
warning: unused literal ignored
D:/M2/dlr/External.LCA_RESTRICTED/Languages/Ruby/ruby19/lib/ruby/gems/1.9.1/gems/activerecord-sqlserver-adapter-2.3.8/lib/active_record/connection_adapters/sqlserver_adapter.rb:973:
warning: shadowing outer local variable - rows
D:/M2/dlr/External.LCA_RESTRICTED/Languages/Ruby/ruby19/lib/ruby/1.9.1/pathname.rb:270:
warning: `*' interpreted as argument prefix
D:/M2/dlr/External.LCA_RESTRICTED/Languages/Ruby/ruby19/lib/ruby/1.9.1/json/common.rb:274:
warning: method redefined; discarding old recurse_proc
D:/M2/dlr/External.LCA_RESTRICTED/Languages/Ruby/ruby19/lib/ruby/gems/1.9.1/gems/activesupport-3.0.0.rc/lib/active_support/core_ext/module/aliasing.rb:31:in
`alias_method': undefined method `add_order!' for class `Class' (NameError)
from
D:/M2/dlr/External.LCA_RESTRICTED/Languages/Ruby/ruby19/lib/ruby/gems/1.9.1/gems/activesupport-3.0.0.rc/lib/active_support/core_ext/module/aliasing.rb:31:in
`alias_method_chain'
from
D:/M2/dlr/External.LCA_RESTRICTED/Languages/Ruby/ruby19/lib/ruby/gems/1.9.1/gems/activerecord-sqlserver-adapter-2.3.8/lib/active_record/connection_adapters/sqlserver_adapter/core_ext/active_record.rb:14:in
`singletonclass'
from
D:/M2/dlr/External.LCA_RESTRICTED/Languages/Ruby/ruby19/lib/ruby/gems/1.9.1/gems/activerecord-sqlserver-adapter-2.3.8/lib/active_record/connection_adapters/sqlserver_adapter/core_ext/active_record.rb:12:in
`included'
from
D:/M2/dlr/External.LCA_RESTRICTED/Languages/Ruby/ruby19/lib/ruby/gems/1.9.1/gems/activerecord-sqlserver-adapter-2.3.8/lib/active_record/connection_adapters/sqlserver_adapter/core_ext/active_record.rb:145:in
`include'
from
D:/M2/dlr/External.LCA_RESTRICTED/Languages/Ruby/ruby19/lib/ruby/gems/1.9.1/gems/activerecord-sqlserver-adapter-2.3.8/lib/active_record/connection_adapters/sqlserver_adapter/core_ext/active_record.rb:145:in
`<top (required)>'
from
D:/M2/dlr/External.LCA_RESTRICTED/Languages/Ruby/ruby19/lib/ruby/gems/1.9.1/gems/activesupport-3.0.0.rc/lib/active_support/dependencies.rb:219:in
`require'
from
D:/M2/dlr/External.LCA_RESTRICTED/Languages/Ruby/ruby19/lib/ruby/gems/1.9.1/gems/activesupport-3.0.0.rc/lib/active_support/dependencies.rb:219:in
`block in require'
from
D:/M2/dlr/External.LCA_RESTRICTED/Languages/Ruby/ruby19/lib/ruby/gems/1.9.1/gems/activesupport-3.0.0.rc/lib/active_support/dependencies.rb:205:in
`block in load_dependency'
from
D:/M2/dlr/External.LCA_RESTRICTED/Languages/Ruby/ruby19/lib/ruby/gems/1.9.1/gems/activesupport-3.0.0.rc/lib/active_support/dependencies.rb:570:in
`new_constants_in'
from
D:/M2/dlr/External.LCA_RESTRICTED/Languages/Ruby/ruby19/lib/ruby/gems/1.9.1/gems/activesupport-3.0.0.rc/lib/active_support/dependencies.rb:205:in
`load_dependency'
from
D:/M2/dlr/External.LCA_RESTRICTED/Languages/Ruby/ruby19/lib/ruby/gems/1.9.1/gems/activesupport-3.0.0.rc/lib/active_support/dependencies.rb:219:in
`require'
from
D:/M2/dlr/External.LCA_RESTRICTED/Languages/Ruby/ruby19/lib/ruby/gems/1.9.1/gems/activerecord-sqlserver-adapter-2.3.8/lib/active_record/connection_adapters/sqlserver_adapter.rb:3:in
`<top (required)>'
from
D:/M2/dlr/External.LCA_RESTRICTED/Languages/Ruby/ruby19/lib/ruby/gems/1.9.1/gems/activerecord-sqlserver-adapter-2.3.8/lib/activerecord-sqlserver-adapter.rb:1:in
`require'
from
D:/M2/dlr/External.LCA_RESTRICTED/Languages/Ruby/ruby19/lib/ruby/gems/1.9.1/gems/activerecord-sqlserver-adapter-2.3.8/lib/activerecord-sqlserver-adapter.rb:1:in
`<top (required)>'
from adapter.rb:2:in `require'
from adapter.rb:2:in `<main>'
Tomas
_______________________________________________
Ironruby-core mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/ironruby-core