Skip to content

Commit

Permalink
Delegate evolve Mongoid::Boolean too
Browse files Browse the repository at this point in the history
  • Loading branch information
arthurnn committed Jan 10, 2014
1 parent 53e736c commit 5b14ddd
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/mongoid/extensions/boolean.rb
Expand Up @@ -13,9 +13,11 @@ class << self
# @return [ String ] The object mongoized.
#
# @since 3.0.0
def mongoize(object)
def evolve(object)
::Boolean.evolve(object)
end
alias :mongoize :evolve

end
end
end

0 comments on commit 5b14ddd

Please sign in to comment.