Quantcast
Channel: BlogoSfera » BIN
Viewing all articles
Browse latest Browse all 12

How to update value of column string in another DB while delete another

$
0
0

Similar question to my question before but this one is little different. So I’ve got the following done which makes it delete my category bin; CONTROLLER def destroy @bin = Bin.find(params[:id]) @bin.destroy redirect_to :dashboard_main end Each BIN also :has_many Savedtweets. The above, deletes the bin and even though in the model i can do :dependent […]

The post How to update value of column string in another DB while delete another appeared first on BlogoSfera.


Viewing all articles
Browse latest Browse all 12

Trending Articles