Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Avoid warning spam by flipping to the new callbacks mechanism. These ↵ | Michael Koziarski | 2009-10-15 | 1 | -1/+1 |
| | | | | callbacks are actually never called by rails itself, merely there for plugins | ||||
* | Make IntegrationTest::Runner propagate method_missing to ancestors. | George Ogata | 2009-10-15 | 2 | -2/+24 |
| | | | | | | | Fixes RSpec integration example groups, which mixes its Matchers module into ActiveSupport::TestCase. Signed-off-by: Michael Koziarski <michael@koziarski.com> | ||||
* | Test cases should see all the cookies, not just cookies that have been set ↵ | Craig Smith | 2009-10-15 | 2 | -1/+18 |
| | | | | | | | | | | | | | in the controller. Previously this example would always pass, even when cookies.delete was not called. @request.cookies['foo'] = 'bar' get :delete_cookie assert_nil cookies['foo'] Signed-off-by: Michael Koziarski <michael@koziarski.com> [#2768 state:committed] | ||||
* | Added CDATA support to the XmlMini LibXML engine, adjusted whitespace ↵ | Jacob Lauemoeller | 2009-10-15 | 2 | -5/+202 |
| | | | | | | handling to closer match that of the REXML engine, and added a LibXML engine test Signed-off-by: Michael Koziarski <michael@koziarski.com> | ||||
* | Revert "Missing requires" | Jeremy Kemper | 2009-10-14 | 2 | -2/+0 |
| | | | | | | These rely on constant autoloads. This reverts commit d39f397dc6726b27cc2c60a6e24e15cb1944ec58. | ||||
* | Fix tests | Jeremy Kemper | 2009-10-14 | 1 | -0/+1 |
| | |||||
* | Missing requires | Michael Koziarski | 2009-10-15 | 2 | -0/+2 |
| | |||||
* | Digest auth option for ActiveResource. | pivotal | 2009-10-15 | 5 | -35/+258 |
| | | | | Signed-off-by: Michael Koziarski <michael@koziarski.com> | ||||
* | Make sure non-escaped urls aren't considered safe | Michael Koziarski | 2009-10-15 | 2 | -1/+6 |
| | |||||
* | 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 |
| |