We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
activerecord:
redactor-rails/lib/redactor-rails/orm/active_record.rb
Line 18 in 3dead6a
controller: https://github.com/SammyLin/redactor-rails/blob/master/app/controller/redactor_rails/pictures_controller.rb#L6
the logic of above code, looks like must with association with assets table. any idea to skip this for public assets.
The text was updated successfully, but these errors were encountered:
I've just worked around this by adding
private def user end
in my RedactorRails::Asset model to hide the association that AssetBase implements. Seems to work ok.
RedactorRails::Asset
Sorry, something went wrong.
No branches or pull requests
activerecord:
redactor-rails/lib/redactor-rails/orm/active_record.rb
Line 18 in 3dead6a
controller:
https://github.com/SammyLin/redactor-rails/blob/master/app/controller/redactor_rails/pictures_controller.rb#L6
the logic of above code, looks like must with association with assets table. any idea to skip this for public assets.
The text was updated successfully, but these errors were encountered: