New issue
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
acts_as_taggable not populating :tag_list field #3015
Comments
please do this in your active admin resource: controller do
def update
super
puts @partner_benefit.inspect
puts params
end
end |
I’m going to close this since you haven’t responded. Please feel free to update this issue with additional information so it can be reconsidered. |
Sorry for the epic delay on this - I added that in but what should I expect to see? |
After 2 month, I don't know why I ask that. Please Post that result and I reopen the issue and take a look on it. |
It seems that the tags are committed correctly on update, and if I just use
a multiple select box with the correct tags is shown; it's just the tag_list method that seems to be blank |
acts_as_taggable seems to be working correctly everywhere else but activeadmin, and confusingly does work for other models but not one called "PartnerBenefit". So it can only be an ActiveAdmin bug, or something dumb I'm doing wrong.
When words separated by commas are entered into the tag_list field they are parsed and saved successfully, but when I return to edit the PartnerBenefit, the tag_list field is blank (and so saving again just removes the tag associations).
In my aa file:
IN my model:
Any ideas?
The text was updated successfully, but these errors were encountered: