Skip to content
This repository has been archived by the owner on Apr 11, 2024. It is now read-only.

Commit

Permalink
Add support for Rails 5
Browse files Browse the repository at this point in the history
  • Loading branch information
laserlemon committed Feb 19, 2016
1 parent 56da505 commit b7f1dda
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/periscope/adapters/active_record.rb
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ module ActiveRecord
private

def periscope_default_scope
::ActiveRecord::VERSION::MAJOR == 4 ? all : scoped
::ActiveRecord::VERSION::MAJOR >= 4 ? all : scoped
end
end
end
Expand Down

0 comments on commit b7f1dda

Please sign in to comment.