English 中文(简体)
部分会议被删除。
原标题:Part of session is erased

I m using Uploadify with Rails 3. The form works on every browser except IE.

我适当确定了我的微薄变量,以便本届会议彻底消失。

<% key = Rails.application.config.session_options[:key] %>
var uploadify_script_data = {};
var csrf_param = $( meta[name=csrf-param] ).attr( content );
var csrf_token = $( meta[name=csrf-token] ).attr( content );

uploadify_script_data[csrf_param] = encodeURI(encodeURIComponent(csrf_token));
uploadify_script_data[ <%= key %> ] = encodeURI(encodeURIComponent( <%= cookies[key] %> ));

$( #uploadify ).uploadify({
  ...
  scriptData      : uploadify_script_data,
  ...
});

当我工作3个步骤时,这个问题就出现了。 在第二步中,我节省了届会的所需时间。 在所有这些步骤中,我把“灯塔”与“会议”结合起来,可以随时更新。

在第二步中,它认为本届会议只是罚款(I将会议印在原木上,所有信息都有),但这也是我用上载的一步。 在处理阿贾克斯呼吁的控制人员中,我印刷了会议,我可以看到会议,并设计了信息,但我的反对——我同我一道工作的那段东西被完全 re为空洞。

这来自处理上载者的控制器:

{"session_id"=>"fa12222657a979c92daf1a04dcec7fa8", "_csrf_token"=>"YCN8BvE8+6Vxc2PWgpOvZBhYufKdsTfEnJVkbTSdWHI=", "warden.user.user.key"=>["User", [20], "$2a$10$JCkVLxybPQYclyp2t1gnpu"], "object_params"=>{}}

同样,这只是国际电子教育8和国际环境9中发生的。

关于如何对此进行反驳的任何想法?

Additional resources:
Rails Carrier Wave with JQuery Uploader

最佳回答

我不得不将此列为紧急事务。 最终使用IE的标准重载表格和我对其他一切的习惯形象。

问题回答

暂无回答




相关问题
Remove ActiveRecord in Rails 3

Now that Rails 3 beta is out, I thought I d have a look at rewriting an app I have just started work on in Rails 3 beta, both to get a feel for it and get a bit of a head-start. The app uses MongoDB ...

When will you upgrade your app to Rails 3? [closed]

Now that the Rails 3 beta is here, let s take a little straw poll. Please tell us briefly what your application does and when you will upgrade it to Rails 3. Or, if you re not planning on upgrading ...

Bundler isn t loading gems

I have been having a problem with using Bundler and being able to access my gems without having to require them somewhere, as config.gem used to do that for me (as far as I know). In my Rails 3 app, I ...

bypass attr_accessible/protected in rails

I have a model that, when it instantiates an object, also creates another object with the same user id. class Foo > ActiveRecord::Base after_create: create_bar private def create_bar Bar....

concat two fields activerecord

I m so used to oracle where you can simply concat(field1, , field2) but if I m using activerecord to find the field1 and field2, and I need a space in between, how do I accomplish this? Cheers ...

热门标签