-
-
Notifications
You must be signed in to change notification settings - Fork 3.3k
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
undefined method `persisted?' for #<ParentLocality::ActiveRecord_Relation:0x007fa4b89bac58> #4752
Comments
Please post the admin file of the related source |
Also, your activeadmin version is more than two years old. Could you try upgrading? See https://github.com/activeadmin/activeadmin/wiki. |
@snmmaurya you are on 2 years old activeadmin (7aef260921d4), please upgrade if you are start to use latest rails version. |
I tried to update activeadmin, but did not get any success |
Here is my code -
|
---- My model Code:--
|
Please upgrade AA. There's an upgrade document in the wiki that can help. |
I tried after update but did not work. I put a temporary fix inside admin/parent_locality.rb. Its not correct way, but working fine. #Temporary fix of exception
|
@snmmaurya Since you've workaround the issue, I'm going to close this. Feel free to reopen with reproduction steps if you want this fixed inside AA! |
I am facing this error at the time of edit and view.
Here error trace:
The text was updated successfully, but these errors were encountered: