Thanks. That's how I can pass the first argument. Now I understand. Thanks.
John On Wed, Apr 22, 2009 at 10:49 PM, Dmitry Sokurenko <[email protected]> wrote: > > Try: > > authenticate_or_request_with_http_basic('YourRealm') do |username, > password| > username == "foo" && password == "bar" > end > > Dmitry > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

