HI, i have to change a desktop app written in c# to post and get some data to/from a rails app. the railsapp uses devise. what im doing right now is: 1) pull up sign_in page 2) parse 1) for auth_token 3) post username+ pwd & auth_token 3.1) if 3 ok > goto 4) 4) post json data that works all good, except that i do not provide auth_token in step4 , but a) rails is still accepting my data. is that normal? b) it seemsi cant not access attributes of current_user so that leads me to say im not loggin in correctly!? thx -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group. To post to this group, send email to rubyonrails-core@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-core+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-core?hl=en.
sorry,wrong list ---------- Forwarded message ---------- From: tom <tomabroad@gmail.com> Date: Tue, Aug 2, 2011 at 10:26 AM Subject: ror +auth_token + c# To: rubyonrails-core@googlegroups.com HI, i have to change a desktop app written in c# to post and get some data to/from a rails app. the railsapp uses devise. what im doing right now is: 1) pull up sign_in page 2) parse 1) for auth_token 3) post username+ pwd & auth_token 3.1) if 3 ok > goto 4) 4) post json data that works all good, except that i do not provide auth_token in step4 , but a) rails is still accepting my data. is that normal? b) it seemsi cant not access attributes of current_user so that leads me to say im not loggin in correctly!? thx -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group. To post to this group, send email to rubyonrails-core@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-core+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-core?hl=en.
HI, i have to change a desktop app written in c# to post and get some data to/from a rails app. the railsapp uses devise. what im doing right now is: 1) pull up sign_in page 2) parse 1) for auth_token 3) post username+ pwd & auth_token 3.1) if 3 ok > goto 4) 4) post json data that works all good, except that i do not provide auth_token in step4 , but a) rails is still accepting my data. is that normal? b) it seemsi cant not access attributes of current_user so that leads me to say im not loggin in correctly!? thx -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.