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
I have a method init in my Role model, which I call via after_initialize. After upgrading to rolify 5.3.0, I get an exception when I refer to name there:
ActiveModel::MissingAttributeError: missing attribute: name
I have a method
init
in my Role model, which I call viaafter_initialize
. After upgrading to rolify 5.3.0, I get an exception when I refer toname
there:I tracked the problem to be in this line:
rolify/lib/rolify/adapters/active_record/resource_adapter.rb
Line 29 in 332fbd2
I'm not sure this is actually an issue with rolify, but previously (without the
to_a
) all was fineThe text was updated successfully, but these errors were encountered: