Ruby 1.8.7 compatibility

Posted by Sebastian on Stack Overflow See other posts from Stack Overflow or by Sebastian
Published on 2010-01-05T08:17:26Z Indexed on 2010/03/25 9:13 UTC
Read the original article Hit count: 363

Filed under:
|

I had a exception when I switch to Ruby 1.8.7 on Snow Leopard

ArgumentError: wrong number of arguments (1 for 0)
    /Library/Ruby/Gems/1.8/gems/activerecord-1.15.5/lib/active_record/connection_adapters/abstract/quoting.rb:27:in 'to_s'
    /Library/Ruby/Gems/1.8/gems/activerecord-1.15.5/lib/active_record/connection_adapters/abstract/quoting.rb:27:in 'quote'
    /Library/Ruby/Gems/1.8/gems/activerecord-1.15.5/lib/active_record/connection_adapters/mysql_adapter.rb:190:in 'quote'
    /Library/Ruby/Gems/1.8/gems/activerecord-1.15.5/lib/active_record/base.rb:2042:in 'quote_value'
    /Library/Ruby/Gems/1.8/gems/activerecord-1.15.5/lib/active_record/base.rb:2034:in 'attributes_with_quotes'

Application uses Rails 1.2.5: there is no chance to update rails in this app. Somebody have solution?

© Stack Overflow or respective owner

Related posts about ruby

Related posts about activerecord