In my app; when I submit form, I get this error:
LoadError at /questions
Unable to autoload constant Message, expected /app/models/message.rb to define it
It points to the create action in the Questions controller:
@message = current_user.messages.new(:subject => "You have a question from #{@question.sender_id}"`
Message model:
class Mailboxer::Message < ActiveRecord::Base
  attr_accessible :notification_id, :receiver_id, :conversation_id
end
 
     
     
     
     
    