![](https://img-blog.csdnimg.cn/20201014180756922.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
ruby on rails
yfj1012
这个作者很懒,什么都没留下…
展开
-
使用curl测试rails rest
以下是在debian下操作完成的...1.首先安装curl aptitude install curl2.开始测试查询:(GET)curl -X GET http://127.0.0.1:3000/organs or curl -X GET http://127.0.0.1:3原创 2011-07-19 12:14:21 · 584 阅读 · 0 评论 -
rails使用mini_magick
1.安装 在Gemfile中加入gem 'mini_magick' 并运行bundle install命令,安装依赖2.使用并支持中文如下:# -*- coding: utf-8 -*- require "mini_magick" image_path="/home/2.jp原创 2011-07-19 11:47:16 · 827 阅读 · 0 评论