Re: Help refactoring

Dave Castellano
Wed, 03 Jul 2013 03:15:49 -0000

Dheeraj Kumar wrote in post #1114259:
> @formatted_question.each_pair do |key, value|
>    @formatted_question[key] = @question[:correct_anno] if value.length <
> 2
> end
>
> --
> Dheeraj Kumar

Thanks!!

--
Posted via http://www.ruby-forum.com/.

--
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to
rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To view this discussion on the web visit