Because :foo != 'foo'

The fact that the params hash doesn't care is an exception

Sent from my iPhone

On 27 Dec 2008, at 23:01, David Sousa <rails-mailing-l...@andreas- 
s.net> wrote:

>
> Short version of the problem:
>
> Why this works
>   session[:sub_menu].fetch(:stock)
> and this don't?
>   session[:sub_menu].fetch("stock")
>
>
> thanks
>
> David Sousa
> -- 
> 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 post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to