Error in "Getting Started" Tutorial

I get this error on step 9 of the Getting Started tutorial at

NoMethodError in PostsController#index

undefined method `accepts_nested_attributes_for’ for #<Class:
0x23fbc48>

Does anyone know if it’s a bug?

On Feb 24, 8:22 am, Beren [email protected] wrote:

I get this error on step 9 of the Getting Started tutorial at
guides.rubyonrails.org

NoMethodError in PostsController#index

undefined method `accepts_nested_attributes_for’ for #<Class:
0x23fbc48>

Sounds like you’re following the guide for rails 2.3 but using rails
2.2 (this is a feature new in 2.3)

Fred