#1432 ✓resolved

Model#new_record? is deprecated @ dm-is-nested-set

Reported by mark | October 12th, 2010 @ 03:37 PM | in 1.1

This one is pretty much self-explanatory.

Category#new_record? is deprecated, use Category#new? instead (/Users/mark/.rvm/gems/ruby-1.9.2-p0/gems/dm-is-nested_set-1.0.2/lib/dm-is-nested_set/is/nested_set.rb:294:in `root?'

The code:

    # check if this node is a root
    def root?
      !parent && !new_record?

Comments and changes to this ticket

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

Referenced by