Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | JSON: encode objects that don't have a native JSON representation using ↵ | Jeremy Kemper | 2010-04-26 | 3 | -7/+43 |
| | | | | to_hash, if available, instead of instance_values (the old fallback) or to_s (other encoders' default). Encode BigDecimal and Regexp encode as strings to conform with other encoders. Try to transcode non-UTF-8 strings. | ||||
* | Update CHANGELOG for include_root_in_json. | Jeremy Kemper | 2010-04-26 | 1 | -0/+5 |
| | |||||
* | Reuse Active Model serialization in Active Resource. [#2584 state:committed] | Santiago Pastorino | 2010-04-26 | 2 | -69/+25 |
| | | | | Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | ||||
* | Use explicit source encoding rather than forced UTF-8 from US-ASCII. | Santiago Pastorino | 2010-04-26 | 4 | -5/+4 |
| | | | | Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | ||||
* | Use Config::CONFIG['host_os'] instead of RUBY_PLATFORM [#4477 state:resolved] | Anil Wadghule | 2010-04-26 | 9 | -9/+17 |
| | | | | Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | ||||
* | Make db console work for all versions of ruby on Windows. | unknown | 2010-04-26 | 1 | -1/+2 |
| | | | | | | [#3999 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | ||||
* | extract ActionController::TestCase::Behavior | David Chelimsky | 2010-04-26 | 1 | -126/+133 |
| | | | | | | | | | | - this makes it possible for other test frameworks to hook into testing facilities provided by Rails without having to subclass AC::TestCase. [#4474 state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | No need to require test and rdoc tasks. | José Valim | 2010-04-26 | 1 | -3/+0 |
| | |||||
* | Ensure application rake tasks and generators are loaded after the ones ↵ | José Valim | 2010-04-26 | 4 | -2/+29 |
| | | | | specified in railties/engines/rails. [#4471 state:resolved] | ||||
* | Refactor tests by moving all middleware tests to the same place. | José Valim | 2010-04-26 | 4 | -120/+117 |
| | |||||
* | Revert "create option to include_root_in_json for ActiveResource [#2584 ↵ | Jeremy Kemper | 2010-04-25 | 2 | -32/+6 |
| | | | | | | | | | | state:committed]" This reverts commits 72f89b5d971b48a133c4c0af56fbeda35d738dae, 137d8e0b2fe9fcc4fdac6cbbd44ca010784e5972. Should reuse Active Model. [#2584 state:incomplete] | ||||
* | Action Pack: fix tests with -K*, work around Ruby 1.9.1 constant lookup. | Cezary Baginski | 2010-04-25 | 3 | -6/+6 |
| | | | | | | [#4473 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | ||||
* | Support fixtures for namespaced models [#2965 state:resolved] | Andrew White | 2010-04-25 | 9 | -7/+45 |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Fix validates_numericaly_of only integer error message [#4406 state:resolved] | reu | 2010-04-25 | 3 | -20/+28 |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | allow unsubscribe by name or subscription [#4433 state:resolved] | David Chelimsky | 2010-04-24 | 3 | -5/+38 |
| | | | | Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | ||||
* | Missed commit: explicit source encoding | Jeremy Kemper | 2010-04-24 | 1 | -1/+1 |
| | |||||
* | Explicit source encoding | Jeremy Kemper | 2010-04-24 | 1 | -0/+1 |
| | |||||
* | Remove quoted_string_prefix entirely since PostgreSQL was the only database ↵ | Jeremy Kemper | 2010-04-24 | 2 | -9/+5 |
| | | | | adapter relying on it. | ||||
* | Add a test for assert_recognizes on ActionDispatch::IntegrationTest [#4390 ↵ | Santiago Pastorino | 2010-04-24 | 2 | -1/+13 |
| | | | | | | state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | ||||
* | Make assert_recognizes work in IntegrationTest [#4390 state:committed] | Matthew Rudy Jacobs | 2010-04-24 | 1 | -1/+3 |
| | | | | | Signed-off-by: Santiago Pastorino <santiago@wyeworks.com> Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | ||||
* | PostgreSQL: always rely on pg driver for escape/unescape and quoting duties | Jeremy Kemper | 2010-04-24 | 1 | -88/+7 |
| | |||||
* | PostgreSQL: use standard-conforming strings if possible | Jeremy Kemper | 2010-04-24 | 1 | -30/+14 |
| | |||||
* | Rename fieldWithErrors style to field_with_errors. Remove unused alert style. | Jeremy Kemper | 2010-04-24 | 5 | -12/+10 |
| | |||||
* | Use Array.wrap to quiet 1.8.8 deprecation | Jeremy Kemper | 2010-04-24 | 1 | -3/+4 |
| | |||||
* | Drop support for postgres driver. Use pg >= 0.9.0. | Jeremy Kemper | 2010-04-24 | 2 | -16/+4 |
| | |||||
* | Ensure require and load are private - h/t apeiros | Jeremy Kemper | 2010-04-24 | 1 | -0/+1 |
| | |||||
* | Fix render :xml test (ht Simo Niemelä) | José Valim | 2010-04-24 | 1 | -2/+2 |
| | |||||
* | HWIA relies on Hash#symbolize_keys and #stringify_keys extensions. | Santiago Pastorino | 2010-04-22 | 1 | -0/+2 |
| | | | | Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | ||||
* | Change HWIA#stringify_keys to return a HWIA not a Hash | Jeremy Kemper | 2010-04-22 | 2 | -1/+4 |
| | |||||
* | Restore HWIA#stringify_keys! and update changelog | Jeremy Kemper | 2010-04-22 | 4 | -7/+8 |
| | |||||
* | HWIA symbolize_keys now returns a hash so no need to do this anymore | Santiago Pastorino | 2010-04-22 | 1 | -1/+1 |
| | | | | Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | ||||
* | Make ActionDispatch url_for use HWIA symbolize_keys | Santiago Pastorino | 2010-04-22 | 2 | -4/+8 |
| | | | | Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | ||||
* | HWIA delegates to to_hash symbolize_keys and stringify_keys and bang methods ↵ | Santiago Pastorino | 2010-04-22 | 2 | -4/+40 |
| | | | | | | are not in the api Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | ||||
* | Ensure that url_for uses symbolized keys in the controller. [#4391] | J Smith | 2010-04-22 | 2 | -1/+11 |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Speed up xml serializer by computing values just once and remove unecessary ↵ | José Valim | 2010-04-22 | 2 | -29/+17 |
| | | | | code duplication. | ||||
* | Always downstream given options in :json, :xml and :js renderers and add ↵ | José Valim | 2010-04-22 | 3 | -9/+37 |
| | | | | tests for it. | ||||
* | Clean up the config object in ActionPack. Create config_accessor which just ↵ | José Valim | 2010-04-22 | 18 | -226/+162 |
| | | | | delegates to the config object, reducing the number of deprecations and add specific tests. | ||||
* | params already has a setted controller and action here | Santiago Pastorino | 2010-04-21 | 1 | -1/+0 |
| | | | | Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | ||||
* | url_for now works with HashWithIndifferentAccess ht jay [#4391 state:committed] | Santiago Pastorino | 2010-04-21 | 2 | -1/+11 |
| | | | | Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | ||||
* | updates String#to_(date|date_time|time) to return nil for blank strings | Daniel Neighman | 2010-04-21 | 2 | -3/+9 |
| | |||||
* | Squash backtraces from Bundler.setup | Andre Arko | 2010-04-21 | 1 | -2/+6 |
| | |||||
* | Some require indifferent_access added | Santiago Pastorino | 2010-04-21 | 6 | -1/+7 |
| | | | | Signed-off-by: Xavier Noria <fxn@ubuntu.(none)> | ||||
* | require without .rb | Santiago Pastorino | 2010-04-21 | 1 | -1/+1 |
| | | | | Signed-off-by: Xavier Noria <fxn@ubuntu.(none)> | ||||
* | It should be possible to render :json with options | wycats | 2010-04-20 | 1 | -1/+1 |
| | |||||
* | TimeZones lazy load | Santiago Pastorino | 2010-04-20 | 1 | -24/+9 |
| | | | | Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | ||||
* | Build PredicateBuilder object only when needed | Pratik Naik | 2010-04-21 | 1 | -3/+1 |
| | |||||
* | Remove only formats in shortcuts and do it just once. | José Valim | 2010-04-20 | 1 | -4/+5 |
| | |||||
* | Move observers initialization to after_config blocks, they are still being ↵ | José Valim | 2010-04-20 | 1 | -13/+9 |
| | | | | initialized to early (before load paths are being set). | ||||
* | Switch to TimezoneProxy for later support of deferred TZ loading | Jeremy Kemper | 2010-04-20 | 3 | -9/+10 |
| | |||||
* | Missing requires added | Santiago Pastorino | 2010-04-20 | 1 | -0/+3 |
| | | | | Signed-off-by: Xavier Noria <fxn@hashref.com> |