Commit 0c649c66979a1a719836a38bdbbe838288d50d5a

Authored by Lee Dykes
1 parent 477399d2
Exists in master

Extending active record rather than sending

lib/surveyable/acts_as_survey.rb
... ... @@ -14,4 +14,4 @@ module Surveyable
14 14 end
15 15 end
16 16  
17   -ActiveRecord::Base.send :include, Surveyable::ActsAsSurvey
18 17 \ No newline at end of file
  18 +ActiveRecord::Base.extend(Surveyable::ActsAsSurvey)
19 19 \ No newline at end of file
... ...
lib/surveyable/version.rb
1 1 module Surveyable
2   - VERSION = "0.1.3"
  2 + VERSION = "0.1.4"
3 3 end
... ...