jgraichen/rails-timeago — pull request #6 by chloerei (2012-06-24 10:36:19+00:00)
Title: When do not set Rails::Timeago.locales, it will not precompile locales

I see

```ruby
def self.locales
@locales ||= []
end
```

`locales` will not be nil, then `elsif ::Rails::Timeago.locales.nil?` will never execute.

Btw, I found all spec is fail, it throw

```ruby
Rails::Timeago::Helper#timeago_tag should allow to override global options
Failure/Error: @stub.timeago_tag(time, :format => :long).
I18n::MissingTranslationData:
translation missing: tlh.time.formats.long
# ./lib/rails-timeago/helper.rb:42:in `timeago_tag'
# ./spec/timeago/helper_spec.rb:78:in `block (3 levels) in '
```