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
and I fixed these by adding :importing symbol to the attr_accessible as below:
[globodns@globodns globodns]$ git diff app/models/soa.rb
diff --git a/app/models/soa.rb b/app/models/soa.rb
index ea3db33..5e0670a 100644
--- a/app/models/soa.rb
+++ b/app/models/soa.rb
@@ -38,7 +38,7 @@ class SOA < Record
before_validation :set_content
after_initialize :update_convenience_accessors
- attr_accessible :domain_id, :type, :name, :ttl, :prio, :content, *ACCESSIBLE_SOA_FIELDS
+ attr_accessible :domain_id, :type, :name, :ttl, :prio, :content, *ACCESSIBLE_SOA_FIELDS, :importing
# this allows us to have these convenience attributes act like any other
# column in terms of validations
I have been trying to use GloboDns for my site. but I found that there were some warnings during run importer script.
the warnings were:
and I fixed these by adding :importing symbol to the attr_accessible as below:
I appreciated if you apply these on the codes of the develop branch
The text was updated successfully, but these errors were encountered: