Tag Archives: rails

Carrierwave AWS – copying files from one model to another

We have already a working code for copying Carrierwave files from one model to another, however, it is only working for file based storage. For Amazon S3 storage, it is quite not working. Here is our old code: Every time … Continue reading

Posted in Ruby | Tagged , | Leave a comment

Rails 5 – Self Join belongs_to – entity must exist error

Wow, this is my first post for Ruby on Rails and Ruby in general! So what I’m trying to do is very simple: create a self join relationship for the user table like a parent/child relationship. However, Rails always complains … Continue reading

Posted in Ruby, Web Development | Tagged | 1 Comment