↓ Archives ↓

Posts Tagged → RAILS

Printed book for Agile Development wiht Rails

FRIDAY, 5. MAY 2006, 13:45:41

春节前把那个pdf用ip1600喷墨打印了出来,厚厚的一本,500多页。今天拿去一家可以进行“无线胶订”的店,装订了起来,看起来和买的厚书一样,蛮结实的…

那个店里提供很多颜色的封面,选择一种,用大型喷墨机打印了几个字。加热溶胶花了至少15分钟,然后就是磨背、上胶、加封面成型一气呵成,用了不过1分钟,然后上切纸机,切上下两边和右边。

Some study on Rails…

When I view the file_column uploaded images, I use: 

<%= image_tag url_for_file_column "upload", "file", "thumb" %>

But no any link with the thumb images. I just want to go to view the original images if the thumbs are clicked…

Here is the code for the combining link_to() and image_tag().

<%= link_to((image_tag url_for_file_column "upload", "file", "thumb"),
           {:action => "medium"})
%>

Flash uploader on Rails

MONDAY, 10. APRIL 2006, 16:20:51

Received an email from Apple China today, I’ve got a seat on Aperture experience semina. It will be held on this sunday. It’s all about technical photographers, but who am I?  

This week’s mission is to do something with Flash uploader coded by Rails. Thus, I’ll be happy on the semina.