2013-08-20 116 views
0

我試圖附加文件添加到我的崗位模型回形針不croping圖像

我已經使用回形針,但在這種情況下,有一個奇怪的問題,如果我設置:styles回形針不能正常工作,
當我試圖挽救,它的繪製信息check the problem below,但沒有提到任何問題

這一個不工作

class Post 
    has_attached_file :photo, :styles => { :medium => "300x300>", :thumb => "100x100>" } 
end 

此代碼的工作好

class Post 
    has_attached_file :photo 
end 

回答