📘 hkob-astro-notion-blog

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

Rails 3/4

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

This blog post discusses the implementation of request specs for a Rails app. Specifically, it covers testing and implementing the edit and update actions for a kurasus_controller. The post includes code snippets and output from running the tests. (by Notion AI)

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

「kurasus_controller の request spec(2) - 不定期刊 Rails App を作る(17)」は、Railsアプリケーションの開発におけるrequest specの書き方について書かれた記事です。具体的には、newとcreateのリクエストをテストする方法について解説しています。この記事はastro-notion-blogに掲載されたものです。(by Notion AI)

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

This article discusses the setup of request spec for the kurasus_controller in a Rails app. It covers the creation of the kurasus_controller and integration_test, as well as the preparation of the test environment. The article also includes detailed steps for testing the /kurasus page and setting up teacher login in integration tests. Please note that this article was written during the Middleman era and is being migrated for archival purposes. (by Notion AI)

Kurasu モデルのテストと実装 - 不定期刊 Rails App を作る(15)

このブログページでは、Railsアプリを開発する上でのファクトリー、RSpec、およびRailsに関する情報が含まれています。kurasu_spec.rbとkurasu.rbを修正する方法について詳しく説明します。この記事は古いものであり、参考にする際は注意してください。(by Notion AI)

spec template の設置と Kurasu モデルの作成 - 不定期刊 Rails App を作る(14)

「不定期刊 Rails App を作る(14)」では、RSpec と FactoryBot を使ったモデルのテストについて説明しています。具体的には、spec ファイルのテンプレートの設置や Kurasu モデルの作成方法などを解説しています。記事の最後には、Middleman 時代に書かれた記事であることを示す注意書きがあります。 (by Notion AI)

FactoryBot とRSpec によるテスト(2) - 不定期刊 Rails App を作る(13)

This blog post discusses using FactoryBot and RSpec to test a Rails app, with a focus on the Teacher model. It includes a sample test file, code snippets, and explanations of the testing process. Please note that this post was written in the Middleman era and is for reference only. (by Notion AI)

FactoryBot とRSpec によるテスト(1) - 不定期刊 Rails App を作る(12)

この記事では、FactoryBotとRSpecを使ってモデルのテストを簡単にする方法について紹介しています。また、key based FactoryBotの設定方法や共通exampleの作成方法についても詳しく説明しています。この記事は、2018年11月20日に投稿され、ImageExportedがYes、TagsがFactoryBot、RSpec、Railsであることがわかります。(by Notion AI)

devise の日本語化 - 不定期刊 Rails App を作る(11)

post-featured-image

This blog post discusses how to localize the devise gem for a Rails application. The post provides step-by-step instructions for translating messages, models, and views into Japanese, as well as the benefits of using locale files for translations. Please note that this is an older post and may not be entirely up-to-date. (by Notion AI)

devise の設定(2) - 不定期刊 Rails App を作る(10)

post-featured-image

This blog post discusses the implementation of a user authentication system using devise in a Rails application. It covers the modification of views to include additional fields, the registration of strong parameters, and the installation of rails-ujs to enable Javascript functionality. Please note that this is an older post and may not be entirely relevant. (by Notion AI)

devise の設定(1) - 不定期刊 Rails App を作る(9)

この記事は、Railsアプリを作成するためのプロセスの一部として、deviseを使用してログイン機能を実装する方法について説明しています。記事は古く、Middleman時代に書かれたものですが、記録のためにastro-notion-blogに移行されました。 (by Notion AI)