📘 hkob-astro-notion-blog

これまではてなブログにて情報発信をしていましたが、令和5年3月22日より、こちらでの情報発信を始めました。2019年以前の古い記事は過去の Middleman 時代のものなので、情報が古いです。記録のためだけに残しています。

Rails 2/4

kurasus/gakuseis_controller の system spec - 不定期刊 Rails App を作る(28)

post-featured-image

この記事では、Railsのsystem specで学生に関連するテストを行う方法について解説しています。記事では、テストの失敗時にエラーをスクリーショットで表示する方法や、fill_inでtextareaにタブ区切りのデータを入力する際の注意点などが紹介されています。また、テストの結果の表示例も掲載されています。 (by Notion AI)

gakuseis コントローラの作成(4) - 不定期刊 Rails App を作る(27)

このブログ記事では、Railsアプリの開発において、gakuseisコントローラのdestroyとshowアクションを記述する方法について詳しく解説しています。また、これらのアクションに必要なRSpecのテストコードも紹介しています。記事の最後には、guardの結果も記載しています。注意事項として、この記事はMiddleman時代に書かれたものであり、現在の環境には適用されないことがあります。 (by Notion AI)

gakuseis コントローラの作成(3) - 不定期刊 Rails App を作る(26)

This blog post details the creation and modification of a gakuseis controller for a Rails application. It includes changes to the gakusei spec and controller, as well as the creation of an edit view. Please note that this post is old and may not be entirely relevant. (by Notion AI)

gakuseis コントローラの作成(2) - 不定期刊 Rails App を作る(25)

This blog post discusses the creation of a gakuseis controller, including the gakusei spec and controller's new and create methods. It also includes information on how to create locale strings and the results of the guard test. Please note that this is an old post and should not be used as a reference. (by Notion AI)

gakuseis コントローラの作成(1) - 不定期刊 Rails App を作る(24)

This article describes the process of creating a controller for a Rails app, including the necessary steps to add it to the app and create a corresponding view. The article also includes code snippets and instructions for creating and modifying tests and locales. (by Notion AI)

gakusei モデルの作成 - 不定期刊 Rails App を作る(23)

この記事では、Ruby on Rails アプリケーションにおける gakusei モデルの作成手順が説明されています。モデルの作成から、データベースのマイグレーションや単体テストの実装まで、詳細に解説されています。記事の最後には、Notion AI によって作成されたことが示されています。

milligram の導入 - 不定期刊 Rails App を作る(22)

この記事では、Railsアプリケーションにmilligramを導入する方法について説明されています。記事では、yarnを使ってmilligramをインストールする手順や、ログイン画面を見せるためのスクリーンショットが掲載されています。この記事はMiddleman時代に書かれたもので、古い情報も含まれているため、参考にする際には注意が必要です。(by Notion AI)

kurasus_controller の system spec - 不定期刊 Rails App を作る(21)

This blog post describes setting up system specs using Capybara and RSpec for a Rails application. It includes instructions on how to configure the Gemfile, how to write tests for class creation, editing, deletion, and display, and how to troubleshoot any issues that arise. (by Notion AI)

request spec の雛形準備 - 不定期刊 Rails App を作る(20)

この記事では、RSpecを使ったリクエストスペックの雛形作成方法について解説しています。RSpecに慣れていない人でも、ここに示す手順に従えば簡単に雛形を作成できます。また、kurasus_controller.rbに対して作成したリクエストスペックをベースに、テンプレートを作成する方法も紹介しています。 (by Notion AI)

kurasus_controller の request spec(4) - 不定期刊 Rails App を作る(19)

「kurasus_controller の request spec(4) - 不定期刊 Rails App を作る(19)」は、Rails を使用した不定期刊の Web アプリケーションの開発過程を記録したブログ記事です。この記事では、RSpec と Rails を使用して、destroy と show のテストを行い、実装する方法について説明しています。(by Notion AI)