1. Rails 2.1
2. Globalite master from git
3. Any locale
time_ago_in_words(Time.current) works.
time_ago_in_words(@active_record_model.created_at) gives me an error:
ActionView::TemplateError (wrong number of arguments (2 for 1))
vendor/plugins/globalite/lib/rails/localized_action_view.rb:31:in `format'
Does anyone else have this problem? It only happens with activerecord objects.
Their 'time'
method returns an ActiveSupport::TimeWithZone, but that should not be a
problem. When I
remove globalite, it works.
Original issue reported on code.google.com by joost%sp...@gtempaccount.com on 9 Aug 2008 at 10:06
Original issue reported on code.google.com by
joost%sp...@gtempaccount.com
on 9 Aug 2008 at 10:06