is there a way to access a model instance’s @new_record_before_save?
method? i haven’t been able to figure out how to write a reader for it.
an earlier post here suggested something like this:
before_save("@newly_saved? = new_record?; true")
but that raises an error on save:
SyntaxError: compile error
parse error, unexpected ‘=’
@newly_saved? = new_record?; true
any thoughts? thanks…