楼主 怎么 expose image 的 url 啊 求解答 class Picture < Grape::Entity expose :image end
好神奇
+1
The Hard Way Is Easier With the help of this book, you will do the incredibly simple things that all programmers do to learn a programming language:
Go through each exercise. Type in each sample exactly. Make it run. That's it. This will be very difficult at first, but stick with it. If you go through this book, and do each exercise for one or two hours a night, you will have a good foundation for moving onto another book about Ruby to continue your studies. This book won't turn you into a programmer overnight, but it will get you started on the path to learning how to code.