如何为此添加课程?

时间:2011-05-09 04:43:45

标签: ruby-on-rails ruby ruby-on-rails-3

如何为此添加课程? <%= image_tag(event.actor.profile.photo.url(:tiny)) %>

1 个答案:

答案 0 :(得分:3)

试试这个:

<%= image_tag(event.actor.profile.photo.url(:tiny), :class => "foo") %>