Displaying 1 result from an estimated 1 matches for "scale_to_scen".
Did you mean:
scale_to_scene
2008 Mar 20
0
Having trouble with a remote-crop-then-resize using attachment fu =(
...hat would allow me to do this.. I''m so near the
edge right now!@ UGH =(
CONTROLLER:
SCENE.RB
# POST /yings
# POST /yings.xml
def create
@ying = Ying.new(params[:ying])
scene = Scene.find(params[:ying][:scene_id])
scene.yings << @ying
@ying.scale_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 =...