search for: building_controller

Displaying 1 result from an estimated 1 matches for "building_controller".

Did you mean: billing_controller
2006 Jun 27
3
Weird ActiveRecord Foreign Key Problem
...rd/base.rb:390:in `find_by_sql'' c:/programme/ruby/lib/ruby/gems/1.8/gems/activerecord-1.14.2/lib/active_record/base.rb:924:in `find_every'' c:/programme/ruby/lib/ruby/gems/1.8/gems/activerecord-1.14.2/lib/active_record/base.rb:381:in `find'' #{RAILS_ROOT}/app/controllers/building_controller.rb:14:in `index'' If I replace the "find :all" with an "find_sql" where I read all the columns except the "type" column, the error doesn''t occur. The type of the column is "type INTEGER UNSIGNED NOT NULL". Is there anyone who have an idea...