Tim Haines
Not a member
Tim Haines's latest activity
Wednesday, September 03 2008
-
- Title changed from Ignore secret when Cookie Store is used to Generate form_authenticity_token correctly when using CookieStore and Secret present
-
Tim Haines commented at 9:25 AMRequests are made via the module that's included -> include RequestForgeryProtectionTests This is the same pattern that is used for the other request_forgery_pa...
Tuesday, September 02 2008
-
Tim Haines commented at 9:18 PMThis patch (or one like it) also has the side benefit of being able to simplify the generated code for ActionController. The :secret could be uncommented by def...
-
Tim Haines created the ticket at 1:26 PMCurrently if you're using the CookieStore, and accidentally call protect_from_forgery with a :secret param, then the form_authenticity_token won't be generated ...
Friday, August 29 2008
-
- Tag changed from 2.1, actionpack, assertions, edge to 2.1, actionpack, assertions, edge, patch, tested, tests
Patch attached. Also improved error messages for :toggle and :remove.
Quite simple.
-
Tim Haines created the ticket at 1:06 AMIn test/spec: response.should have_rjs(:hide, 'subscribe')
When error in controller: page.hide 'subscribe_opps_typo_here'
The error message returned my assert_s...
Thursday, August 28 2008
-
Tim Haines created the ticket at 2:05 AMRequest.UploadedFile has a writable content_type. This is useful as the content_type needs to be set manually when uploading via swfUpload.
TestUploadFile cur...
Monday, August 18 2008
-
Tim Haines commented at 12:09 AM+1
Thanks for writing this patch Rich. I've learnt a lot from reading through it and reproducing it - my patch wouldn't have been this clean.
Wednesday, August 13 2008
-
- Tag changed from activerecord, enhancement to 2.1, activerecord, edge, enhancement
Opps, that formatting didn't work so well.
I took a look at creating a patch for this, but was unsure if the alias_attribute method should simply define anothe...
-
Tim Haines created the ticket at 12:21 AMIf you define an attribute alias like so:
alias_attribute :name_for_cache, :name
Then run the following:
u.name = "bob" => "bob" u.name_changed? => true u....