Displaying 1 result from an estimated 1 matches for "est_id".
Did you mean:
test_id
2007 Nov 05
0
Ajax - attachment_fu - rmagick and iframe
...frame'' name="upload_frame"
style="width:1px;height:1px;
border:0px" src="about:blank"></iframe>
controller
-----------
def create
@photo = Photo.new(params[:photo])
if @photo.save
resul = Content.find(:all, :conditions => "est_id = ''" +
@session[:current_user]+ "''")
for item in resul do
urlList << item.title << "=1&"
end
enc_url = URI.encode(urlList)
redirect_to enc_url
end
end
m_coment is layer ajax
Someone knows...