can't convert Symbol into String using date_select #273

Closed
enricostano opened this Issue Nov 2, 2012 · 3 comments

Projects

None yet

3 participants

@enricostano

in my view I have:

<%= f.date_select :start %>

I know that it's related to it.date.order rule, but I see that rails-i18n include it:
https://github.com/svenfuchs/rails-i18n/blob/master/rails/locale/it.yml#L51

what's wrong here?

EDIT: full back trace https://gist.github.com/4007557

EDIT 2: other translations included in rails-i18n/rails/locale/it.yml just work, it seems that only it.date.order doesn't.

EDIT 3: running I18n.t 'date.order' in the console give me => [:day, :month, :year]. That it's correct... so why date_select doesn't works?

thanks

@digitalfrost
Collaborator

@enricostano - you need to add

gem 'rails-i18n', '~> 3.0.0.pre'

to your Gemfile and run bundle install.

@kuroda - you can close this ticket.

@kuroda kuroda closed this Aug 19, 2013
@enricostano

thanks! I'll try this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment