Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
不确定是否可行,但听起来很合理。
我的桌面文件夹中有一个图像列表,我希望我的 Xcode 项目上传/导入。我可以动态地执行此操作,因为我将在不久的将来持续添加图像,而不必单独上传每张图像?谁能告诉我该怎么做?
提前致谢。
我会做一点不同:
我在 railscasts.com 上观看了关于 Kaminari 的一集,并尝试将这个系统添加到我的博客中。但是这个错误一次又一次地出现,我不明白为什么。
来自帖子控制器的索引操作:
def index @posts = Post.order("title").page(params[:page])