Commit c4acbd42295ba9e815dade02b7a896556a0b34c9

Authored by Lee Dykes
1 parent ee204d0e
Exists in master

allowing response to create/edit answers

lib/surveyable/acts_as_response.rb
... ... @@ -7,7 +7,7 @@ module Surveyable
7 7 module ClassMethods
8 8 def acts_as_response(options = {})
9 9 has_many :answers, as: :response, class_name: 'Surveyable::Answer'
10   -
  10 + accepts_nested_attributes_for :answers
11 11 send :include, InstanceMethods
12 12 end
13 13 end
... ...
lib/surveyable/version.rb
1 1 module Surveyable
2   - VERSION = "0.1.8"
  2 + VERSION = "0.1.9"
3 3 end
... ...