Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Don't need h in there now that XSS protection is on by default | Michael Koziarski | 2009-10-08 | 2 | -2/+2 |
| | |||||
* | Use indifferent access attributes instead of stringifying them | Pratik Naik | 2009-10-08 | 2 | -2/+10 |
| | |||||
* | error procs have to be safe too | Michael Koziarski | 2009-10-08 | 1 | -1/+1 |
| | |||||
* | Allow accepts_nested_attributes_for :reject_if option accept symbols for ↵ | Pratik Naik | 2009-10-07 | 3 | -6/+57 |
| | | | | | | | | using a method Conflicts: activerecord/lib/active_record/nested_attributes.rb | ||||
* | Switch to on-by-default XSS escaping for rails. | Michael Koziarski | 2009-10-08 | 36 | -42/+368 |
| | | | | | | | | | | | | This consists of: * String#html_safe! a method to mark a string as 'safe' * ActionView::SafeBuffer a string subclass which escapes anything unsafe which is concatenated to it * Calls to String#html_safe! throughout the rails helpers * a 'raw' helper which lets you concatenate trusted HTML from non-safety-aware sources (e.g. presantized strings in the DB) * New ERB implementation based on erubis which uses a SafeBuffer instead of a String Hat tip to Django for the inspiration. | ||||
* | Do not ignore .empty_directory files. | José Valim | 2009-10-07 | 1 | -1/+1 |
| | | | | Signed-off-by: Carl Lerche <carllerche@mac.com> | ||||
* | Rewrite ActiveModel::Lint as a simple TU mixin | Joshua Peek | 2009-10-07 | 2 | -80/+38 |
| | |||||
* | Fixed behavior of attribute_methods_generated? [#3220 state:resolved] | Sam Pohlenz | 2009-10-07 | 2 | -1/+27 |
| | | | | Signed-off-by: Joshua Peek <josh@joshpeek.com> | ||||
* | Don't share attribute matchers between classes [#3216 state:resolved] | Sam Pohlenz | 2009-10-07 | 2 | -1/+24 |
| | | | | | | | Allows separate models that include ActiveModel::AttributeMethods to use different sets of attribute matchers. Signed-off-by: Joshua Peek <josh@joshpeek.com> | ||||
* | Not calling a private method anymore | Yehuda Katz | 2009-10-07 | 1 | -2/+5 |
| | |||||
* | Fix warning spew | Yehuda Katz | 2009-10-06 | 1 | -1/+3 |
| | |||||
* | Call initialize_copy when cloning [#3164 state:resolved] | Paul Gillard | 2009-10-06 | 2 | -28/+39 |
| | | | | | | | | Cloned AR objects are now instantiated through initialize_copy rather than new/initialize. This allows AR classes to override initialize_copy in order to implement deep cloning. Signed-off-by: Joshua Peek <josh@joshpeek.com> | ||||
* | don't ignore all bin directories | Michael Koziarski | 2009-10-06 | 1 | -1/+0 |
| | |||||
* | MessageVerifier#verify raises InvalidSignature if the signature is blank | Jeffrey Hardy | 2009-10-05 | 2 | -0/+7 |
| | | | | Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | ||||
* | Coerce all out going body parts to Strings | Joshua Peek | 2009-10-05 | 5 | -0/+72 |
| | |||||
* | Yank FCGI Handler from core | Joshua Peek | 2009-10-05 | 9 | -781/+0 |
| | | | http://github.com/rails/fcgi_handler | ||||
* | Rewrite FCGI handler test | Joshua Peek | 2009-10-05 | 3 | -34/+46 |
| | |||||
* | Try to load lib before trying to activate the gem for testing | Joshua Peek | 2009-10-05 | 1 | -2/+6 |
| | |||||
* | Put test in place for deprecated dispatcher | Joshua Peek | 2009-10-05 | 1 | -0/+7 |
| | |||||
* | More robust console test | Joshua Peek | 2009-10-05 | 3 | -43/+56 |
| | |||||
* | Revert "Revert "Fix Dispatch.new so passenger works" as it broke the build" | Joshua Peek | 2009-10-05 | 1 | -1/+1 |
| | | | | This reverts commit 49b52cadc2e66c11a025e7719837ae77b3736046. | ||||
* | Revert "Fix Dispatch.new so passenger works" as it broke the build | Michael Koziarski | 2009-10-05 | 1 | -1/+1 |
| | | | | This reverts commit c97c31b096e627480b64403d1460065738941c3e. | ||||
* | Fix Dispatch.new so passenger works | Joshua Peek | 2009-10-04 | 1 | -1/+1 |
| | |||||
* | Only draw default route once | Joshua Peek | 2009-10-03 | 1 | -22/+37 |
| | |||||
* | Use with_routing helper in tests instead of modifying global route set | Joshua Peek | 2009-10-03 | 4 | -101/+125 |
| | |||||
* | Redraw default routes on all internal integration tests. We don't need ↵ | Joshua Peek | 2009-10-03 | 15 | -41/+34 |
| | | | | SimpleRouteCase anymore | ||||
* | Avoid creating new controller constants during test runtime. All routable ↵ | Joshua Peek | 2009-10-03 | 2 | -68/+21 |
| | | | | controllers should be defined beforehand. | ||||
* | Run AP isolated tests on CI | Joshua Peek | 2009-10-03 | 1 | -0/+1 |
| | |||||
* | Moved shared form helper models into fake_models | Joshua Peek | 2009-10-03 | 3 | -99/+98 |
| | |||||
* | NumberHelper depends on big decimal extensions | Joshua Peek | 2009-10-03 | 1 | -0/+1 |
| | |||||
* | Changing directories during the test breaks file loading when ran by itself | Joshua Peek | 2009-10-03 | 2 | -32/+22 |
| | |||||
* | Don't load rubygems for isolated tests | Joshua Peek | 2009-10-03 | 1 | -2/+3 |
| | |||||
* | Move improved isolated test runner to AP | Joshua Peek | 2009-10-03 | 2 | -6/+21 |
| | |||||
* | File extra test folders into controller, dispatch, or template | Joshua Peek | 2009-10-03 | 26 | -18/+17 |
| | |||||
* | Add custom "with_routing" to internal tests to fix reseting session after using | Joshua Peek | 2009-10-03 | 14 | -20/+30 |
| | | | | with_routing. This only affects our internal AP tests. | ||||
* | Cleanup whitespace introduced in 8377646 and f4f6888 | Joshua Peek | 2009-10-02 | 3 | -55/+47 |
| | |||||
* | add indifferent access to the attributes | Taryn East | 2009-10-02 | 3 | -1/+30 |
| | | | | Signed-off-by: Joshua Peek <josh@joshpeek.com> | ||||
* | update_attribute(s) added to Active Resource | Taryn East | 2009-10-02 | 2 | -2/+81 |
| | | | | Signed-off-by: Joshua Peek <josh@joshpeek.com> | ||||
* | Initialize a new instance of Rails.application during integration tests | Carl Lerche | 2009-09-30 | 1 | -1/+1 |
| | | | This is to fix the AWDWR tests until the application object is refactored to be a singleton. | ||||
* | Remove all calls to Rails::Initializer from boot.rb | Carl Lerche | 2009-09-30 | 6 | -49/+70 |
| | | | | This is starting a refactor of the rails initialization process. The boot.rb file will not remain the same. | ||||
* | Remove a duplicate initializer | Carl Lerche | 2009-09-29 | 1 | -12/+0 |
| | |||||
* | Change Rails::Application to a class that is inherited from. | Carl Lerche | 2009-09-29 | 5 | -30/+25 |
| | | | This is still very experimental. | ||||
* | Remove unneeded files from the railties test directory | Carl Lerche | 2009-09-29 | 14 | -56/+0 |
| | |||||
* | Fix the broken railties isolation tests | Carl Lerche | 2009-09-29 | 8 | -121/+86 |
| | |||||
* | Create the application object from config/environment.rb | Yehuda Katz + Carl Lerche | 2009-09-28 | 6 | -59/+46 |
| | | | | | This is preliminary and not necessarily reflective of the full plan. | ||||
* | Ported the new ActionView::TestCase from 2-3-stable to master [#3260 | Erik Ostrom | 2009-09-28 | 8 | -38/+278 |
| | | | | | | | | | | | | | | | | | state:resolved] The test case now mimicks the template environment more closely, so it's possible to use render, load helper dependencies. This also fixes assert_select, and similar assertions. Because view tests and helpers generally don't render full templates assert_select looks first in rendered and then in output_buffer to find the rendered output. Additional `master'-only changes: Made the Action Pack Rakefile run the ActionView::TestCase tests, and made ActionView::Rendering#_render_text always return a string. Signed-off-by: Joshua Peek <josh@joshpeek.com> | ||||
* | Remove SQLite2 from CI setup | Mike Gunderloy | 2009-09-28 | 2 | -4/+2 |
| | | | | Signed-off-by: Michael Koziarski <michael@koziarski.com> | ||||
* | Make has_one with :conditions hash scope build or creation of the associated ↵ | Luciano G Panaro | 2009-09-28 | 5 | -3/+34 |
| | | | | | | | object with those conditions Signed-off-by: Michael Koziarski <michael@koziarski.com> [#3088 state:committed] | ||||
* | Escaping symbol passed into Memoizable's flush_cache for query methods to ↵ | Jay Pignata | 2009-09-28 | 2 | -3/+12 |
| | | | | | | | | allow them to be cleared Signed-off-by: Michael Koziarski <michael@koziarski.com> [#3138 state:committed] | ||||
* | Allow PKG_NAME env variable to control the directory name used when 'rake ↵ | John Trupiano | 2009-09-28 | 1 | -1/+1 |
| | | | | | | | dev' is used to generate a new rails app. Signed-off-by: Michael Koziarski <michael@koziarski.com> [#3278 state:committed] |