You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
...my test kept failing. It appeared as if the TranslationsController was being ignored. The locale was never set, but the application views still loaded. After lots of trial and error, I came across this post:
It looked as if the example was using a method that has now been removed from Rails. When I changed before_filter to before_action, everything worked. Could the example article be updated?
The text was updated successfully, but these errors were encountered:
When I tried to go through the steps in the example...
http://collectiveidea.com/blog/archives/2016/05/31/beyond-yml-files-dynamic-translations/
...my test kept failing. It appeared as if the TranslationsController was being ignored. The locale was never set, but the application views still loaded. After lots of trial and error, I came across this post:
https://stackoverflow.com/questions/16519828/rails-4-before-filter-vs-before-action
It looked as if the example was using a method that has now been removed from Rails. When I changed before_filter to before_action, everything worked. Could the example article be updated?
The text was updated successfully, but these errors were encountered: