##// END OF EJS Templates
Improve performance of Principal.member_of scope...
Improve performance of Principal.member_of scope The 'join' turns to be slow for large numbers of members (>20k). Using a sub-query like in Principal.not_member_of is more efficient and performance is the same for smaller values. git-svn-id: http://svn.redmine.org/redmine/trunk@13139 e93f8b46-1217-0410-a6f0-8f06a7374b81

File last commit:

r12738:971dbfecc004
r12864:1914d1a15984
Show More
Gemfile
31 lines | 685 B | text/x-ruby | RubyLexer
Toshi MARUYAMA
add missing awesome_nested_set 2.1.6 files (#6579)...
r12738 gem 'combustion', :github => 'pat/combustion'
source 'https://rubygems.org'
gemspec :path => File.expand_path('../', __FILE__)
platforms :jruby do
gem 'activerecord-jdbcsqlite3-adapter'
gem 'activerecord-jdbcmysql-adapter'
gem 'activerecord-jdbcpostgresql-adapter'
gem 'jruby-openssl'
end
platforms :ruby do
gem 'sqlite3'
gem 'mysql2', (MYSQL2_VERSION if defined? MYSQL2_VERSION)
gem 'pg'
end
RAILS_VERSION = nil unless defined? RAILS_VERSION
gem 'railties', RAILS_VERSION
gem 'activerecord', RAILS_VERSION
gem 'actionpack', RAILS_VERSION
# Add Oracle Adapters
# gem 'ruby-oci8'
# gem 'activerecord-oracle_enhanced-adapter'
# Debuggers
# gem 'pry'
# gem 'pry-nav'