Re: @new_record_before_save

Philip Hallstrom
Tue, 12 May 2009 18:35:08 -0000

> Is there an easy way to access the ActiveRecord
> @new_record_before_save attribute?

Maybe...

 >> u = User.new
 >> u.new_record?
=> true