Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Remove duplicated unique index name. | kennyj | 2012-07-14 | 1 | -4/+7 |
| | |||||
* | Remove instance level quote_value method. This method is private and also ↵ | kennyj | 2012-07-14 | 2 | -10/+3 |
| | | | | exists in class method. | ||||
* | Merge pull request #7045 from kennyj/remove_duplicated_code_20120714 | Rafael Mendonça França | 2012-07-13 | 1 | -11/+3 |
|\ | | | | | Remove duplicated code in the AR::Store. | ||||
| * | Remove duplicated code in the AR::Store. | kennyj | 2012-07-14 | 1 | -11/+3 |
| | | |||||
* | | revises RUNNING_UNIT_TESTS to delegate stuff to the contributing guide | Xavier Noria | 2012-07-13 | 1 | -11/+5 |
| | | |||||
* | | move the deprecated options into active_record_deprecated_finders | Jon Leighton | 2012-07-13 | 2 | -5/+2 |
| | | |||||
* | | stop using class_attribute where methods/inheritance will suffice. | Jon Leighton | 2012-07-13 | 9 | -55/+57 |
| | | |||||
* | | Merge pull request #7044 from kytrinyx/documentation-ar-unit-tests | Xavier Noria | 2012-07-13 | 1 | -0/+5 |
|\ \ | |/ |/| | Add note about needing mysql superuser for unit tests. | ||||
| * | Add link to relevant rails guide to Active Record unit test docs. | Katrina Owen | 2012-07-13 | 1 | -0/+3 |
| | | |||||
| * | Add note about needing mysql superuser for unit tests. | Katrina Owen | 2012-07-13 | 1 | -0/+2 |
|/ | |||||
* | Merge pull request #7043 from kytrinyx/documentation-ar-observer | Xavier Noria | 2012-07-13 | 1 | -0/+6 |
|\ | | | | | Add documentation for ActiveRecord::Observer. | ||||
| * | Add documentation for ActiveRecord::Observer. | Katrina Owen | 2012-07-13 | 1 | -0/+6 |
|/ | | | | The instructions about configuration covered only rails-specific usage. | ||||
* | extract deprecated association options to active_record_deprecated_finders | Jon Leighton | 2012-07-13 | 1 | -43/+0 |
| | |||||
* | Represent association scope options as AR::Relations insternally. | Jon Leighton | 2012-07-13 | 15 | -165/+191 |
| | |||||
* | fix assertion arguments order | Jon Leighton | 2012-07-13 | 1 | -2/+2 |
| | |||||
* | Allow associations to take a lambda which builds the scope | Jon Leighton | 2012-07-13 | 9 | -48/+69 |
| | |||||
* | support relations created with a table alias | Jon Leighton | 2012-07-13 | 3 | -2/+12 |
| | |||||
* | testing guide: start of a pass | Xavier Noria | 2012-07-12 | 1 | -49/+29 |
| | |||||
* | Merge pull request #7037 from evantravers/misspelling | Vijay Dev | 2012-07-12 | 1 | -2/+2 |
|\ | | | | | add second t to overwritten | ||||
| * | add second t to overwritten | Evan Travers | 2012-07-12 | 1 | -2/+2 |
|/ | | | | fixing a misspelling in the documentation | ||||
* | Merge pull request #7032 from necrodome/patch-1 | Vijay Dev | 2012-07-10 | 1 | -1/+1 |
|\ | | | | | Fix code comment to reflect its intent. | ||||
| * | Fix code comment to reflect its intent. | Selem Delul | 2012-07-11 | 1 | -1/+1 |
|/ | |||||
* | Merge pull request #7030 from robbkidd/dry_up_rename_table_tests | Carlos Antonio da Silva | 2012-07-10 | 1 | -18/+13 |
|\ | | | | | Add teardown method to AR::Mig::RenameTableTest | ||||
| * | Add teardown method to AR::Mig::RenameTableTest | Robb Kidd | 2012-07-10 | 1 | -18/+13 |
|/ | | | | | | | Dry up reseting the renamed table after each test. Also made use of the AR::Base.connection object already available from AR::MigrationTest#connection. | ||||
* | Fix indentation. | Piotr Sarnacki | 2012-07-11 | 1 | -4/+4 |
| | |||||
* | Don't raise an error if http auth token isn't well formatted | Piotr Sarnacki | 2012-07-11 | 2 | -4/+14 |
| | | | | | | | | | | | | | | When someone sends malformed authorization header, like: Authorization: Token foobar given token should be just ignored and resource should not be authorized, instead of raising error. Before this patch controller would return 401 header only for well formed tokens, like: Authorization: Token token=foobar and would return 500 in former case. | ||||
* | Raise a helpful error message on #mount misuse | Carl Lerche | 2012-07-10 | 2 | -0/+13 |
| | |||||
* | Merge pull request #7026 from rustygeldmacher/select_options_valid_html_master | Rafael Mendonça França | 2012-07-10 | 3 | -3/+17 |
|\ | | | | | Fixed bug creating invalid HTML in select options | ||||
| * | Fixed bug creating invalid HTML in select options | Rusty Geldmacher | 2012-07-10 | 3 | -3/+17 |
| | | | | | | | | | | | | When a select tag is created for a field with errors, then the inserted options will errantly have a <div class="field_with_errors"> wrapping them. | ||||
* | | Merge pull request #6874 from robbkidd/rename_sequences_too | Aaron Patterson | 2012-07-10 | 2 | -0/+20 |
|\ \ | |/ |/| | Rename default sequence when table is renamed? [AR:postgres] | ||||
| * | Update psql adapter to rename a default pkey sequence when renaming a table. | Robb Kidd | 2012-06-27 | 2 | -0/+20 |
| | | |||||
* | | Merge pull request #7022 from bogdan/validations_doc | Xavier Noria | 2012-07-10 | 9 | -119/+52 |
|\ \ | | | | | | | AM::Validations: remove documentation duplicates | ||||
| * | | AM::Validations: remove documentation duplicates | Bogdan Gusiev | 2012-07-10 | 9 | -119/+52 |
| | | | |||||
* | | | deprecate `describe` without a block. | Aaron Patterson | 2012-07-09 | 6 | -38/+17 |
|/ / | | | | | | | | | minitest/spec provides `describe`, so deprecate the rails version and have people use the superclass version | ||||
* | | Remove AS declarative extension from erb tag test | Carlos Antonio da Silva | 2012-07-08 | 1 | -3/+0 |
| | | | | | | | | | | The extension was removed in 22bc12ec374b8bdeb3818ca0a3eb787dd3ce39d8, making "test" an alias for minitest's "it". | ||||
* | | we still need `describe` as the implementation differs from minitest | Aaron Patterson | 2012-07-08 | 2 | -0/+24 |
| | | |||||
* | | Merge pull request #7004 from philiqq/master | Xavier Noria | 2012-07-08 | 6 | -7/+7 |
|\ \ | | | | | | | [Guide] Fix broken links | ||||
| * | | Fix broken links in 2.2 release notes, i18n, debugging, security, 2.3 ↵ | Philipp Franke | 2012-07-08 | 6 | -7/+7 |
| | | | | | | | | | | | | release notes, plugins | ||||
* | | | Merge pull request #6956 from lexmag/ref_migration_generator | Rafael Mendonça França | 2012-07-08 | 4 | -4/+103 |
|\ \ \ | | | | | | | | | Add references statements to migration generator | ||||
| * | | | Update migrations guide | Aleksey Magusev | 2012-07-08 | 1 | -0/+47 |
| | | | | | | | | | | | | | | | | | | | | Add a paragraph about references statements in migration generator and the subchapter "Supported type modifiers" | ||||
| * | | | Add references statements to migration generator | Aleksey Magusev | 2012-07-08 | 3 | -4/+56 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | AddXXXToYYY/RemoveXXXFromYYY migrations are produced with references statements, for instance rails g migration AddReferencesToProducts user:references supplier:references{polymorphic} will generate the migration with: add_reference :products, :user, index: true add_reference :products, :supplier, polymorphic: true, index: true | ||||
* | | | | minitest provides "it" and "describe" | Aaron Patterson | 2012-07-08 | 2 | -42/+4 |
| | | | | | | | | | | | | | | | | Remove rails implementation of describe, alias "test" to "it" | ||||
* | | | | minitest is a gem dep, so remove this conditional | Aaron Patterson | 2012-07-08 | 1 | -6/+0 |
| | | | | |||||
* | | | | Merge pull request #7003 from philiqq/master | Carlos Antonio da Silva | 2012-07-08 | 1 | -2/+2 |
|\ \ \ \ | | |/ / | |/| | | Fix Bleak House link in debugging guide. Closes #7002 | ||||
| * | | | fix broken bleak_house link | Philipp Franke | 2012-07-08 | 1 | -2/+2 |
| |/ / | |||||
* | | | Improve and fix AP changelog, sync release notes [ci skip] | Carlos Antonio da Silva | 2012-07-08 | 2 | -2/+14 |
| | | | |||||
* | | | Rename RouteInspector to RoutesInspector | Carlos Antonio da Silva | 2012-07-08 | 5 | -7/+6 |
| | | | | | | | | | | | | Follow the consistency defined in dbc43bc. | ||||
* | | | Remove RoutesInspector from railties, since it was moved to AP | Carlos Antonio da Silva | 2012-07-08 | 3 | -290/+0 |
| | | | | | | | | | | | | | | | Changes introduced in 7404cda9f61e41d52ce244d60abbf598684a96c4. Fix railties build. | ||||
* | | | Merge pull request #6998 from robin850/patch-1 | Carlos Antonio da Silva | 2012-07-08 | 1 | -2/+23 |
|\ \ \ | |/ / |/| | | Add few information on Fedora and CentOS [ci skip] | ||||
| * | | Add few information on Fedora and CentOS | Robin Dupret | 2012-07-08 | 1 | -2/+23 |
| | | |