0
I’m having trouble with the model report.
Console:
LoadError (Unable to autoload constant Report_questao, expected app/models/report.rb to define it):
app/controllers/pessoas_controller.rb:49:in `reportar'
controller:
require 'report'
class QuestoesController < ApplicationController
def reportar
@report = report.new
end
end
Model:
report.Rb
class Report < ActiveRecord::Base
belongs_to :pessoa
end
The Error seems to be in the Model Report if you can post it there for us
– Marco Vinicius Soares Dalalba