簡體   English   中英

Rails 2.3.5和Ruby 1.9.1中的accept_nested_attributes_for

[英]accept_nested_attributes_for in Rails 2.3.5 and Ruby 1.9.1

accept_nested_attributes_for是否已與Rails 2.3.5和Ruby 1.9.1一起使用?

我不斷收到這個錯誤

undefined method accept_nested_attributes_for' for #<Class:0x00000108da2140>

是的,應該是accepts_nested_attributes_for(帶有's')

有人應該清理那些Google搜索!

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM