I got fk parent/child row deletion/update errors while performing deletion on parent row.So I removed related child records from database manually. But still i am getting errors. I presume it is related to cache. One more thing i must mention here is that when i see child records, it shows me updated state of table i.e. deleted records are not visible(that may be because i fired that query first time).
Yeah whenever you make any changes to the database or for that matter even code, it wont reflect in the console, you need to do reload! e.g
ree-1.8.7-2010.02 > reload!
Reloading...
=> true
ree-1.8.7-2010.02 >
Add config.action_controller.perform_caching = false
in environment/*.rb
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With