For full functionality of this site it is necessary to enable JavaScript. Here are the instructions how to enable JavaScript in your web browser.
For full functionality of this site it is necessary to enable JavaScript. Here are the instructions how to enable JavaScript in your web browser.
:clear_after_save => trueãæå®ããã¨ãsaveå¾ã¯modified?ãtrueãããªããªãã person = Person.find(:first) person.age # 100 person.age = 10 person.age_modified? # true person.original_age # 100 person.modified_attributes # {:age => 100} # restore person.restore_attributes :only => :age person.age # 100 # clear person.clear_original_attributes :only => :age # dbã¨æ¯è¼ person.modified?(:reload) # true
ã©ã³ãã³ã°
ã©ã³ãã³ã°
ã©ã³ãã³ã°
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}