Sign in through GitHub

Please read for an updated status on RailsCasts:

Learn more or hide this

kristofmichiels's Profile

GitHub User: kristofmichiels

Comments by

Avatar

Hi Ryan,

This again is a remarkable screencast! We really can't praise your importance for the Rails community enough. This screencast has been an eye-opener for me, to say the least.

One question though: I can't seem to figure out how to set attr_accessible dynamically for fields from a related-model?

I have a form for a model x that uses 'accepts_nested_attributes_for' model y. Model x has_many model ys.

If I find the answer myself, I'll post it here!

Kind regards, Kristof