if nested attribute is blank

1 view
Skip to first unread message

Sunny Bogawat

unread,
Aug 27, 2010, 1:47:17 AM8/27/10
to rubyonra...@googlegroups.com
HI,

I need to know if any nested attributes is blank then how it would work?
e.g -
In my case user have addresses & photos(nested attributes) but not
mandatory while adding user if i haven't added photos & submit form
then while editing that user it will not shown me photo upload field
because photo object is not exist for that user

can you explain me how should it work?
--
Posted via http://www.ruby-forum.com/.

Reply all
Reply to author
Forward
0 new messages