search for: whatcodecrav

Displaying 2 results from an estimated 2 matches for "whatcodecrav".

Did you mean: whatcodecraves
2009 Oct 07
2
Rails, flash, function and parameter
...eter page on my function reload_flash and call this function with reload_flash(page) instead of page.reload_flash, that''s work but I think It''s a bit weird, I prefer write something without parameter. Do you know how i can do that ? In fact this code is from this page http://www.whatcodecraves.com/articles/2008/12/13/rails_flash_with_ajax/ and the author says he use it. Is it with available in an older version of rails ?
2009 May 30
2
Generating and authenticating by API keys
...think the API authentication will need to be done on the Site model to which Users belong), 2. generating the API key using Digest::SHA1 or similar (the last dev used SHA1 for the passwords), 3. authenticating via API keys in a filter (perhaps something along the lines of option 2 here http://www.whatcodecraves.com/articles/2008/11/25/how_to_make_an_api_for_a_rails_app/). Unfortunately, the authentication lib is custom (I would much prefer to be working with one of the community adopted plugins such as Authlogic, which appears to have API key authentication anyway). Am I missing anything or does that...