Ruby5 #562
https://ruby5.codeschool.com/episodes/604-episode-562-june-26th-2015
- Rails Multi-Database Best Practices Roundup
- Do not use establish_connection for other models. Only use it for the base connection class
- MysqlBase.connection.cache { yield }
- Rails application.rb Recommendations
- config.generators do |g|
- g.assets = false
- g.helper = false
- config.action_controller.include_all_helpers = false
- config.active_record.schema_format = :sql
- config.generators do |g|
- What’s New in Rails 5
- Action Cable
rails db:migrate
- Restore Bundled With
- Restore BUNDLED WITH section in Gemfile.lock
- Optimizing Full Text Search
gem "pg_search"
- pg_search_scope
♫ Salt-N-Pepa - Push It
by SoundHound