Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
ダーティなリソースのプロパティのリストを取得する方法を覚えていると思いますが、その方法がどこにも見つからないようです。
では、ダーティ プロパティの配列を返す方法はありますか?
dirty_attributes
これでうまくいくはずです:
http://rubydoc.info/github/datamapper/dm-core/master/DataMapper/Resource#dirty_attributes-instance_method