aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Fix failing ARes isolated testsJoshua Peek2009-09-053-2/+6
|
* Fix warnings in AMoJoshua Peek2009-09-058-51/+10
|
* Fix failing AMo isolated testsJoshua Peek2009-09-054-0/+7
|
* Fix failing AS isolated testsJoshua Peek2009-09-054-3/+14
|
* Turn warnings on for AS isolated testsJoshua Peek2009-09-051-1/+1
|
* Fix a messed up merge commitMichael Koziarski2009-09-041-4/+0
|
* Clean tag attributes before passing through the escape_once logic.Michael Koziarski2009-09-041-1/+1
| | | | Addresses CVE-2009-3009
* Add verify and clean methods to ActiveSupport::Multibyte.Michael Koziarski2009-09-044-18/+239
| | | | | | | | | | | | When accepting character input from outside of your application you can't blindly trust that all strings are properly encoded. With these methods you can check incoming strings and clean them up if necessary. Signed-off-by: Michael Koziarski <michael@koziarski.com> Conflicts: activesupport/lib/active_support/multibyte.rb
* Fix timing attack vulnerability in ActiveSupport::MessageVerifier.Coda Hale2009-09-041-3/+16
| | | | | | Use a constant-time comparison algorithm to compare the candidate HMAC with the calculated HMAC to prevent leaking information about the calculated HMAC. Signed-off-by: Michael Koziarski <michael@koziarski.com>
* CookieStore should not be derived from Hash - reverting [#2268 state:resolved]Jay Pignata2009-09-031-1/+1
| | | | Signed-off-by: Joshua Peek <josh@joshpeek.com>
* Test for previous commit (we wrote it first, I swear)Yehuda Katz + Carl Lerche2009-09-031-0/+18
|
* Replace :formats => ["*/*"] with the default formats setYehuda Katz + Carl Lerche2009-09-031-0/+2
|
* Refactor ActionController to use find_template and template_exists?Yehuda Katz + Carl Lerche2009-09-035-10/+14
|
* Don't raise exceptions for missing javascript_include_tag or ↵Sam Pohlenz2009-09-032-6/+64
| | | | | | stylesheet_link_tag sources unless the :cache or :concat options are given. [#2738 state:resolved] Signed-off-by: Joshua Peek <josh@joshpeek.com>
* Remove a useless method in the fixture template classYehuda Katz + Carl Lerche2009-09-031-4/+0
|
* Refactor ActionView::ResolverYehuda Katz + Carl Lerche2009-09-038-134/+116
|
* Extract finding the template in AC to it's own methodYehuda Katz + Carl Lerche2009-09-031-3/+5
|
* If session_options[:id] is requested when using CookieStore, unmarshal the ↵Jay Pignata2009-09-032-5/+16
| | | | | | session to access it [#2268 state:resolved] Signed-off-by: Joshua Peek <josh@joshpeek.com>
* Vendor the latest version of the bundlerCarl Lerche2009-09-0330-811/+1389
|
* Add ActiveModel's ./pkg and ./doc to .gitignoreCarl Lerche2009-09-031-0/+2
|
* Revert "Assert primary key does not exist in habtm when the association is ↵Jeremy Kemper2009-09-025-15/+44
| | | | | | | | | | defined, instead of doing that everytime a record is inserted." Test failures on PostgreSQL. [#3128 state:open] This reverts commit da636809daca9c338200811d3590e446f57c8e81.
* Kill AMo observing wrap_with_notifications since ARes was only using itJoshua Peek2009-09-022-18/+12
|
* Don't try to log protected attribute removal if there's no logger defined ↵Jeffrey Hardy2009-09-021-1/+3
| | | | | | [#3135 state:resolved] Signed-off-by: Joshua Peek <josh@joshpeek.com>
* Remove ClassInheritableAttributes test case, already covered by ↵Jeffrey Hardy2009-09-021-32/+0
| | | | | | ActiveSupport [#3114 state:resolved] Signed-off-by: Joshua Peek <josh@joshpeek.com>
* Make Sam Ruby's test suite happyYehuda Katz2009-09-011-0/+4
|
* Fix the */* with Net::HTTP bug [#3100 state:resolved]Yehuda Katz + Carl Lerche2009-09-013-26/+16
|
* Add required dependencies on activemodelCarl Lerche2009-09-0110-11/+23
|
* Merge branch 'master' of git@github.com:rails/railsCarl Lerche2009-09-01161-6362/+992
|\
| * Assert primary key does not exist in habtm when the association is defined, ↵José Valim2009-09-015-45/+16
| | | | | | | | | | | | | | | | instead of doing that everytime a record is inserted. [#3128 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
| * ActionPack test helpers need to activate rack gemJoshua Peek2009-09-013-3/+11
| |
| * Railties test helpers need to activate rack gemJoshua Peek2009-09-013-1/+10
| |
| * Rails::Info doesn't require version for unwanted frameworksGeoff Buesing2009-09-011-2/+4
| | | | | | | | | | | | [#3124 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
| * Activate rack-test gem before it's required. This shouldn't be necessary, ↵Bryan Helmkamp2009-08-311-0/+2
| | | | | | | | but should fix the build for now
| * rack-test 0.4.2 has rack 1.1.pre goodies, we'll use it insteadJoshua Peek2009-08-315-311/+13
| |
| * Temp rack-test gem needs proper gem sourceJoshua Peek2009-08-311-0/+1
| |
| * Initializer middleware helper needs to require actioncontrollerJoshua Peek2009-08-311-0/+1
| |
| * Add rake gemspec and gemspecs to the repoYehuda Katz2009-08-3115-3/+293
| |
| * License, version, and gemspec for ActiveModel. Ship it!Joshua Peek2009-08-314-3/+74
| |
| * To make CI happy, use my edge rack-test gem (just for now)Joshua Peek2009-08-311-0/+2
| |
| * Restore rack gem dependencyJoshua Peek2009-08-311-1/+2
| |
| * Back off rack 1.1-pre and bundle in the new testing goodiesJoshua Peek2009-08-3155-5422/+300
| |
| * action_dispatch and action_view are just more autoloads, so its okay to ↵Joshua Peek2009-08-311-3/+2
| | | | | | | | require them
| * Switch over to rack-test gemJoshua Peek2009-08-319-642/+4
| |
| * SessionHash#update and SessionHash#delete are missing a call to load! [#3056 ↵Joshua Peek2009-08-311-0/+2
| | | | | | | | state:resolved]
| * added proc and symbol support to validates_numericality_of [#3049 ↵Kane2009-08-312-1/+38
| | | | | | | | | | | | state:resolved] Signed-off-by: Joshua Peek <josh@joshpeek.com>
| * Merge commit 'jose/generators'Yehuda Katz2009-08-313-3/+4
| |\
| | * Change div.attribute to div.field and add some _form to tests.José Valim2009-08-303-3/+4
| | |
| * | Duplicating the options hash in Date#advance to prevent modification of the ↵Jay Pignata2009-08-312-0/+7
| | | | | | | | | | | | | | | | | | original [#1133 state:resolved] Signed-off-by: Joshua Peek <josh@joshpeek.com>
| * | I added this feature so that a Map of changed fields could be retrievedJosh Sharpe2009-08-313-2/+101
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | after a model had been saved. This is useful in the after_save callback when you need to know what fields changed. At present there is no way to do this other than have code in the before_save callback that takes a copy of the changes Map, which I thought was a bit messy. Example. person = Person.find_by_name('bob') person.name = 'robert' person.changes # => {'name' => ['bob, 'robert']} person.save person.changes # => {} person.previous_changes # => {'name' => ['bob, 'robert']} person.reload person.previous_changes # => {} Signed-off-by: Joshua Peek <josh@joshpeek.com>
| * | Changing plugin loader to use blocks instead of Symbol#to_proc to ensure ↵Jay Pignata2009-08-301-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | tests run without activesupport [#3118 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>