在我的应用程序; 当我提交表单时,我得到这个错误: LoadError at /questions Unable to autoload constant Message, expected /app/models/message.rb to define it 它指向Questions控制器中的create操作: @message = current_user.messages.new(:subject => "You have a question from #{@question.sender_id}"` 留言模式: class Mailboxer::Message < ActiveRecord::Base attr_accessible :notification_id, :receiver_id, :conversation_id end