แล้วฟ้อง error แบนี้ล่ะครับคืออะไร

Expected F:/Khai/INSTAN~1.6-W/INSTAN~1.6-W/INSTAN~1/rails_apps/evaluation/app/models/table_factor.rb to define Table_factor

คือว่าผมนั้นจะ insert data จาก textbox เข้าสู่ database ครับ แต่ว่ามันฟ้องแบบนี้ครับ ไม่ทราบว่าเป็นเพราะอะไรครับ
มีตารางชื่อ table_factors
model คือ table_factor.rb

controller
def add_table_factor
@table_factor = Table_factor.new(params[:table_factor])
@table_factor.save
end

form
<% form_for :table_factor, :url => { :action => :add_table_factor } do |form| %>


<%= form.text_field :name_factor, :size => 40 %>


<%= form.text_area :description, :rows => 3, :cols => 40 %>


<%= form.text_field :weight, :size => 40 %>

<%= submit_tag "Create factor", :class => "submit" %>
<% end %>
ถูกหรือยังครับ
นี่คือรายละเอียดที่ผมทำไว้ รบกวนท่านผู้รู้ช่วยด้วยนะครับ เครียดมากครับ

สงสัยจะเกี่ยวกับการตั้งชื่อ Model class
ลองตรวจดูว่าชื่อ class ที่เขียนไว้ใน table_factor.rb สะกด "Table_factor" จริงหรือเปล่า

Note: เวลาแนบ code ใน forum ช่วยใส่ <blockcode> tag คร่อมด้วยนะ
ไม่งั้นมันจะตีความเป็น html tag หมด
ทำให้อ่าน code ที่แนบมาไม่ออก

เพิ่มเติม
เวลามี error เกิดขึ้น
ควรจะแนบ stack trace มาด้วย
ยกตัวอย่าง

from /usr/local/lib/ruby/gems/1.8/gems/activesupport-1.4.2/lib/active_support/dependencies.rb:249:in `load_missing_constant'
from /usr/local/lib/ruby/gems/1.8/gems/activesupport-1.4.2/lib/active_support/dependencies.rb:452:in `const_missing'
from /usr/local/lib/ruby/gems/1.8/gems/activesupport-1.4.2/lib/active_support/dependencies.rb:464:in `const_missing'
from (irb):1    

ขอบคุณมากสำหรับคำชี้แนะครับ

ย้าย Codenone

ประกาศย้าย Codenone ไปใช้ Forum ของ Blognone แทนครับ ตามไปตั้งกระทู้ต่อได้ที่ Codenone Forum (รายละเอียดอ่านจากกระทู้ ย้าย Codenone ไปรวมกับ Blognone)

กระทู้เก่าๆ จะย้ายตามไปในภายหลัง ตอนนี้ปิดการโพสต์กระทู้ไว้ เหลือไว้เฉพาะอ้างอิงเท่านั้น