Hi guys,
My application suddenly started to give this message.
NoMethodError: private method `new' called for Post.class
my post class has:
class Post < ActiveRecord::Base
belongs_to :user
...
end
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... ;/
Thx
--
Bruno Meira
--
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en.