thank you thank you thank you I'm starting to play with Ruby (being
a python man myself), and I've been loosing my mind for two days with
this!!!
--
Posted via http://www.ruby-forum.com/.
--
You received this message because you are subscribed to the Google Groups Ruby
on Rails: Talk
Solrac Caritas wrote in post #945648:
% f.fields_for :author do |author_form|%
with
%= f.fields_for :author do |author_form|%
Thanks you very much
It help me too!
--
Posted via http://www.ruby-forum.com/.
--
You received this message because you are subscribed to the Google Groups Ruby
Nicolas,
Sorry to drag up this old topic, but I'm having the exact same
problem. So what was your error? I assume I'm making the same mistake.
Thanks in advance,
Chris
--
Posted via http://www.ruby-forum.com/.
--
You received this message because you are subscribed to the Google Groups
Not used Rails 3 yet, but shouldn't your symbol be plural (:authors)
since you have a one-to-many relationship?
On Oct 4, 12:39 am, Nicolas nico.ta...@gmail.com wrote:
Hi all,
I'm having some issues to create a nested form with Rails3, the fields
for creating my children object are not
!-- For some reasons this block doesn't show up under rails3
but in rails 2 it's working --
% f.fields_for :author do |author_form|%
div class=field
%= author_form.label :name%
%= author_form.text_field :name %
/div
% end %
replace
% f.fields_for :author do
It's working. thanks a lot! It was a stupid error from me :).
On Oct 4, 1:38 am, Solrac Caritas li...@ruby-forum.com wrote:
!-- For some reasons this block doesn't show up under rails3
but in rails 2 it's working --
% f.fields_for :author do |author_form|%
div class=field
6 matches
Mail list logo