RailsCasts Pro episodes are now free!

Learn more or hide this

dtwconsulting's Profile

GitHub User: dtwconsulting

Comments by


I am having the exact same issue. I think the reason is that the date field is not getting assigned the class that is needed for the JS to kick in.

I have no idea how to go about fixing this, but if I cannot find a way to do this then I will have to try going to a none dynamic way of adding a new nested record, as I will need the fields created with the correct class assigned to them.

Hopefully someone with more skill than myself can come up with a good solution for this.


Ryan, thanks for the Railscast, very good and just what I needed. I seem to have this working with one issue. When I create a new nested record I have two fields that are using a datepicker class and then new records (I am guessing) don't have this class attached to them.

Would anyone know how to go about getting this fixed in a dynamic enough way? Would really like to get this working.

Many thanks.