2018-08-03から1日間の記事一覧

Rails (Action Mailer) で複数のファイルを添付する方法

結論 attachments*1 のキーと値を複数定義すればよいです。 実例 attachments['foo.txt'] = File.read('tmp/hello_world.txt') attachments['bar.txt'] = File.read('tmp/hello_ruby.txt') attachments['foobar.txt'] = File.read('tmp/hello_rails.txt') こ…

Google Analytics で「ランディング ページ」と「ランディング スクリーン」の見た目上の違い

結論 https://www.example.com/foo/bar.html へのランディングに対して「ランディング ページ」と「ランディング スクリーン」の結果は以下のようになる。 ランディング ページ /foo/bar.html ランディング スクリーン www.example.com/foo/bar.html 定義 定…

Powered by はてなブログ