aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Use "run_callbacks :foo" since it is the public api for callbacks [#3329Joshua Peek2009-10-123-19/+19
| | | | state:resolved]
* Kill unused SafelyMemoizable [#3323 state:resolved]Joshua Peek2009-10-121-13/+0
|
* Bundle with system gem sources rather than gems.rubyforge.org defaultJeremy Kemper2009-10-111-0/+2
|
* Fix generators load pathsJeremy Kemper2009-10-112-2/+3
|
* Fix rake dev.José Valim2009-10-111-1/+1
| | | | Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* Kill mock routing assertion that tests router implementationJoshua Peek2009-10-101-13/+0
|
* Fix failing safe buffer test. We don't patch CGI.escapeHTML, only ERB:Util.Joshua Peek2009-10-101-1/+1
|
* Move safe buffer into test/templateJoshua Peek2009-10-101-0/+0
|
* Relative url generations are covered more thoroughly by url rewriter testsJoshua Peek2009-10-101-12/+0
|
* Add define another "stuff" controller to support routing testsJoshua Peek2009-10-101-0/+1
|
* Drop implementation specific routing test assertionsJoshua Peek2009-10-101-3/+0
|
* Add define a "stuff" controller in fixtures to support routing testsJoshua Peek2009-10-101-0/+1
|
* Fix a bug where render :text could not handle yield :symbol. Fixes guides ↵Yehuda Katz2009-10-101-9/+13
| | | | generation
* Mark html safetyJeremy Kemper2009-10-091-1/+1
|
* Uses fileutilsJeremy Kemper2009-10-091-0/+2
|
* To unmarshal MissingSourceFile from childJeremy Kemper2009-10-091-1/+3
|
* Add a :limit option to specify the maximum number of records that can be ↵Pratik Naik2009-10-092-1/+44
| | | | processed by accepts_nested_attributes_for
* Store entire options hash in the class var rather than just the reject_if ↵Pratik Naik2009-10-092-16/+19
| | | | proc for the nested attributes
* Mute log info coming from the local_cache strategyPratik Naik2009-10-094-5/+33
|
* Fix issue with standalone ActionViewYehuda Katz2009-10-091-1/+4
|
* Avoid super in define_method for RubiniusYehuda Katz2009-10-091-1/+6
|
* Get rid of constant name usage for stack trace help in favor of overriding ↵Yehuda Katz2009-10-091-9/+9
| | | | #inspect and .name.
* Ensure MessageVerifier raises appropriate exception on tampered dataPratik Naik2009-10-092-1/+2
|
* Finish porting over the initializers to the app object and fix all the testsCarl Lerche2009-10-0815-837/+482
|
* Even more initializers ported overCarl Lerche2009-10-084-142/+141
|
* Ported over more initializersCarl Lerche2009-10-084-54/+48
|
* Add a test that ensures that Rails::Initializable can be used with modulesCarl Lerche2009-10-081-0/+12
|
* Move the ensure_tmp_directories_exist initializer to the application objectCarl Lerche2009-10-082-7/+7
|
* Moving more initializers into the application objectCarl Lerche2009-10-088-209/+292
|
* Start moving the initializers into the application objectCarl Lerche2009-10-0810-73/+225
|
* Remove the old initializer file.Carl Lerche2009-10-081-1137/+0
|
* API change: content_tag_for outputs prefixed class nameJoshua Peek2009-10-082-4/+4
|
* Fix warning spew for 1.9Carl Lerche2009-10-081-1/+5
|
* Fix for Ruby 1.9 - define_method throws an exception under 1.9 if given ↵Chad Woolley2009-10-081-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 Woolley2009-10-082-2/+5
| | | | | | respond to #code or #message Signed-off-by: Carl Lerche <carllerche@mac.com>
* Don't need h in there now that XSS protection is on by defaultMichael Koziarski2009-10-082-2/+2
|
* Use indifferent access attributes instead of stringifying themPratik Naik2009-10-082-2/+10
|
* error procs have to be safe tooMichael Koziarski2009-10-081-1/+1
|
* Allow accepts_nested_attributes_for :reject_if option accept symbols for ↵Pratik Naik2009-10-073-6/+57
| | | | | | | | using a method Conflicts: activerecord/lib/active_record/nested_attributes.rb
* Switch to on-by-default XSS escaping for rails.Michael Koziarski2009-10-0836-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é Valim2009-10-071-1/+1
| | | | Signed-off-by: Carl Lerche <carllerche@mac.com>
* Rewrite ActiveModel::Lint as a simple TU mixinJoshua Peek2009-10-072-80/+38
|
* Fixed behavior of attribute_methods_generated? [#3220 state:resolved]Sam Pohlenz2009-10-072-1/+27
| | | | Signed-off-by: Joshua Peek <josh@joshpeek.com>
* Don't share attribute matchers between classes [#3216 state:resolved]Sam Pohlenz2009-10-072-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 anymoreYehuda Katz2009-10-071-2/+5
|
* Fix warning spewYehuda Katz2009-10-061-1/+3
|
* Call initialize_copy when cloning [#3164 state:resolved]Paul Gillard2009-10-062-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 directoriesMichael Koziarski2009-10-061-1/+0
|
* MessageVerifier#verify raises InvalidSignature if the signature is blankJeffrey Hardy2009-10-052-0/+7
| | | | Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* Coerce all out going body parts to StringsJoshua Peek2009-10-055-0/+72
|