aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* dbconsole should not require a username for postgresql. [#207 state:resolved]Kyle Hargraves2008-05-161-1/+2
| | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* auto_link helper fails to recognize links separated by space. [#72 ↵Eugene Pimenov2008-05-162-1/+2
| | | | | | state:resolved] Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* Add rdoc task to activemodel. [#156 state:resolved]Jake Howerton2008-05-161-1/+13
| | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* Fixing test for named_scope through a has_many :throughRodrigo Kochenburger2008-05-151-2/+2
| | | | | The test that checks if a has_many :through association has access to named_scope had a typo and didn't have the proper fixtures loaded. [#190 state:resolved]
* Precompute TimeZone.us_zones [#199 state:resolved]Martin Eisenhardt2008-05-151-5/+4
| | | | Signed-off-by: Joshua Peek <josh@joshpeek.com>
* DRY associations code and improve eager loading tests.Pratik Naik2008-05-152-21/+9
|
* Make sure needed table joins are included :select option. [#110 state:resolved]John Devine2008-05-152-4/+21
| | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* Adding an example test case for pluralize for (y) -> (ies)Robby Russell2008-05-141-0/+2
|
* Don't fallback to just adding "'s" in TextHelper#pluralize, because the ↵Joshua Peek2008-05-142-93/+73
| | | | Inflector is always loaded.
* One last fix to test_filter_parameters_is_protected.Joshua Peek2008-05-141-1/+1
|
* Prefer string core_ext inflector methods over directly accessing Inflector.Joshua Peek2008-05-144-83/+83
|
* Clean up previously commited test.Joshua Peek2008-05-141-2/+2
|
* Improve test coverage for filter_parameters [José Valim]Joshua Peek2008-05-141-3/+3
|
* Protect #filter_parameters created by filter_parameter_logging [José Valim] ↵Joshua Peek2008-05-142-32/+39
| | | | [#196 state:resolved]
* Create a seperate file for ActiveSupport::OrderedHash.Joshua Peek2008-05-145-88/+89
|
* Added conditional support to caches_action [José Valim] [#166 state:resolved]Joshua Peek2008-05-142-31/+86
|
* Add ActiveRecord option to store the full class name on STI's type column, ↵Rodrigo Kochenburger2008-05-134-3/+42
| | | | | | allowing one to have STI subclasses in different namespaces [#114] Signed-off-by: rick <technoweenie@gmail.com>
* Fixed generator collisions for nested controller modules.Amol Hatwar2008-05-131-9/+16
| | | | Signed-off-by: Joshua Peek <josh@joshpeek.com>
* Add some test coverage for RailsControllerGenerator.Joshua Peek2008-05-132-10/+44
|
* Fix tests broken by mocha absence [#186 state:resolved]Tim Pope2008-05-131-9/+11
| | | | | | | Two ActiveRecord tests depended on mocha but were not marked as such. Place them in a use_mocha block so the test suite passes. Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* make CGI::Cookie handle deleting a cookie properlyRich Cavanaugh2008-05-132-1/+2
| | | | Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* Fix remote_function to escape apostrophes inside the remote url passed to ↵Andre Arko2008-05-132-1/+6
| | | | | | Ajax.Update. [#180 state:resolved] Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* Use 'public' schema path when connecting to 'postgres' database. [#170 ↵Tarmo Tänav2008-05-131-2/+2
| | | | | | state:resolved] Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* Include time zone offset in TimeWithZone#to_jsonDaniel Morrison2008-05-132-2/+2
|
* Merge branch 'master' of git@github.com:rails/railsrick2008-05-1372-140/+292
|\
| * Use 'postgres' database instead of 'template1'Tarmo Tänav2008-05-131-2/+2
| | | | | | | | | | | | | | | | The 'postgres' database is meant for use by utilities and third party applications. CONNECT permission to the 'template1' database is usually only available to superusers which is why 'postgres' should be preferred as users whith "CREATE DATABASE" permissions are not neccessarily superusers.
| * ScaffoldGenerator to create public/stylesheets if missing. [#165 state:resolved]Matthew Brindley2008-05-131-1/+2
| | | | | | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
| * Remove unnecessary DeprecatedInstanceVariable classPratik Naik2008-05-132-27/+0
| |
| * Dirty attributes aren't cleared if save fails. [#174 state:resolved]Xavier Noria2008-05-123-9/+30
| | | | | | | | Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
| * Don't double-escape cookie store data. Don't split cookie values with ↵Rich Cavanaugh2008-05-124-6/+26
| | | | | | | | | | | | newlines into an array. [#130 state:resolved] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
| * Simpler rescue_action conditionJeremy Kemper2008-05-121-4/+2
| |
| * Use #duplicable? instead of anonymous rescueJeremy Kemper2008-05-121-1/+1
| |
| * Ruby 1.9 compat: define __setobj__ for DelegatorJeremy Kemper2008-05-121-2/+6
| |
| * Remove AR::Base#attributes argument. [#52 state:resolved]Frederick Cheung2008-05-121-1/+1
| | | | | | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
| * Updated copyright yearsDavid Heinemeier Hansson2008-05-1117-17/+17
| |
| * Making ready for RC1 releaseDavid Heinemeier Hansson2008-05-1117-21/+21
| |
| * No more svn version numbers to rely on, use timestamps insteadDavid Heinemeier Hansson2008-05-111-1/+1
| |
| * Depend on latest RakeDavid Heinemeier Hansson2008-05-111-1/+1
| |
| * Merge branch 'master' of git@github.com:rails/railsPratik Naik2008-05-111-0/+5
| |\
| | * Added not to sanitize helper docs that it doesn't guarantee well-formed markup.Michael Schuerig2008-05-121-0/+5
| | | | | | | | | | | | | | | | | | Signed-off-by: Michael Koziarski <michael@koziarski.com> [#166 state:resolved]
| * | Ensure dbconsole respects erb in database.yml. [#157 state:resolved] [Andrew ↵Pratik Naik2008-05-111-1/+2
| |/ | | | | | | | | | | Bennett] Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
| * When preloading group by reflection rather than by class [#125 state:resolved]Frederick Cheung2008-05-112-6/+12
| | | | | | | | | | | | | | | | This avoids extra queries when several subclasses inherit the association from their parent class, while still coping with subclasses redefining associations. Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
| * Fix blank conditions on AssociationCollection#find. [#104 state:resolved]Jonathan Viney2008-05-112-1/+9
| | | | | | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
| * Add test for named_scope#proxy_options. [#97 state:resolved]Duncan Beevers2008-05-112-0/+18
| |
| * Ensure hm:t preloading honours reflection options. [#137 state:resolved]Frederick Cheung2008-05-114-5/+23
| | | | | | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
| * Remove unused JSON methods. [#164 state:resolved]Cheah Chu Yeow2008-05-112-29/+2
| | | | | | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
| * Added protection against duplicate migration names (Aslak Hellesøy) [#112 ↵Aslak Hellesøy2008-05-115-0/+32
| | | | | | | | state:resolved]
| * Fix validates_uniqueness_of for SQL keywords [#23 state:resolved]Alex MacCaw2008-05-114-1/+15
| | | | | | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
| * Fixed that forgery protection can be used without session tracking (Peter ↵David Heinemeier Hansson2008-05-111-0/+2
| | | | | | | | Jones) [#139 state:resolved]
| * Bug: Earlier Check for Session in Forgery ProtectionPeter Jones2008-05-112-3/+27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | The session is used by the form_authenticity_token method before it is tested to be valid. This patch moves a few lines around so that the session is validated first. Without this patch, if you try to use forgery protection with sessions turned off, you get this exception message: undefined method `session_id' for {}:Hash The patch includes a test that can be used to see this behavior before the request_forgery_protection.rb file is patched to fix it.