activescaffold/active_scaffold — Issue #89: [date_picker_bridge] NoMethodError
Author: korobkov
Created: 2011-11-16 15:07:33+00:00
State: open

Hello,
I have this issue just at any application render (any request), that seems to be related to AS javascript assets (date_picker_bridge.js):
```
undefined method `length' for #
(in /home/korobkov/work/devel/sql_olymp/.bundle/ruby/1.9.1/gems/active_scaffold-3.1.9/app/assets/javascripts/jquery/date_picker_bridge.js.erb)
```

```
.bundle/ruby/1.9.1/gems/active_scaffold-3.1.9/lib/active_scaffold/bridges/date_picker/helper.rb:41:in `date_options'
.bundle/ruby/1.9.1/gems/active_scaffold-3.1.9/lib/active_scaffold/bridges/date_picker/helper.rb:25:in `block in date_options_for_locales'
.bundle/ruby/1.9.1/gems/active_scaffold-3.1.9/lib/active_scaffold/bridges/date_picker/helper.rb:24:in `collect'
.bundle/ruby/1.9.1/gems/active_scaffold-3.1.9/lib/active_scaffold/bridges/date_picker/helper.rb:24:in `date_options_for_locales'
.bundle/ruby/1.9.1/gems/active_scaffold-3.1.9/lib/active_scaffold/bridges/date_picker.rb:13:in `localization'
.bundle/ruby/1.9.1/gems/active_scaffold-3.1.9/app/assets/javascripts/jquery/date_picker_bridge.js.erb:1:in `evaluate_source'
```

Does it always need localized month names in locale file?
May it be not picky about it? Or may be something else...