I am converting my app from Rails 2 to Rails 3 and I'm using JSON to parse text. Now, I never had to require anything in Rails 2, so I suppose JSON was built in. However, Rails 3 can't find it by default (uninitialized constant), so seem to have to manually require it. Any ideas where should I find it? That is, what path/filename should I require?
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 post to this group, send email to rubyonrails-t...@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.