Your login system should provide a way to authenticate using HTTP
basic authentication - most authentication plugins do so i.e.
restful_authentication. If you're not using any plugin, check
#82 HTTP Basic Authentication - RailsCasts to see how to set it up.
Instead of using plain Net::HTTP, you can use ActiveResource (http://
api.rubyonrails.org/classes/ActiveResource/Base.html) or REST Client
(http://rest-client.heroku.com/rdoc/).
Your login system should provide a way to authenticate using HTTP
basic authentication - most authentication plugins do so i.e.
restful_authentication. If you're not using any plugin, check
#82 HTTP Basic Authentication - RailsCasts to see how to set it up.
Instead of using plain Net::HTTP, you can use ActiveResource (http://
api.rubyonrails.org/classes/ActiveResource/Base.html) or REST Client
(http://rest-client.heroku.com/rdoc/).
On Jan 16, 12:15�pm, Michael Rigart <rails-mailing-l...@andreas-s.net>
Thanks for the input. I'm usering ActiveResource right now, but I have a
problem when I do a find of my activeresource model.When I do:
Task.find(:all, :params => { :company_id => 78 })
the parameter company_id doesn't seem to get send. When I want to
retrieve the parameter with params[:company_id] I get a blank result
instead of 78 :s