bborn/communityengine — Issue #51: Problem with date_selecte: can't convert symbol into string
Author: mdudda
Created: 2012-01-27 13:53:15+00:00
State: open

Hey guys!
I hope you can help me.

My locale is set to de-DE.
I get the following error while opening my rails app in the browser:
www.mycommunity.com/singup

[BEGIN]
TypeError in Users#new

Showing /usr/local/lib/ruby/gems/1.9.1/bundler/gems/communityengine-8b58293213d7/app/views/users/new.html.haml where line #41 raised:

can't convert Symbol into String

Extracted source (around line #41):

38: =:birthday.l
39: \:
40: %em=:required_you_must_be_at_least_years_old_to_sign_up.l_with_args(:min_age => configatron.min_age)
41: = date_select :user, :birthday
42:
43: -if configatron.require_captcha_on_signup
44: .right{:style => 'margin-top:2em;'}= recaptcha_tags
[END]

I tried those :order workaround i've found on google but that does't seem to solve the problem.
When I set the locale to 'en' it works like a charm.