Closed phuwanart closed 11 years ago
I have generated with this command:
$ rails generate redactor:install --devise
First it not add :user_id in migration, OK it not a problem I add by manual but I upload picture all upload file is not store :user_id.
:user_id
I found a problem is
RedactorRails.picture_model.respond_to?(:user_id)
is false
false
I try in console every Model is return false in respond_to? method.
respond_to?
I missed something, please suggest me.
I have generated with this command:
First it not add
:user_id
in migration, OK it not a problem I add by manual but I upload picture all upload file is not store:user_id
.I found a problem is
is
false
I try in console every Model is return false in
respond_to?
method.I missed something, please suggest me.