help! what does deep_symbolize_keys mean?

47 views
Skip to first unread message

Jensen Vang

unread,
Feb 17, 2015, 7:52:52 AM2/17/15
to rubyonra...@googlegroups.com
help! what does this means? undefined method `deep_symbolize_keys' for "":String

Anuj Dutta

unread,
Feb 17, 2015, 8:17:58 AM2/17/15
to rubyonra...@googlegroups.com
Hi,

It means the method 'deep_symbolize_keys' isn't defined for an instance of a String. 'deep_symbolize_keys' is used for hashes. Google to use use cases.

Hope it helps.

Anuj

On 17 February 2015 at 12:52, Jensen Vang <jense...@gmail.com> wrote:
help! what does this means? undefined method `deep_symbolize_keys' for "":String

--
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.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/409316c6-7a22-44cf-870e-67ac0732b676%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
Anuj DUTTA

Suggestion.io
Product suggestion wizards for e-commerce!

Track news and never miss an update!

Humble abode

Consultancy

Colin Law

unread,
Feb 17, 2015, 8:29:55 AM2/17/15
to rubyonra...@googlegroups.com
On 17 February 2015 at 12:52, Jensen Vang <jense...@gmail.com> wrote:
> help! what does this means? undefined method `deep_symbolize_keys' for
> "":String

It probably means you have done something like passing a string
parameter when a hash is expected.

Colin
Reply all
Reply to author
Forward
0 new messages