Perfoming Count on AR Collection Returns "EXC_BAD_ACCESS"
Reported by Chris Lowder | December 7th, 2009 @ 01:20 PM
[[Model findAll] count]
Will return "EXC_BAD_ACCESS" (NB: adding a retain [[[Model findAll] retain] count] does not seem to solve the problem).
Comments and changes to this ticket
-
Fjölnir Ásgeirsson December 11th, 2009 @ 10:55 AM
- State changed from new to invalid
You'll need to provide more details on your implementation of 'Model' and a backtrace.
The method +findAll is tested in the unit tests, and at the time of last commit did not fail.
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 »
ActiveRecord is an insanely easy to use database framework written in objective-c It's obviously "inspired" by (copying) the infamous ActiveRecord that comes with Rails(http://rubyonrails.org) But it tries to be more versatile when it comes to working with multiple connections.