- 28 3月, 2011 9 次提交
-
-
由 mhutchin 提交于
-
-
由 Xavier Noria 提交于
-
由 Prem Sichanugrist 提交于
-
由 Prem Sichanugrist 提交于
This would become useful for site which sometime transferring sensitive information such as account information on particular controller or action. This featured was requested by DHH.
-
由 Xavier Noria 提交于
-
由 Prem Sichanugrist 提交于
This will allow user to be able to force all requests to be under HTTPS protocol. This commit was a request from DHH. Special thanks to Josh Peek as well for making `Rack::SSL`.
-
由 Xavier Noria 提交于
A couple of things worth mentioning here: - "{" is a metacharacter, should be escaped if it is meant to match a "{". The code worked, though, because the regexp engine is tolerant to this, but issued warnings. - gsub accepts a string as first argument. That's the best idiom to use when your pattern has no metacharacters, since gsub interprets the string as an exact substring to look for, rather than a regexp. The benefit is that your pattern is crystal clear and needs no backslashes.
-
由 David Heinemeier Hansson 提交于
-
- 27 3月, 2011 7 次提交
-
-
由 mhutchin 提交于
-
由 mhutchin 提交于
-
由 Aaron Patterson 提交于
-
由 Aaron Patterson 提交于
-
由 David Heinemeier Hansson 提交于
Allow FormHelper#form_for to specify the :method as a direct option instead of through the :html hash [DHH]
-
由 Aaron Patterson 提交于
-
由 David Heinemeier Hansson 提交于
Make JavaScriptHelper#j() an alias for JavaScriptHelper#escape_javascript() -- note this then supersedes the Object#j() method that the JSON gem adds within templates using the JavaScriptHelper [DHH]
-
- 26 3月, 2011 11 次提交
-
-
由 Sebastian Martinez 提交于
-
由 Sebastian Martinez 提交于
Signed-off-by: NSantiago Pastorino <santiago@wyeworks.com>
-
由 Ryan Bigg 提交于
Proc objects for cache_path for caches_action no longer need controller object, nor to use send when calling routing helpers
-
-
由 Sebastian Martinez 提交于
-
由 Xavier Noria 提交于
-
-
由 Sebastian Martinez 提交于
-
由 Pratik Naik 提交于
-
由 Josh Susser 提交于
-
由 Aaron Patterson 提交于
-
- 25 3月, 2011 2 次提交
-
-
由 Josh Kalderimis 提交于
Signed-off-by: NSantiago Pastorino <santiago@wyeworks.com>
-
由 Josh Susser 提交于
-
- 24 3月, 2011 7 次提交
-
-
由 Andrew White 提交于
The method_name argument is "default_render" for implicit actions so use the action_name attribute to determine which callbacks to run. [#5673 state:resolved]
-
由 Manfred Stienstra 提交于
Signed-off-by: NAndrew White <andyw@pixeltrix.co.uk>
-
由 Adam Meehan 提交于
Fix before_type_cast for timezone aware attributes by caching converted value on write. Also remove read method reload arg on timezone attributes.
-
由 Murray Steele 提交于
The old method of redefining destroy meant that clearing the HABTM join table would happen as long as the call to destroy succeeded. Which meant if there was a before_destroy that stopped the instance being destroyed using normal means (returning false, raising ActiveRecord::Rollback) rather than exceptional means the join table would be cleared even though the instance wasn't destroyed. Doing it in an after_destroy hook avoids this and has the advantage of happening inside the DB transaction too.
-
由 Murray Steele 提交于
Failing test case to show that habtm join table contents are removed when a model is destroyed but the destruction is blocked by a before_destroy.
-
-
由 Aditya Sanghi 提交于
Signed-off-by: NJosé Valim <jose.valim@gmail.com>
-
- 23 3月, 2011 4 次提交
-
-
由 Diego Carrion 提交于
Signed-off-by: NSantiago Pastorino <santiago@wyeworks.com>
-
由 Diego Carrion 提交于
test json decoding with time parsing disabled with all backends and respect ActiveSupport.parse_json_times when converting to yaml Signed-off-by: NSantiago Pastorino <santiago@wyeworks.com>
-
由 Santiago Pastorino 提交于
-
由 Santiago Pastorino 提交于
-