My application suddenly started to give this message.
NoMethodError: private method `new’ called for Post.class
my post class has:
class Post < ActiveRecord::Base
How could I fix this problem?
I’m using rails 3.1.3
even if I tried to write Post.new in console this problem still happens.
The funniest thing is because this error only occurs on Post class… ;/