RailsCasts Pro episodes are now free!
Learn more or hide this
GitHub User: benjamintush
@chris, I am trying to limit the answer to one, did you find a way to prevent the Add Answers link from being rendered if we already have reached our limit?
did you get this to work? and how?
I am using Rails 4
@branden, did you get an answer for this? I want to use has_one and belongs_to relationship for question-answer. and it is not working
please can some one help me with this problem here? I am using rails 4. http://stackoverflow.com/questions/21295989/nested-attributesmodels-forms-not-working-as-needed-in-rails-4
I want to use a has_one relationship for questions-answer.