I am using active model for payment process in my application , i am
not able to add field for date field, since it throws error as below
undefined method `card_expiration_date(3i)=’.
** include ActiveModel::Validations
<%=f.date_select :card_expiration_date, :add_month_numbers => false,:discard_day => true, :start_year => (Date.today.year-10), :end_year => (Date.today.year+10),:order=>[ :month,:year] %>
Any help would be appreciated.