Rails - include a module without using the word include

前端 未结 0 628
不思量自难忘°
不思量自难忘° 2021-01-31 01:44

I noticed in the audited gem you can do this:

class User < ActiveRecord::Base
  # All fields
  # audited

  # Single field
  # audited only: :name

  # Multipl         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题