Use Rack::Lock to prevent concurrency when eager_load is false
Merge pull request #1400 from jnicklas/rails_threading

Use Rack::Lock to prevent concurrency when eager_load is false