Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Fixing test for named_scope through a has_many :through | Rodrigo Kochenburger | 2008-05-15 | 1 | -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 Eisenhardt | 2008-05-15 | 1 | -5/+4 | |
| | | | | Signed-off-by: Joshua Peek <josh@joshpeek.com> | |||||
* | DRY associations code and improve eager loading tests. | Pratik Naik | 2008-05-15 | 2 | -21/+9 | |
| | ||||||
* | Make sure needed table joins are included :select option. [#110 state:resolved] | John Devine | 2008-05-15 | 2 | -4/+21 | |
| | | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | |||||
* | Adding an example test case for pluralize for (y) -> (ies) | Robby Russell | 2008-05-14 | 1 | -0/+2 | |
| | ||||||
* | Don't fallback to just adding "'s" in TextHelper#pluralize, because the ↵ | Joshua Peek | 2008-05-14 | 2 | -93/+73 | |
| | | | | Inflector is always loaded. | |||||
* | One last fix to test_filter_parameters_is_protected. | Joshua Peek | 2008-05-14 | 1 | -1/+1 | |
| | ||||||
* | Prefer string core_ext inflector methods over directly accessing Inflector. | Joshua Peek | 2008-05-14 | 4 | -83/+83 | |
| | ||||||
* | Clean up previously commited test. | Joshua Peek | 2008-05-14 | 1 | -2/+2 | |
| | ||||||
* | Improve test coverage for filter_parameters [José Valim] | Joshua Peek | 2008-05-14 | 1 | -3/+3 | |
| | ||||||
* | Protect #filter_parameters created by filter_parameter_logging [José Valim] ↵ | Joshua Peek | 2008-05-14 | 2 | -32/+39 | |
| | | | | [#196 state:resolved] | |||||
* | Create a seperate file for ActiveSupport::OrderedHash. | Joshua Peek | 2008-05-14 | 5 | -88/+89 | |
| | ||||||
* | Added conditional support to caches_action [José Valim] [#166 state:resolved] | Joshua Peek | 2008-05-14 | 2 | -31/+86 | |
| | ||||||
* | Add ActiveRecord option to store the full class name on STI's type column, ↵ | Rodrigo Kochenburger | 2008-05-13 | 4 | -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 Hatwar | 2008-05-13 | 1 | -9/+16 | |
| | | | | Signed-off-by: Joshua Peek <josh@joshpeek.com> | |||||
* | Add some test coverage for RailsControllerGenerator. | Joshua Peek | 2008-05-13 | 2 | -10/+44 | |
| | ||||||
* | Fix tests broken by mocha absence [#186 state:resolved] | Tim Pope | 2008-05-13 | 1 | -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 properly | Rich Cavanaugh | 2008-05-13 | 2 | -1/+2 | |
| | | | | Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | |||||
* | Fix remote_function to escape apostrophes inside the remote url passed to ↵ | Andre Arko | 2008-05-13 | 2 | -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änav | 2008-05-13 | 1 | -2/+2 | |
| | | | | | | state:resolved] Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | |||||
* | Include time zone offset in TimeWithZone#to_json | Daniel Morrison | 2008-05-13 | 2 | -2/+2 | |
| | ||||||
* | Merge branch 'master' of git@github.com:rails/rails | rick | 2008-05-13 | 72 | -140/+292 | |
|\ | ||||||
| * | Use 'postgres' database instead of 'template1' | Tarmo Tänav | 2008-05-13 | 1 | -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 Brindley | 2008-05-13 | 1 | -1/+2 | |
| | | | | | | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | |||||
| * | Remove unnecessary DeprecatedInstanceVariable class | Pratik Naik | 2008-05-13 | 2 | -27/+0 | |
| | | ||||||
| * | Dirty attributes aren't cleared if save fails. [#174 state:resolved] | Xavier Noria | 2008-05-12 | 3 | -9/+30 | |
| | | | | | | | | Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | |||||
| * | Don't double-escape cookie store data. Don't split cookie values with ↵ | Rich Cavanaugh | 2008-05-12 | 4 | -6/+26 | |
| | | | | | | | | | | | | newlines into an array. [#130 state:resolved] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | |||||
| * | Simpler rescue_action condition | Jeremy Kemper | 2008-05-12 | 1 | -4/+2 | |
| | | ||||||
| * | Use #duplicable? instead of anonymous rescue | Jeremy Kemper | 2008-05-12 | 1 | -1/+1 | |
| | | ||||||
| * | Ruby 1.9 compat: define __setobj__ for Delegator | Jeremy Kemper | 2008-05-12 | 1 | -2/+6 | |
| | | ||||||
| * | Remove AR::Base#attributes argument. [#52 state:resolved] | Frederick Cheung | 2008-05-12 | 1 | -1/+1 | |
| | | | | | | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | |||||
| * | Updated copyright years | David Heinemeier Hansson | 2008-05-11 | 17 | -17/+17 | |
| | | ||||||
| * | Making ready for RC1 release | David Heinemeier Hansson | 2008-05-11 | 17 | -21/+21 | |
| | | ||||||
| * | No more svn version numbers to rely on, use timestamps instead | David Heinemeier Hansson | 2008-05-11 | 1 | -1/+1 | |
| | | ||||||
| * | Depend on latest Rake | David Heinemeier Hansson | 2008-05-11 | 1 | -1/+1 | |
| | | ||||||
| * | Merge branch 'master' of git@github.com:rails/rails | Pratik Naik | 2008-05-11 | 1 | -0/+5 | |
| |\ | ||||||
| | * | Added not to sanitize helper docs that it doesn't guarantee well-formed markup. | Michael Schuerig | 2008-05-12 | 1 | -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 Naik | 2008-05-11 | 1 | -1/+2 | |
| |/ | | | | | | | | | | | Bennett] Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | |||||
| * | When preloading group by reflection rather than by class [#125 state:resolved] | Frederick Cheung | 2008-05-11 | 2 | -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 Viney | 2008-05-11 | 2 | -1/+9 | |
| | | | | | | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | |||||
| * | Add test for named_scope#proxy_options. [#97 state:resolved] | Duncan Beevers | 2008-05-11 | 2 | -0/+18 | |
| | | ||||||
| * | Ensure hm:t preloading honours reflection options. [#137 state:resolved] | Frederick Cheung | 2008-05-11 | 4 | -5/+23 | |
| | | | | | | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | |||||
| * | Remove unused JSON methods. [#164 state:resolved] | Cheah Chu Yeow | 2008-05-11 | 2 | -29/+2 | |
| | | | | | | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | |||||
| * | Added protection against duplicate migration names (Aslak Hellesøy) [#112 ↵ | Aslak Hellesøy | 2008-05-11 | 5 | -0/+32 | |
| | | | | | | | | state:resolved] | |||||
| * | Fix validates_uniqueness_of for SQL keywords [#23 state:resolved] | Alex MacCaw | 2008-05-11 | 4 | -1/+15 | |
| | | | | | | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | |||||
| * | Fixed that forgery protection can be used without session tracking (Peter ↵ | David Heinemeier Hansson | 2008-05-11 | 1 | -0/+2 | |
| | | | | | | | | Jones) [#139 state:resolved] | |||||
| * | Bug: Earlier Check for Session in Forgery Protection | Peter Jones | 2008-05-11 | 2 | -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. | |||||
| * | Fix generate_app_doc task (Jaroslaw) [#70 state:resolved] | David Heinemeier Hansson | 2008-05-11 | 1 | -1/+1 | |
| | | ||||||
| * | Added session(:on) to turn session management back on in a controller ↵ | David Heinemeier Hansson | 2008-05-11 | 2 | -0/+27 | |
| | | | | | | | | subclass if the superclass turned it off (Peter Jones) [#136 state:resolved] | |||||
| * | Added session(:on) to turn session management back on in a controller ↵ | David Heinemeier Hansson | 2008-05-11 | 1 | -0/+2 | |
| | | | | | | | | subclass if the superclass turned it off (Peter Jones) [#136 state:resolved] |