Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Use ERB::Util.h over CGI.escapeHTML as the former is safety aware and the ↵ | Michael Koziarski | 2009-10-15 | 2 | -2/+2 |
| | | | | latter isn't | ||||
* | ActionView.url_for doesn't escape by default | Phil Darnowsky | 2009-10-15 | 2 | -4/+14 |
| | | | | | | | | | | | | | | | | | ActionView::Helpers::UrlHelper#url_for used to escape the URLs it generated by default. This was most commonly seen when generating a path with multiple query parameters, e.g. url_for(:controller => :foo, :action => :bar, :this => 123, :that => 456) would return http://example.com/foo/bar?that=456&this=123 escaping an ampersand that shouldn't be escaped. This is both wrong and inconsistent with the behavior of ActionController#url_for, and is changed. Signed-off-by: Michael Koziarski <michael@koziarski.com> | ||||
* | Start adding configuration to ActionView instead of using constants. | Yehuda Katz | 2009-10-14 | 7 | -13/+70 |
| | | | | | | | By using config rather than hardcoded constants, we can evolve the configuration system over time (we'd just need to update the config method with more robust capabilities and all consumers would get the capabilities with no code changes) | ||||
* | CookieJar#delete should return the key's value, consistent with a Hash | Jeffrey Hardy | 2009-10-14 | 3 | -3/+11 |
| | | | | Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | ||||
* | Finish porting over the initializers to the app object and fix all the tests | Carl Lerche | 2009-10-14 | 6 | -95/+109 |
| | |||||
* | Add Gemfile to the rails application generator | Yehuda Katz + Carl Lerche | 2009-10-14 | 2 | -0/+11 |
| | |||||
* | Make rails configuration's path object's root lazy | Yehuda Katz + Carl Lerche | 2009-10-14 | 2 | -4/+28 |
| | |||||
* | Refactor AS concern to avoid hacking the "include" method. | Joshua Peek | 2009-10-13 | 3 | -24/+10 |
| | | | Ruby Magic! | ||||
* | Extend Callbacks and Rescuable with AS concern | Joshua Peek | 2009-10-13 | 2 | -7/+5 |
| | |||||
* | Make logger work again (h/t Sam Ruby) | Yehuda Katz | 2009-10-13 | 1 | -1/+1 |
| | |||||
* | Rewrite AS::TestCase setup/teardown as a single callback chain | Joshua Peek | 2009-10-12 | 1 | -27/+30 |
| | |||||
* | Get AS TestCase off deprecated callbacks | Joshua Peek | 2009-10-12 | 2 | -55/+15 |
| | |||||
* | Add erubis gem to ci | Joshua Peek | 2009-10-12 | 1 | -0/+2 |
| | |||||
* | Insert a deprecation warn notice when using AS::DeprecatedCallbacks. | Joshua Peek | 2009-10-12 | 1 | -0/+2 |
| | | | | | We are still using DeprecatedCallbacks in AS and AR. This is meant to annoy the shit out of Rails core until we fix it. | ||||
* | Callbacks, DeprecatedCallbacks = NewCallbacks, Callbacks | Joshua Peek | 2009-10-12 | 15 | -1457/+1263 |
| | |||||
* | Use "run_callbacks :foo" since it is the public api for callbacks [#3329 | Joshua Peek | 2009-10-12 | 3 | -19/+19 |
| | | | | state:resolved] | ||||
* | Kill unused SafelyMemoizable [#3323 state:resolved] | Joshua Peek | 2009-10-12 | 1 | -13/+0 |
| | |||||
* | Bundle with system gem sources rather than gems.rubyforge.org default | Jeremy Kemper | 2009-10-11 | 1 | -0/+2 |
| | |||||
* | Fix generators load paths | Jeremy Kemper | 2009-10-11 | 2 | -2/+3 |
| | |||||
* | Fix rake dev. | José Valim | 2009-10-11 | 1 | -1/+1 |
| | | | | Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | ||||
* | Kill mock routing assertion that tests router implementation | Joshua Peek | 2009-10-10 | 1 | -13/+0 |
| | |||||
* | Fix failing safe buffer test. We don't patch CGI.escapeHTML, only ERB:Util. | Joshua Peek | 2009-10-10 | 1 | -1/+1 |
| | |||||
* | Move safe buffer into test/template | Joshua Peek | 2009-10-10 | 1 | -0/+0 |
| | |||||
* | Relative url generations are covered more thoroughly by url rewriter tests | Joshua Peek | 2009-10-10 | 1 | -12/+0 |
| | |||||
* | Add define another "stuff" controller to support routing tests | Joshua Peek | 2009-10-10 | 1 | -0/+1 |
| | |||||
* | Drop implementation specific routing test assertions | Joshua Peek | 2009-10-10 | 1 | -3/+0 |
| | |||||
* | Add define a "stuff" controller in fixtures to support routing tests | Joshua Peek | 2009-10-10 | 1 | -0/+1 |
| | |||||
* | Fix a bug where render :text could not handle yield :symbol. Fixes guides ↵ | Yehuda Katz | 2009-10-10 | 1 | -9/+13 |
| | | | | generation | ||||
* | Mark html safety | Jeremy Kemper | 2009-10-09 | 1 | -1/+1 |
| | |||||
* | Uses fileutils | Jeremy Kemper | 2009-10-09 | 1 | -0/+2 |
| | |||||
* | To unmarshal MissingSourceFile from child | Jeremy Kemper | 2009-10-09 | 1 | -1/+3 |
| | |||||
* | Add a :limit option to specify the maximum number of records that can be ↵ | Pratik Naik | 2009-10-09 | 2 | -1/+44 |
| | | | | processed by accepts_nested_attributes_for | ||||
* | Store entire options hash in the class var rather than just the reject_if ↵ | Pratik Naik | 2009-10-09 | 2 | -16/+19 |
| | | | | proc for the nested attributes | ||||
* | Mute log info coming from the local_cache strategy | Pratik Naik | 2009-10-09 | 4 | -5/+33 |
| | |||||
* | Fix issue with standalone ActionView | Yehuda Katz | 2009-10-09 | 1 | -1/+4 |
| | |||||
* | Avoid super in define_method for Rubinius | Yehuda Katz | 2009-10-09 | 1 | -1/+6 |
| | |||||
* | Get rid of constant name usage for stack trace help in favor of overriding ↵ | Yehuda Katz | 2009-10-09 | 1 | -9/+9 |
| | | | | #inspect and .name. | ||||
* | Ensure MessageVerifier raises appropriate exception on tampered data | Pratik Naik | 2009-10-09 | 2 | -1/+2 |
| | |||||
* | Finish porting over the initializers to the app object and fix all the tests | Carl Lerche | 2009-10-08 | 15 | -837/+482 |
| | |||||
* | Even more initializers ported over | Carl Lerche | 2009-10-08 | 4 | -142/+141 |
| | |||||
* | Ported over more initializers | Carl Lerche | 2009-10-08 | 4 | -54/+48 |
| | |||||
* | Add a test that ensures that Rails::Initializable can be used with modules | Carl Lerche | 2009-10-08 | 1 | -0/+12 |
| | |||||
* | Move the ensure_tmp_directories_exist initializer to the application object | Carl Lerche | 2009-10-08 | 2 | -7/+7 |
| | |||||
* | Moving more initializers into the application object | Carl Lerche | 2009-10-08 | 8 | -209/+292 |
| | |||||
* | Start moving the initializers into the application object | Carl Lerche | 2009-10-08 | 10 | -73/+225 |
| | |||||
* | Remove the old initializer file. | Carl Lerche | 2009-10-08 | 1 | -1137/+0 |
| | |||||
* | API change: content_tag_for outputs prefixed class name | Joshua Peek | 2009-10-08 | 2 | -4/+4 |
| | |||||
* | Fix warning spew for 1.9 | Carl Lerche | 2009-10-08 | 1 | -1/+5 |
| | |||||
* | Fix for Ruby 1.9 - define_method throws an exception under 1.9 if given ↵ | Chad Woolley | 2009-10-08 | 1 | -1/+1 |
| | | | | | | incorrect number of args Signed-off-by: Carl Lerche <carllerche@mac.com> | ||||
* | Ruby 1.9: Fix ActiveResource::ConnectionError#to_s when @response does not ↵ | Chad Woolley | 2009-10-08 | 2 | -2/+5 |
| | | | | | | respond to #code or #message Signed-off-by: Carl Lerche <carllerche@mac.com> |