jquery - How do you access data in a Ruby on Rails controller that is POSTed via an AJAX request? -



jquery - How do you access data in a Ruby on Rails controller that is POSTed via an AJAX request? -

i'm sending ajax request , posting json info server. how access info in controller (i'm using ruby on rails).

it should trivial:

data = activesupport::json::decode(params[:param_with_json_string])

jquery ruby-on-rails ruby ajax ruby-on-rails-3

Comments

Popular posts from this blog

ios - Fragment Shader GLSL for texture, color and texture/color -

iphone - Dismissing a UIAlertView -

java - Does anyone know the name of this "LookAndFeel"? -