chapter 14.4 with configurations of gems paperclipe and kaminari