rubymotion-community / sugarcube

Some sugar for your cocoa. RubyMotion helpers.
Other
421 stars 66 forks source link

undefined method `days' #204

Closed ghost closed 9 years ago

ghost commented 9 years ago

2015-08-05 22:37:54.916 9.01 playingaudio[39954:1027409] nsdate.rb:260:in start_of_week:': undefined methoddays' for 2:Fixnum (NoMethodError) from SinglesTableController.rb:121:in tableView:cellForRowAtIndexPath:' 2015-08-05 22:37:54.920 9.01 playingaudio[39954:1027409] *** Terminating app due to uncaught exception 'NoMethodError', reason: 'nsdate.rb:260:instart_of_week:': undefined method days' for 2:Fixnum (NoMethodError) from SinglesTableController.rb:121:intableView:cellForRowAtIndexPath:' '

keep getting this error when trying to use the method `start_of_week:':

colinta commented 9 years ago

Hmm, try requiring the sugarcube-numbers package.

ghost commented 9 years ago

ok ill give it a shot

ghost commented 9 years ago

worked fine cheers

colinta commented 9 years ago

Nice! Anything else? Please close the issue if it’s resolved.

On Aug 5, 2015, at 4:01 PM, mytrackz notifications@github.com wrote:

worked fine cheers

— Reply to this email directly or view it on GitHub https://github.com/rubymotion/sugarcube/issues/204#issuecomment-128162613.