Created
October 19, 2017 12:39
-
-
Save willnet/c3d2d061aef3fb1b003d9c4d0bb9ad6d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## 感想 | |
全体的に地味 | |
## Adapter | |
いろいろadapterがある | |
- db2 | |
- firebird | |
- oci | |
- sqlserver | |
vendor/mysql.rb | |
vendorとは?mysql2 gem的なもの | |
vendor/simple? | |
## とばしてよさそう | |
> - ConnectionSpecification.establish_connection | |
> @@defined_connectionsに設定はいる | |
## TIPS感ある | |
モデルクラスごとにDB変えられるっぽい | |
connection_pool なんてなかった | |
allow_concurrencyってなんだろ | |
-> 1.0 からthread safeだったらしい | |
mysql_adapter | |
postgres_adapter | |
見所ない | |
use_transactional_fixtures もうある | |
## ORM的なところ | |
https://gist.github.com/takuyan/370adf5327604d8fb0891c58dc310ffc | |
- なぜかallocateしてインスタンス作ってる | |
- instance_variable_set @attributes |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment