##// END OF EJS Templates
Use attribute writers instead of before_create callback to normalize comments and committer (#14534)....
Use attribute writers instead of before_create callback to normalize comments and committer (#14534). Unlike other adapters, SQLite raises Encoding::UndefinedConversionError before the callback that reencodes attributes is called. git-svn-id: http://svn.redmine.org/redmine/trunk@13896 e93f8b46-1217-0410-a6f0-8f06a7374b81

File last commit:

r9351:8d73ddf73ffc
r13514:0bcd5be0a585
Show More
init.rb
12 lines | 308 B | text/x-ruby | RubyLexer
if Rails.version < '3'
config.gem 'rack-openid', :lib => 'rack/openid', :version => '>=0.2.1'
end
require 'open_id_authentication'
config.middleware.use OpenIdAuthentication
config.after_initialize do
OpenID::Util.logger = Rails.logger
ActionController::Base.send :include, OpenIdAuthentication
end