Skip to content

Commit

Permalink
Test with Rails 5 beta 3
Browse files Browse the repository at this point in the history
  • Loading branch information
jcoyne committed Feb 25, 2016
1 parent 5563cc0 commit f5a9280
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .travis.yml
Expand Up @@ -17,7 +17,7 @@ matrix:
- rvm: 2.2.4
env: "RAILS_VERSION=4.2.5"
- rvm: 2.3.0
env: "RAILS_VERSION=5.0.0.beta2"
env: "RAILS_VERSION=5.0.0.beta3"
- rvm: jruby-9.0.4.0
env: "RAILS_VERSION=4.2.5 JRUBY_OPTS=\"-J-Xms512m -J-Xmx1024m\""
allow_failures:
Expand Down
3 changes: 3 additions & 0 deletions app/controllers/concerns/blacklight/search_context.rb
Expand Up @@ -21,6 +21,9 @@ def record_search_parameters opts = { only: :index}
# sets up the session[:search] hash if it doesn't already exist
def search_session
session[:search] ||= {}
# Need to call the getter again. The value is mutated
# https://github.com/rails/rails/issues/23884
session[:search]
end

# The current search session
Expand Down

1 comment on commit f5a9280

@TriciaMarie
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What is this please someone tell mw

Please sign in to comment.