search for: fetch_field

Displaying 2 results from an estimated 2 matches for "fetch_field".

Did you mean: fetch_fields
2005 Apr 26
0
NoMethodError (undefined method `fetch_fields' for nil:NilClass)
...ing CategoryController#index (for 127.0.0.1 at Tue Apr 26 21:43:45 CEST 2005) Parameters: {"action"=>"index", "controller"=>"category"} [4;33mCategory Count (0.001415) [1;37mSELECT COUNT(*) FROM categories NoMethodError (undefined method `fetch_fields'' for nil:NilClass): /usr/lib/ruby/gems/1.8/gems/activerecord-1.10.1/lib/ active_record/connection_adapters/mysql_adapter.rb:204:in `select'' /usr/lib/ruby/gems/1.8/gems/activerecord-1.10.1/lib/ active_record/connection_adapters/mysql_adapter.rb:98:in `select_one'...
2006 Jan 17
15
legacy database and finder_sql nightmare!
This is my first rails app with a legacy database and I''m having a terrible time getting the models set up correctly. I have an order table that has a primary field named order_number. I have a name table with a primary of item_number. These two tables are liked by the item_number and the order_number, but not as you might think. If the order_number is 2500, then each entry in