Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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 |
| | | | |||||
* | | | Merge pull request #6696 from schneems/schneems/sextant-routing-error | José Valim | 2012-07-08 | 8 | -10/+323 |
|\ \ \ | | | | | | | | | Show Routes while Debugging RoutingError | ||||
| * | | | show routes while debugging added to changelog | schneems | 2012-07-07 | 1 | -0/+2 |
| | | | | |||||
| * | | | move route_inspector to actionpack | @schneems and @mattt | 2012-07-07 | 6 | -10/+304 |
| | | | | | | | | | | | | | | | | this is so we can show route output in the development when we get a routing error. Railties can use features of ActionDispatch, but ActionDispatch should not depend on Railties. | ||||
| * | | | show routes while debugging RoutingError | schneems | 2012-07-07 | 2 | -3/+20 |
|/ / / | | | | | | | | | | If someone receives a routing error, they likely need to view the routes. Rather than making them visit '/rails/info/routes' or run `rake routes` we can give them that information on the page. | ||||
* | | | Merge branch 'master' of github.com:lifo/docrails | Vijay Dev | 2012-07-07 | 20 | -176/+258 |
|\ \ \ | |||||
| * | | | minor text change [ci skip] | Vijay Dev | 2012-07-07 | 1 | -1/+1 |
| | | | | |||||
| * | | | Revert "Add nodoc to relation methods" | Vijay Dev | 2012-07-07 | 1 | -22/+24 |
| | | | | | | | | | | | | | | | | | | | | | | | | This reverts commit c47a698d5d497340d4e349257522212173865838. Reason: Let's revert pending further discussions | ||||
| * | | | Add nodoc to relation methods | Oscar Del Ben | 2012-07-06 | 1 | -24/+22 |
| | | | | |||||
| * | | | add :nodoc: to internal implementations of AM::Validator [ci skip] | Francesco Rodriguez | 2012-07-06 | 2 | -3/+3 |
| | | | | |||||
| * | | | update ActiveModel::Serialization documentation [ci skip] | Francesco Rodriguez | 2012-07-06 | 1 | -14/+36 |
| | | | |