Szymon Nowak wrote:
> 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
> http://railscasts.com/episodes/82 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 <[email protected]>

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
-- 
Posted via http://www.ruby-forum.com/.

--~--~---------~--~----~------------~-------~--~----~
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 [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to