Displaying 1 result from an estimated 1 matches for "ying_id".
Did you mean:
ring_idx
2008 Mar 20
0
Having trouble with a remote-crop-then-resize using attachment fu =(
...e_to_scene(params[:ying], scene)
avatar = Avatar.create!(:uploaded_data => params[:ying]
[:uploaded_data],
:content_type => ''image/png'',
:filename=> "#{RAILS_ROOT}/public/images/avatars/yings/
#{@ying.id}_thing.png",
:ying_id => self.id,
:size => (@ying.width).to_i * (@ying.height).to_i
)
avatar.ying_id = @ying.id
avatar.scene_id = nil
avatar.user_id = nil
@ying.avatar = avatar
avatar.thumbnails.clear
# avatar.save!
respond_to do |format|...