You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi I am gettin the above error all of a sudden. My app was working fine. I have included the permisions code. The rest of the app is working. I could never edit my permissions however.
@hiddenfile Thanks you for opening this issue and explain reproduce process. I appreciate to your work. Currently I don't use ActiveAdmin. If you could do, please open a pull request to fix this bug.
@quietwar I can reproduce this issue with the information you provided. Could you please update your bundle and check if this still happen ?
@yhirano55 I have bundled using active_admin_role_sample with Ruby 5.2.3, Rails 5.2.1, active_admin_role 0.2.1, activeadmin 2.0.0 (not alpha but release e80a629 from April 25, 2019) and it just worked fine.
Activity
hiddenfile commentedon May 3, 2019
status_tag (record.can? ? 'yes' : 'no'), label: record.state
https://activeadmin.info/12-arbre-components.html#status-tag
yhirano55 commentedon May 5, 2019
@hiddenfile Thanks you for opening this issue and explain reproduce process. I appreciate to your work. Currently I don't use ActiveAdmin. If you could do, please open a pull request to fix this bug.
yhirano55 commentedon May 6, 2019
@luilver Please check this bug and fix it, if you could 🙏
luilver commentedon May 6, 2019
@yhirano55 already working on it !
luilver commentedon May 6, 2019
@quietwar I can reproduce this issue with the information you provided. Could you please update your bundle and check if this still happen ?
@yhirano55 I have bundled using active_admin_role_sample with Ruby 5.2.3, Rails 5.2.1, active_admin_role 0.2.1, activeadmin 2.0.0 (not alpha but release e80a629 from April 25, 2019) and it just worked fine.
Ammypka commentedon Apr 8, 2022
There was a similar problem, a small change in the code helped:
From:
status_tag(record.state, record.can? ? :ok : nil)To:
status_tag(record.can? ? :yes : :grey, label: record.state)P.S.
:yes - used for change color
:grey - used as cork