app/models/choice.rb in ask-0.5.2 vs app/models/choice.rb in ask-0.5.3
- old
+ new
@@ -1,7 +1,7 @@
class Choice < ActiveRecord::Base
+ if respond_to? :attr_accessible # Rails 3.2 backwards compatibility
+ attr_accessible :name
+ end
- attr_accessible :name
-
belongs_to :question
-
end