]> cat aescling's git repositories - mastodon.git/commit
Language detection defaults to nil (#3666)
authorMatt Jankowski <mjankowski@thoughtbot.com>
Fri, 9 Jun 2017 16:09:37 +0000 (12:09 -0400)
committerEugen Rochko <eugen@zeonfederated.com>
Fri, 9 Jun 2017 16:09:37 +0000 (18:09 +0200)
commit022008a2a6fb5fe872b04009e1029e2a904bafcc
treeb660e05c42166a38eb48b0daf095eb37fb79cf4c
parenta3715598cc888db462205d74a8b83e57e885dec8
Language detection defaults to nil (#3666)

* Default to nil for statuses.language

* Language detection defaults to nil instead of instance UI default
app/lib/language_detector.rb
app/models/status.rb
db/migrate/20170609145826_remove_default_language_from_statuses.rb [new file with mode: 0644]
db/schema.rb
spec/lib/language_detector_spec.rb