infinitered / cdq

Core Data Query for RubyMotion
MIT License
172 stars 35 forks source link

Transformable not being updated if set from variable #134

Open doutatsu opened 8 years ago

doutatsu commented 8 years ago

I've been trying to find a workaround for ages, as updating a Transformable from a variable doesn't work, as in this works:

@new_alarm.repeated = [1,2,3]
cdq.save

but not this:

arr = [1,2,3]
@new_alarm.repeated = arr
cdq.save

Is this a bug or I am doing something wrong?!