Are you calling has_attached_file correctly in the model itself?
I had ruby โโ(1.9.3), Rails (4.0.1), clip (3.5.2) and rails_admin (0.5.0), working without errors. Then I created a new model. He had all the usual staple columns and they should have worked. But I got the same error message.
My problem (duh) was that I neglected setting paperclip in the model itself, but had paperclip columns in my schema. I did not call has_attached_file ... in my model.
has_attached_file :img...
I involuntarily recall that rails_admin sniffs some cigarette bells and acts on it. Thus, I had clips similar to the columns that rails_admin detected but never called has_attaached_file, which led to an error. And this error makes sense, in fact there were no descriptions of "attachment_definitions"!
Tyler kasten
source share