Railsのscopeを読む
Railsのscopeのソースコードを読んでいきます。 u = User.new(name: 'sample name') scopeを読んでいくために、上記のようなオブジェクトをサンプルとして...
2
1
Comment0
2 search resultsShowing 1~2 results
You need to log-in
Railsのscopeのソースコードを読んでいきます。 u = User.new(name: 'sample name') scopeを読んでいくために、上記のようなオブジェクトをサンプルとして...
Railsのソースコードを読みます。 enumに関して class User < ApplicationRecord binding.pry enum status: { active: ...
2 search resultsShowing 1~2 results
Qiita is a knowledge sharing service for engineers.