timcharper / calendar_date_select

A previously popular but no longer maintained JavaScript DatePicker for RubyOnRails (and others)
http://code.google.com/p/calendardateselect/
Other
409 stars 179 forks source link

@[] is not allowed as an instance variable name #47

Closed NeelaveniT closed 7 years ago

NeelaveniT commented 7 years ago

In My code : <%= calendar_date_select "project_effective_hour[from_date]",@project_effective_hour.from_date||Date.today,:popup=> 'force',:class => 'input-text'%>

Output : `@project_effective_hour[from_date]' is not allowed as an instance variable name

Kindly help me to resolve this issue.

marcandre commented 7 years ago

This library is not actively maintained. Only pull requests that are clearly well written are accepted.

NeelaveniT commented 7 years ago

The previous code in rails Rails 2.3.8 ,they use calendar_date_select_tag for calendar. But I migrate the code to rails 4.2.7 ,so I wish to use calendar_date_select. Kindly help me,how to use it and how to include in view.