エントリーの編集
エントリーの編集は全ユーザーに共通の機能です。
必ずガイドラインを一読の上ご利用ください。
記事へのコメント0件
- 注目コメント
- 新着コメント
このエントリーにコメントしてみましょう。
注目コメント算出アルゴリズムの一部にLINEヤフー株式会社の「建設的コメント順位付けモデルAPI」を使用しています
- バナー広告なし
- ミュート機能あり
- ダークモード搭載
関連記事
ActiveModel::Model
Active Model Basic Model¶ ↑ Allows implementing models similar to ActiveRecord::Base. Includes Ac... Active Model Basic Model¶ ↑ Allows implementing models similar to ActiveRecord::Base. Includes ActiveModel::API for the required interface for an object to interact with Action Pack and Action View, but can be extended with other functionalities. A minimal implementation could be: class Person include ActiveModel::Model attr_accessor :name, :age end person = Person.new(name: 'bob', age: '18') pers

