Jbuilder rails/jbuilder: Jbuilder: generate JSON objects with a Builder-style DSL – GitHub Documentation […]
カテゴリー:Ruby on Rails
ルーティング (routes) [Rails]
Rails におけるルーティング Rails のルーティング | Rails ガイド [公式] Rails のルーティング | Rails 日本語ドキュメント (Ruby STUDIO) 使い方 Rails のルーティン […]
ActiveSupport::Autoload の使い方 [Rails]
ActiveSupport::Autoload ActiveSupport::Autoload | Ruby on Rails API [Official] 使い方 自動読み込みしたい定数を定義するモジュールで内でext […]
rack-mini-profiler でパフォーマンスの解析をする方法 [Rails]
rack-mini-profiler MiniProfiler/rack-mini-profiler: Profiler for your development and production Ruby rack app […]
クエリ [Rails]
クエリ Active Record クエリインターフェイス | Rails ガイド [公式] ActiveRecord::QueryMethods | Ruby on Rails API [Official] 使い方 R […]
ActiveSupport::Concern [Rails]
ActiveSupport::Concern ActiveSupport::Concern の存在理由 – Qiita ActiveSupport::Concern とは – Qiita Acti […]
モデルのデータを CSV として出力する方法 [Rails]
モデルのデータを CSV として出力する方法 Rails4 になって csv が出力しやすくなった – Qiita CSV / Excel データを出力機能作成まとめ (View / Controller / […]
環境変数を使う方法 (dotenv) [Rails]
環境変数を使う方法 (dotenv) ローカルにおける開発時 → .env で環境変数を定義する サーバーへのデプロイ時 → .bash_profile で環境変数を定義する dotenv .env ファイルに定義された […]
エラー処理/エラーページ [Rails]
エラー処理 Rails で 404 / 500 エラーの処理 – Qiita Rails で 404 エラーメッセージを出すために – Qiita 404 / 500 などのエラーページって結局ど […]
RSpec でコントローラーをテストする方法 [Rails]
コントローラーのテスト コントローラの機能テスト | Rails ガイド [公式] RSpec on Rails コントローラとビュー編 | Rubyist Magazine (るびま) 書き方 Rspec でコントロー […]