Please sign in to comment.
Don't reference ActiveRecord::Base in initializers/wrap_parameters.rb…
…. Use config.active_record instead. This yields about a 20% decrease in startup time because it means that the connection is not created immediately on startup. Of course, this is only useful if you are not going to immediately use the database after startup.
- Loading branch information...
Showing with 7 additions and 5 deletions.