Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Merge commit 'rails/master' | Emilio Tagua | 2009-08-10 | 146 | -395/+2326 |
|\ | | | | | | | | | | | | | Conflicts: activerecord/lib/active_record/calculations.rb activerecord/lib/active_record/connection_adapters/mysql_adapter.rb activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb | ||||
| * | find_cmd should return the full path of the db command | Kamal Fariz Mahyuddin | 2009-08-10 | 1 | -4/+8 |
| | | | | | | | | | | | | [#1488 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | ||||
| * | Introduce grouped_collection_select helper. | codeape | 2009-08-09 | 3 | -0/+103 |
| | | | | | | | | | | | | [#1249 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | ||||
| * | Correctly handle offsets in Multibyte::Chars#index and #rindex. | Erik Ostrom | 2009-08-09 | 2 | -4/+11 |
| | | | | | | | | | | | | | | | | The offset in codepoints was being passed directly to the wrapped string's index/rindex method. Now we translate the offset into bytes first. [#3028 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | ||||
| * | Add tests for scoping schema_migrations index by global table prefix and suffix | Cristi Balan | 2009-08-09 | 1 | -0/+18 |
| | | | | | | | | | | | | [#1543 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | ||||
| * | Use table prefix and suffix for schema_migrations index. | Tim Peters | 2009-08-09 | 1 | -1/+1 |
| | | | | | | | | | | | | [#1543 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | ||||
| * | Introduce validates_with to encapsulate attribute validations in a class. | Jeff Dean | 2009-08-09 | 6 | -1/+255 |
| | | | | | | | | | | | | [#2630 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | ||||
| * | Add support for errors in JSON format. | Fabien Jakimowicz | 2009-08-09 | 4 | -26/+83 |
| | | | | | | | | | | | | [#1956 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | ||||
| * | Fixing isolation test | Jay Pignata | 2009-08-09 | 1 | -1/+1 |
| | | | | | | | | | | | | [#3022 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | ||||
| * | Fix that JSON parser fails to read escaped backslashes. | Daniel Sheppard | 2009-08-09 | 2 | -4/+9 |
| | | | | | | | | | | | | [#973 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | ||||
| * | PostgreSQL: XML datatype support | Leonardo Borges | 2009-08-09 | 6 | -25/+81 |
| | | | | | | | | | | | | [#1874 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | ||||
| * | raises an exception on habtm join table inserts if join table contains a ↵ | Jaime Bellmyer | 2009-08-09 | 2 | -3/+26 |
| | | | | | | | | | | | | | | | | primary key. Caches this check to save time on subsequent inserts. [#2086 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | ||||
| * | raises exception (ActiveRecord::ConfigurationError with message) on habtm ↵ | Jaime Bellmyer | 2009-08-09 | 7 | -0/+99 |
| | | | | | | | | | | | | association creation if join table contains a primary key Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | ||||
| * | Fix that creating a table whose primary key prefix type is :table_name ↵ | Morgan Schweers | 2009-08-09 | 2 | -3/+3 |
| | | | | | | | | | | | | | | | | generates an incorrectly pluralized primary key. [#872 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | ||||
| * | Fix test dependency on taggings | Jeremy Kemper | 2009-08-09 | 1 | -1/+2 |
| | | |||||
| * | Fix that counter_cache breaks with has_many :dependent => :nullify. | Gabe da Silveira | 2009-08-09 | 4 | -3/+32 |
| | | | | | | | | | | | | [#1196 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | ||||
| * | AR should respect default values for MySQL BINARY and VARBINARY columns. | Jatinder Singh | 2009-08-09 | 2 | -2/+36 |
| | | | | | | | | | | | | [#1273 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | ||||
| * | Deprecate router generation "best match" sorting | Joshua Peek | 2009-08-09 | 5 | -13/+39 |
| | | |||||
| * | Fix that irregular plural inflections should not be double-pluralized: ↵ | Prem Sichanugrist | 2009-08-09 | 2 | -0/+13 |
| | | | | | | | | | | | | | | | | 'people'.pluralize should return 'people' not 'peoples'. [#1183 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | ||||
| * | Only load db/schema.rb if it exists; otherwise, display a message to run ↵ | Joshua Nichols | 2009-08-09 | 1 | -1/+5 |
| | | | | | | | | | | | | | | | | db:migrate or remove active_record in environment.rb. [#3012 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | ||||
| * | pare down core_ext dependency | Jeremy Kemper | 2009-08-09 | 1 | -2/+1 |
| | | |||||
| * | Add rindex to ActiveSupport::Multibyte::Chars. | Erik Ostrom | 2009-08-09 | 2 | -0/+20 |
| | | | | | | | | Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | ||||
| * | has_many :through create should not raise validation errors | railsbob | 2009-08-09 | 6 | -4/+45 |
| | | | | | | | | | | | | [#2934 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | ||||
| * | make private_and_public_methods unmemoizable [#2372 state:resolved] | jeem | 2009-08-09 | 2 | -1/+45 |
| | | | | | | | | Signed-off-by: Joshua Peek <josh@joshpeek.com> | ||||
| * | Support deep-merging HashWithIndifferentAccess. | Andrew Moreland | 2009-08-09 | 2 | -4/+17 |
| | | | | | | | | | | | | [#2732 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | ||||
| * | Make sure link_to generates the form with the specified :href if any [#2254 ↵ | Max Lapshin | 2009-08-10 | 2 | -1/+9 |
| | | | | | | | | | | | | state:resolved] Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | ||||
| * | Allow ho:through#build when the owner is a new record [#1749 state:resolved] | Tristan Dunn | 2009-08-10 | 2 | -3/+19 |
| | | | | | | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | ||||
| * | Prevent overwriting of table name in merging SQL conditions [#2949 ↵ | Tristan Dunn | 2009-08-10 | 3 | -2/+14 |
| | | | | | | | | state:resolved] | ||||
| * | Enable has_many :through for going through a has_one association on the join ↵ | Gabe da Silveira | 2009-08-10 | 7 | -6/+46 |
| | | | | | | | | | | | | model [#2719 state:resolved] Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | ||||
| * | Removed duplicated tests [#3026 state:resolved] | Arthur Zapparoli | 2009-08-10 | 1 | -18/+0 |
| | | | | | | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | ||||
| * | Model#human_attribute_name now accept symbols [#3025 status:resolved] | Arthur Zapparoli | 2009-08-09 | 2 | -1/+6 |
| | | | | | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
| * | Fixed to_label_tag to accept id attribute without changing for attribute ↵ | Matt Duncan | 2009-08-09 | 2 | -0/+17 |
| | | | | | | | | | | | | [#2660 status:resolved] Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
| * | Ensure ActiveResource#load works with numeric arrays [Grzegorz Forysinski, ↵ | Grzegorz Forysinski | 2009-08-09 | 2 | -2/+23 |
| | | | | | | | | | | | | | | | | Elad Meidar] [#2305 state:resolved] Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | ||||
| * | Make sure association conditions work with :include and :joins [#358 ↵ | Vladimir Meremyanin | 2009-08-09 | 2 | -3/+11 |
| | | | | | | | | | | | | state:resolved] Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | ||||
| * | Active Resource recognizes 410 as Resource Gone now [#2316 state:resolved] ↵ | Jordan Brough | 2009-08-09 | 6 | -1/+36 |
| | | | | | | | | | | | | [Jordan Brough, Jatinder Singh] Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | ||||
| * | No longer require database name for MySQL to allow cross database selects. | Tristan Dunn | 2009-08-09 | 2 | -6/+13 |
| | | | | | | | | | | | | [#1122 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | ||||
| * | Added both the documentation and a test case for the collection path name ↵ | Hugo Peixoto | 2009-08-09 | 2 | -2/+47 |
| | | | | | | | | | | | | | | | | customization feature. [#1218 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | ||||
| * | path_names could be used to customize collection actions too | Bence Nagy | 2009-08-09 | 1 | -1/+4 |
| | | | | | | | | Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | ||||
| * | Make ActiveResource#exists? work [#3020 state:resolved] | Jatinder Singh | 2009-08-09 | 2 | -2/+11 |
| | | | | | | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | ||||
| * | Added back support for destroying an association's object by id. [#2306 ↵ | Joshua Nichols | 2009-08-09 | 2 | -0/+23 |
| | | | | | | | | | | | | status:resolved] Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
| * | Improving test coverage for Range#sum [#2489] | José Valim | 2009-08-09 | 1 | -1/+1 |
| | | | | | | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | ||||
| * | Fix that Hash#to_xml and Array#to_xml shouldn't modify their options hashes ↵ | David Burger | 2009-08-09 | 4 | -0/+16 |
| | | | | | | | | | | | | [#672 state:resolved] Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | ||||
| * | With multiparameter date attributes, the behaviour when empty fields are ↵ | Hugo Peixoto | 2009-08-09 | 2 | -6/+55 |
| | | | | | | | | | | | | | | | | present is now coherent with the one described in the date_select documentation. [#1715 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | ||||
| * | Add ability to set SSL options on ARes connections. | Roy Nicholson | 2009-08-09 | 6 | -3/+152 |
| | | | | | | | | | | | | [#2370 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | ||||
| * | validate uniqueness with limit in utf8 | Elise Huard | 2009-08-09 | 2 | -1/+11 |
| | | | | | | | | | | | | [#2653 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | ||||
| * | Fix failing dependencies test relying on . being in LOAD_PATH | Jeremy Kemper | 2009-08-09 | 1 | -2/+4 |
| | | |||||
| * | Extract repetitive method | Jeremy Kemper | 2009-08-09 | 1 | -33/+37 |
| | | |||||
| * | Uses &:foo | Jeremy Kemper | 2009-08-09 | 1 | -0/+1 |
| | | |||||
| * | Fix standalone test missing developer fixture | Jeremy Kemper | 2009-08-09 | 1 | -1/+2 |
| | | |||||
| * | Added a uniqueness validation test that uses diacritics. | Hugo Peixoto | 2009-08-09 | 1 | -2/+2 |
| | | | | | | | | | | | | [#2883 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> |