Instiki 0.17.2: Security Release
This release upgrades Instiki to Rails 2.3.4, which patches two security holes in Rails. See http://weblog.rubyonrails.org/2009/9/4/ruby-on-rails-2-3-4 There are also some new features, and the usual boatload of bugfixes. See the CHANGELOG for details.
This commit is contained in:
parent
34c4306867
commit
4bdf703ab2
211 changed files with 3959 additions and 1325 deletions
2
vendor/rails/railties/lib/initializer.rb
vendored
2
vendor/rails/railties/lib/initializer.rb
vendored
|
@ -442,7 +442,7 @@ Run `rake gems:install` to install the missing gems.
|
|||
def initialize_database_middleware
|
||||
if configuration.frameworks.include?(:active_record)
|
||||
if configuration.frameworks.include?(:action_controller) &&
|
||||
ActionController::Base.session_store == ActiveRecord::SessionStore
|
||||
ActionController::Base.session_store.name == 'ActiveRecord::SessionStore'
|
||||
configuration.middleware.insert_before :"ActiveRecord::SessionStore", ActiveRecord::ConnectionAdapters::ConnectionManagement
|
||||
configuration.middleware.insert_before :"ActiveRecord::SessionStore", ActiveRecord::QueryCache
|
||||
else
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue