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
Hi, Ijust followed your readme, and after adding the line
just_define_datetime_picker :date, :add_to_attr_accessible => true
in my model, I get
undefined method 'attr_accessible' for #<Class:0x007fc574bfa838> Did you mean? attr_accessor
I'm using Rails 4.2.6 and ruby 2.3.1
The text was updated successfully, but these errors were encountered:
Hi, late answer but it may still help, if I am correct, there is no mass assignment as from Rails 4.1.
Your attribute :date should just be listed in your strong parameters, you can delete , :add_to_attr_accessible => true.
:date
, :add_to_attr_accessible => true
works fine this way for my project ;)
Sorry, something went wrong.
No branches or pull requests
Hi, Ijust followed your readme, and after adding the line
just_define_datetime_picker :date, :add_to_attr_accessible => true
in my model, I get
undefined method 'attr_accessible' for #<Class:0x007fc574bfa838> Did you mean? attr_accessor
I'm using Rails 4.2.6 and ruby 2.3.1
The text was updated successfully, but these errors were encountered: