I wrote the way to build structured layout in Rails.
You can use it when you want to use the same frame according to the page URLs. For example, to show control bar in admin pages.
Continue reading Rails: Structured LayoutI wrote the way to build structured layout in Rails.
You can use it when you want to use the same frame according to the page URLs. For example, to show control bar in admin pages.
Continue reading Rails: Structured LayoutThese days, I explain the difference between class and instance as follows.
Continue reading Difference between Class and InstanceMySQL の場合は MySQL: ダンプを保存せずにデータベースをコピー をご覧ください。
PostgreSQL のデータを移す際によくやるのは、 pg_dump
でダンプデータを取得・保存して、 psql
で流し込む方法です。
いちいちダンプファイルに保存するのも面倒なので、つなげてひとつのコマンドにしてみました。 ダンプファイルの保存は行いません。
Continue reading PostgreSQL: Copy Database without Saving Dump File2016年末、高速バスで東京から岐阜に移動したときにパーキングエリアから降りて見た富士山です。
Continue reading Dec 2016, Mt. Fuji View from the Parking Area