Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use safer writer method to assign default scope name
Browse files Browse the repository at this point in the history
ernsheong committed Jan 14, 2015
1 parent 5ddd8bd commit 794d9fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/acts-as-messageable.rb
Original file line number Diff line number Diff line change
@@ -7,7 +7,7 @@ module ActsAsMessageable
autoload :Rails4, 'acts-as-messageable/rails4'

mattr_accessor :search_scope_name
@@search_scope_name = :search
self.search_scope_name = :search

def self.config
yield self

0 comments on commit 794d9fa

Please sign in to comment.