Commit 0c649c66979a1a719836a38bdbbe838288d50d5a
1 parent
477399d2
Exists in
master
Extending active record rather than sending
Showing
2 changed files
with
2 additions
and
2 deletions
Show diff stats
lib/surveyable/acts_as_survey.rb
@@ -14,4 +14,4 @@ module Surveyable | @@ -14,4 +14,4 @@ module Surveyable | ||
14 | end | 14 | end |
15 | end | 15 | end |
16 | 16 | ||
17 | -ActiveRecord::Base.send :include, Surveyable::ActsAsSurvey | ||
18 | \ No newline at end of file | 17 | \ No newline at end of file |
18 | +ActiveRecord::Base.extend(Surveyable::ActsAsSurvey) | ||
19 | \ No newline at end of file | 19 | \ No newline at end of file |
lib/surveyable/version.rb