carrierwaveuploader/carrierwave — pull request #1229 by meetme2meat (2013-09-29 09:32:09+00:00)
Title: Using Custom Error Message for CarrierWave seem to not go well with Rails 4

There seem to be some problem is rails 4 requiring the carrierwave locale seem to always load after the application specific locales resulting the issue when want to use Custom Error Message for carrierwave

Please reference the following [post]
(http://stackoverflow.com/questions/19068821/custom-error-message-for-carrierwave-0-9-0-doesnt-work-for-rails-4)

The Commit ensure that CarrierWave locale are loaded before the application specific locales

BEFORE
```ruby
/Users/joshianiket22/.rvm/gems/ruby-1.9.3-p327@rails3_2/gems/activesupport-3.2.11/lib/active_support/locale/en.yml
/Users/joshianiket22/.rvm/gems/ruby-1.9.3-p327@rails3_2/gems/activemodel-3.2.11/lib/active_model/locale/en.yml
/Users/joshianiket22/.rvm/gems/ruby-1.9.3-p327@rails3_2/gems/activerecord-3.2.11/lib/active_record/locale/en.yml
/Users/joshianiket22/.rvm/gems/ruby-1.9.3-p327@rails3_2/gems/actionpack-3.2.11/lib/action_view/locale/en.yml
/Users/joshianiket22/workspace/zenjavi/carrierwave_tester/config/locales/en.yml
/Users/joshianiket22/.rvm/gems/ruby-1.9.3-p327@rails3_2/gems/carrierwave-0.8.0/lib/carrierwave/validations/../locale/en.yml
```

AFTER FIX
```ruby
/Users/joshianiket22/.rvm/gems/ruby-1.9.3-p327@rails3_2/gems/activesupport-4.0.0/lib/active_support/locale/en.yml
/Users/joshianiket22/.rvm/gems/ruby-1.9.3-p327@rails3_2/gems/activemodel-4.0.0/lib/active_model/locale/en.yml
/Users/joshianiket22/.rvm/gems/ruby-1.9.3-p327@rails3_2/gems/activerecord-4.0.0/lib/active_record/locale/en.yml
/Users/joshianiket22/.rvm/gems/ruby-1.9.3-p327@rails3_2/gems/actionpack-4.0.0/lib/action_view/locale/en.yml
/Users/joshianiket22/.rvm/gems/ruby-1.9.3-p327@rails3_2/gems/carrierwave-0.9.0/lib/carrierwave/locale/en.yml
/Users/joshianiket22/carrierwave_tester/config/locales/en.yml
```ruby

As per the reason why this is happening I stilling looking in rails the exact reason for this

Regards