Forum: Ruby on Rails Rails edge breaks my app

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
4c4c46ad9a5e4df8ba4ea8353e19c2fd?d=identicon&s=25 Curtis Edmond (Guest)
on 2006-02-21 14:06
(Received via mailing list)
I set my app on the Rails edge yesterday via rake freeze_edge and that
broke
my app. If I take the ..\vendor\rails folder out and restart the server
(webrick), it works fine. I don't get any errors. But if I re-add the
..\vendor\rails folder I get errors when accessing any views that have
pagination. Is this a known issue or problem? This is the error:



ActiveRecord::StatementInvalid in Books#list
Mysql::Error: #42S22Unknown column 'joinsincludeconditions' in 'where
clause': SELECT COUNT(*) FROM books WHERE (joinsincludeconditions)
RAILS_ROOT: ./script/../config/..

Application Trace | Framework Trace | Full Trace
c:/ruby/lib/ruby/gems/1.8/gems/activerecord-1.13.2/lib/active_record/connection_adapters/abstract_adapter.rb:88:in
`log'
c:/ruby/lib/ruby/gems/1.8/gems/activerecord-1.13.2/lib/active_record/connection_adapters/mysql_adapter.rb:180:in
`execute'
c:/ruby/lib/ruby/gems/1.8/gems/activerecord-1.13.2/lib/active_record/connection_adapters/mysql_adapter.rb:322:in
`select'
c:/ruby/lib/ruby/gems/1.8/gems/activerecord-1.13.2/lib/active_record/connection_adapters/mysql_adapter.rb:175:in
`select_one'
c:/ruby/lib/ruby/gems/1.8/gems/activerecord-1.13.2/lib/active_record/connection_adapters/abstract/database_statements.rb:16:in
`select_value'
c:/ruby/lib/ruby/gems/1.8/gems/activerecord-1.13.2/lib/active_record/base.rb:518:in
`count_by_sql'
c:/ruby/lib/ruby/gems/1.8/gems/activerecord-1.13.2/lib/active_record/base.rb:511:in
`count'
#{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/pagination.rb:167:in
`count_collection_for_pagination'
#{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/pagination.rb:189:in
`paginator_and_collection_for'
#{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/pagination.rb:124:in
`paginate'
#{RAILS_ROOT}/app/controllers/recipes_controller.rb:8:in `list'
This topic is locked and can not be replied to.