
--
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-ta...@googlegroups.com.
To post to this group, send email to rubyonra...@googlegroups.com.
I was doing it wrong.session[:new] = [1, 2, 3, 4]session[:new].delete(1).to_i (Here I was not converting into integer).
On 26 March 2013 14:44, avinash behera <aavinas...@gmail.com> wrote:
I was doing it wrong.session[:new] = [1, 2, 3, 4]session[:new].delete(1).to_i (Here I was not converting into integer).do you mean delete(1.to_i) ?