Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Dont use Memoizable for ActionController::Request | Pratik Naik | 2009-01-27 | 4 | -76/+65 |
| | |||||
* | Improve i18n support for number_to_human_size helper: | Yaroslav Markin | 2009-01-27 | 4 | -23/+72 |
| | | | | | | | | | | | | * now using pluralization properly * storage unit translations moved to number.human.storage_units.units * introduced number.human.storage_units.format for languages that do not follow "{{number}} {{unit}}" format (Japanese) NOTE: I18n table changed, you will need to update your translations. [#1634 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | ||||
* | Ensure the full path is used when searching for layouts [#1803 state:resolved] | Joshua Peek | 2009-01-27 | 1 | -1/+1 |
| | |||||
* | Mysql#reconnect is set according to the 'reconnect' key in the connection spec. | Dov Murik | 2009-01-27 | 2 | -2/+31 |
| | | | | | | | | | | | | The 'reconenct' boolean option is read from the connection specification and is used to set the reconnect attribute of Mysql. The default is false in order not to change existing application behaviour. Also, reconnect is set AFTER real_connect is called, so its value sticks (the mysql gem sets reconnect to false inside real_connect). Signed-off-by: Michael Koziarski <michael@koziarski.com> [#1797 state:committed] | ||||
* | Fix for failing ActionMailer multipart tests | Joshua Peek | 2009-01-26 | 1 | -2/+2 |
| | |||||
* | Add localized templates | Joshua Peek | 2009-01-25 | 5 | -15/+67 |
| | | | | | | | | # Default locale app/views/messages/index.html.erb # I18n.locale is set to :da (Danish) app/views/messages/index.da.html.erb | ||||
* | add #available_locales to I18n and I18n::SimpleBackend, flatten translations ↵ | Sven Fuchs | 2009-01-25 | 3 | -1/+34 |
| | | | | | | load_path when loading translations [#1714 state:resolved] Signed-off-by: Joshua Peek <josh@joshpeek.com> | ||||
* | add an inspect method to OrderedHash to make it clear that it is not a ↵ | Greg Borenstein | 2009-01-26 | 1 | -0/+4 |
| | | | | | | | species of Array Signed-off-by: Michael Koziarski <michael@koziarski.com> [#1782 state:committed] | ||||
* | Adding AR tests for JDBC connections | Stephen Bannasch | 2009-01-26 | 7 | -2/+137 |
| | | | | | | | | | | | | | | | | | New connections: jdbcmysql jdbcpostgresql jdbcsqlite3 jdbcderby jdbch2 jdbchsqldb jdbcpostgresql To test you will need the native database installed (if one is required), activerecord-jdbc-adapter and the specific activerecord-jdbc<database>-adapter for the database you are testing. Run the tests like this: jruby -S rake test_jdbcmysql Signed-off-by: Michael Koziarski <michael@koziarski.com> [#1685 state:committed] | ||||
* | Remove the irrelevant fixture added in fe6ffce51dc16285094be49244b26591956c2dd6 | Pratik Naik | 2009-01-24 | 1 | -8/+0 |
| | |||||
* | Make sure inner scope conditions get a preference over the outer ones | Pratik Naik | 2009-01-24 | 5 | -3/+43 |
| | |||||
* | Fix the changelog entry | Pratik Naik | 2009-01-23 | 1 | -2/+2 |
| | |||||
* | Minor refactoring of validates_associated to replace #inject with #collect + ↵ | Josh Susser | 2009-01-22 | 1 | -1/+1 |
| | | | | | | #all? [#1686 state:committed] | ||||
* | Setup ActiveRecord QueryCache middleware in the initializer | Joshua Peek | 2009-01-21 | 2 | -5/+4 |
| | |||||
* | Only insert metal middleware if any exist | Joshua Peek | 2009-01-21 | 1 | -1/+3 |
| | |||||
* | Missed RequestParser in ff0a267 | Joshua Peek | 2009-01-21 | 1 | -1/+0 |
| | |||||
* | Allow empty files to be uploaded | Joshua Peek | 2009-01-20 | 4 | -4/+22 |
| | |||||
* | Add MiddlewareStack#swap | Joshua Peek | 2009-01-20 | 2 | -5/+16 |
| | | | | config.middleware.swap ActionController::Session::CookieStore, MySessionStore | ||||
* | Don't let empty Tempfiles come through as uploaded files [#1785 state:resolved] | Mislav Marohnić | 2009-01-20 | 3 | -1/+17 |
| | | | | Signed-off-by: Joshua Peek <josh@joshpeek.com> | ||||
* | Restore cookie store httponly default to true. Remove extraneous dup of ↵ | Cody Fauser | 2009-01-20 | 2 | -5/+3 |
| | | | | | | options on initialization [#1784 state:resolved] Signed-off-by: Joshua Peek <josh@joshpeek.com> | ||||
* | Deprecate ActionController::Base#session_enabled? | Pratik Naik | 2009-01-19 | 1 | -1/+1 |
| | |||||
* | Improve HTTP Basic authentication tests | Pratik Naik | 2009-01-18 | 2 | -54/+88 |
| | |||||
* | Merge docrails | Pratik Naik | 2009-01-18 | 83 | -14024/+11915 |
| | |||||
* | Bump up the year in MIT license files | Pratik Naik | 2009-01-18 | 12 | -12/+12 |
| | |||||
* | Remove script/performance/profiler in favour of performance integration tests. | Pratik Naik | 2009-01-18 | 5 | -178/+7 |
| | | | | | | To continue using script/performance/profiler, install the request_profiler plugin : script/plugin install git://github.com/rails/request_profiler.git | ||||
* | Add ActionMailer::Base#enable_starttls_auto option for enabling/disabling ↵ | Jose' Valim | 2009-01-18 | 2 | -7/+25 |
| | | | | | | STARTTLS. [#1731 state:resolved] Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | ||||
* | Build query string and POST params parser on top of Rack::Request. Also ↵ | Joshua Peek | 2009-01-17 | 12 | -333/+190 |
| | | | | switch our multipart parser to use Racks. Moved XML, JSON, and YAML parsers into ActionController::ParamsParser middleware [#1661 state:resolved] | ||||
* | Add test coverage for fixing Safari 2 trailing null character | Joshua Peek | 2009-01-17 | 1 | -0/+12 |
| | |||||
* | Refactor Object#try to use inheritance. [#1774 state:resolved] | Josh Susser | 2009-01-18 | 2 | -17/+30 |
| | | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | ||||
* | Fix has_and_belongs_to_many_associations tests. #1738 | Pratik Naik | 2009-01-18 | 2 | -3/+3 |
| | |||||
* | Decouple the local cache strategy from MemCacheStore for reuse with other ↵ | Lourens Naude | 2009-01-17 | 5 | -77/+137 |
| | | | | | | remote stores [#1653 state:resolved] Signed-off-by: Joshua Peek <josh@joshpeek.com> | ||||
* | Ensure any method sent to RewindableIO reads the original IO object [#1767 ↵ | Joshua Peek | 2009-01-17 | 2 | -25/+9 |
| | | | | state:resolved] | ||||
* | Lock middleware has been committed upstream | Joshua Peek | 2009-01-17 | 6 | -40/+46 |
| | |||||
* | Cache columns for has_and_belongs_to_many associations | lukeludwig | 2009-01-17 | 3 | -3/+28 |
| | | | | | This avoids repeatedly calling SHOW COLUMNS when the association is queried [#1738 state:committed] | ||||
* | Fix performance regression | Jeremy Kemper | 2009-01-16 | 2 | -2/+6 |
| | |||||
* | Skip respond_to check so rack.input doesn't have to implement it | Jeremy Kemper | 2009-01-16 | 1 | -2/+2 |
| | |||||
* | Make ActioMailer quoting test play nice with Ruby 1.9 [#1726 state:resolved] | Mike Gunderloy | 2009-01-16 | 1 | -2/+4 |
| | | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | ||||
* | Fix date_select within fields_for with an index [#1666 state:resolved] ↵ | Josh | 2009-01-16 | 2 | -20/+85 |
| | | | | | | [Josh, Frederick Cheung] Signed-off-by: Frederick Cheung <frederick.cheung@gmail.com> | ||||
* | Dup keys in OrderedHash to prevent them from being modified [#1676 ↵ | Brandon Keepers | 2009-01-16 | 2 | -10/+31 |
| | | | | | | state:resolved] Signed-off-by: Frederick Cheung <frederick.cheung@gmail.com> | ||||
* | Fix dirty handling of nullable non-integer numeric columns [#1692 ↵ | Carlos Kozuszko | 2009-01-16 | 2 | -0/+25 |
| | | | | | | state:resolved] Signed-off-by: Frederick Cheung <frederick.cheung@gmail.com> | ||||
* | Make belongs_to :dependent => :destroy destroy self before associated ↵ | Ben VandenBos | 2009-01-16 | 2 | -3/+4 |
| | | | | | | | | object [#1079 state:resolved] If foreign key constraints are in place then deleteing the associated object first will cause a foreign key violation Signed-off-by: Frederick Cheung <frederick.cheung@gmail.com> | ||||
* | Fix the AR json serialization tests to comply with the earlier change to ↵ | Michael Koziarski | 2009-01-16 | 1 | -1/+1 |
| | | | | quote keys correctly | ||||
* | Properly quote json keys. | Michael Koziarski | 2009-01-16 | 2 | -4/+4 |
| | | | | | According to the RFC and the json.org site all json keys must be strings, and those strings must be quoted with double quotes. [#1755 state:committed] | ||||
* | Added in a local per request cache to MemCacheStore. It acts as a buffer to ↵ | Nahum Wild | 2009-01-15 | 3 | -20/+167 |
| | | | | | | stop unneccessary requests being sent through to memcache [#1653 state:resolved] Signed-off-by: Joshua Peek <josh@joshpeek.com> | ||||
* | Fixed broken after_save callback; was being called when before_create was ↵ | Michael Lovitt | 2009-01-16 | 3 | -5/+48 |
| | | | | | | | canceled or before_update was canceled Signed-off-by: Michael Koziarski <michael@koziarski.com> [#1735 state:committed] | ||||
* | Fixing bug on ActiveRecord::Dirty#field_changed? for nullable numeric ↵ | Carlos Kozuszko | 2009-01-16 | 2 | -3/+3 |
| | | | | | | | columns, NULL gets stored in database for blank (i.e. '') values. Only integer columns were considered. Signed-off-by: Michael Koziarski <michael@koziarski.com> [#1692 state:committed] | ||||
* | Fix PostgreSQL unit test failures that only occur when using the old ↵ | Hongli Lai (Phusion) | 2009-01-13 | 3 | -12/+13 |
| | | | | | | | | 'postgres' driver. [#1748 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | ||||
* | Use Rack's MethodOverride lib [#1699 state:resolved] | Joshua Peek | 2009-01-13 | 4 | -27/+2 |
| | |||||
* | Update multipart tests to expose (another) bug in Rack's multipart parser | Joshua Peek | 2009-01-13 | 7 | -16/+34 |
| | |||||
* | Add RewindableInput wrapper to fix issues with middleware that impolitely ↵ | Joshua Peek | 2009-01-13 | 5 | -8/+128 |
| | | | | eat up non-rewindable input |