@MohabGhanim <https://github.com/MohabGhanim> I have done like you said in
the instructions, however I get this error : "Couldn't find
TrackProgression with id=1"



On Fri, Apr 18, 2014 at 2:21 PM, Mussab ElDash <notifications@github.com>wrote:

> In tutor/app/models/student.rb:
>
> >
> > +	#Methods
> > +	# [Problem Assined - Story 5.5]
> > +	# Returns a Hash containing the next problem to solve in each course - topic - track
> > +	# Parameters: None
> > +	# Returns: A Hash of key as 'Course-Topic-track' and value as a Problem model instance
> > +	# Author: Mohab Ghanim (Modified from Rami Khalil's Story 3.9)
> > +	def get_next_problems_to_solve
> > +		next_problems_to_solve = Hash.new
> > +
> > +		courses.each do |course|
> > +			course.topics.each do |topic|
> > +				level = TrackProgression.get_progress(self.id, topic.id)
> > +
> > +				topic.tracks.each do |track|
> > +						if(track.difficulty == level)
>
> From 68 to 77 has an extra tab
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/alaashafaee/Coolsoft-14/pull/246/files#r11770312>
> .
>