We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I am using activerecord-typedstore (0.4.3)
activerecord-typedstore (0.4.3)
date_select form helper does not save data properly (display is ok).
date_select
http://api.rubyonrails.org/classes/ActionView/Helpers/DateHelper.html#method-i-date_select
class Foobar < ActiveRecord::Base typed_store :data, coder: DumbCoder do |s| s.date :birthdate end end
<%= form_for @foobar do |f| %> <%= f.date_select :birthdate %> <%= f.submit %> <% end %>
ActiveRecord::MultiparameterAssignmentErrors - 1 error(s) on assignment of multiparameter attributes [error on assignment [1989, 3, 24] to birthdate (undefined method `klass' for nil:NilClass)]: activerecord (4.0.4) lib/active_record/attribute_assignment.rb:79:in `execute_callstack_for_multiparameter_attributes' activerecord (4.0.4) lib/active_record/attribute_assignment.rb:63:in `assign_multiparameter_attributes' activerecord (4.0.4) lib/active_record/attribute_assignment.rb:34:in `assign_attributes' activerecord (4.0.4) lib/active_record/core.rb:468:in `init_attributes' activerecord (4.0.4) lib/active_record/core.rb:185:in `initialize' ...
It works well with a plain old date attribute.
Thanks for your work 🌻
The text was updated successfully, but these errors were encountered:
Failing test case for #15
b2dfcaa
Attemp to fix #15
9454eb7
Successfully merging a pull request may close this issue.
I am using
activerecord-typedstore (0.4.3)
date_select
form helper does not save data properly (display is ok).http://api.rubyonrails.org/classes/ActionView/Helpers/DateHelper.html#method-i-date_select
It works well with a plain old date attribute.
Thanks for your work 🌻
The text was updated successfully, but these errors were encountered: