translates
are missing from Model.attribute_names
:O
translates
line, the columns suddenly appear back in the list
I18n.with_locale :sv
when I create the translation table with migrate_data set to true. How come?
Hi, I'm trying to sort with fallbacks but it doesn't seem to work.
If I have something like:
class Test < ActiveRecord::Base
translates :name
end
// application.rb
config.i18n.fallbacks = true
Globalize.fallbacks = { en: :pt}
I18n.locale = :pt
Test.order(:name)
This won't show the Test that have no name in :pt
have_db_column
tests to fail. Perhaps, I just don't understand fully how Globalize operates.