
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?
end
Comments and changes to this ticket
-
Dan Kubb (dkubb) October 24th, 2010 @ 01:42 PM
- State changed from new to resolved
(from [44d8473b04a8340dc21e35c4ceb62d0af82cda96]) #new_record? is deprecated, use #new? instead
[#1432 state:resolved] http://github.com/datamapper/dm-is-nested_set/commit/44d8473b04a834...
-
Martin Gamsjaeger (snusnu) October 24th, 2010 @ 02:05 PM
- Milestone set to 1.1
- Assigned user set to Martin Gamsjaeger (snusnu)
- Milestone order changed from 196299 to 0
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.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile »
People watching this ticket
Referenced by
-
1432 Model#new_record? is deprecated @ dm-is-nested-set [#1432 state:resolved] http://github.com/datamapper/dm-i...