So I'm dealing with an interesting but probably simple issue. Working on some Rails 2 stuff that was written by someone who has long been out of reach so I've been dusting it off on my own.
Someone who reviewed this said that since I use I18n and scope everything behind a locale that the routes are having trouble extracting the information needed which is to display a simple form in a modal. I'm not sure how to fix that because it's my first time dealing with internationalization. But I noticed that all the routes that have to do with this app are wrapped inside a code block:
scope "(:locale)", :locale => /en|pt/ do
Here's a GIST of the relevant pieces to this puzzle:
Join 30,005+ developers who get early access to new screencasts, articles, guides, updates, and more.