Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Use <tt>Foo::Bar</tt> instead of +Foo::Bar+ | Mark Rushakof | 2012-04-27 | 1 | -1/+1 |
| | | | | | | | | The latter doesn't render as code in HTML output. Regex used in Rubymine to locate the latter form: (\+)(:*\w+:(?::|\w)+)(\+) | ||||
* | minor docs improvements | Oscar Del Ben | 2012-04-26 | 2 | -4/+4 |
| | |||||
* | Add documentation for validate options | Oscar Del Ben | 2012-04-26 | 1 | -0/+13 |
| | |||||
* | Enhance validations documentation | Oscar Del Ben | 2012-04-26 | 1 | -1/+1 |
| | |||||
* | Merge branch 'master' of github.com:lifo/docrails | Vijay Dev | 2012-04-25 | 2 | -6/+13 |
|\ | |||||
| * | fix code syntax | Oscar Del Ben | 2012-04-25 | 1 | -2/+2 |
| | | |||||
| * | Add include documentation to serialization | Oscar Del Ben | 2012-04-25 | 1 | -1/+6 |
| | | |||||
| * | improve serialization doc | Oscar Del Ben | 2012-04-25 | 1 | -4/+5 |
| | | |||||
| * | Correct documentation of SecurePassword | Oscar Del Ben | 2012-04-24 | 1 | -1/+2 |
| | | |||||
* | | Minor refactor of serializable hash | Oscar Del Ben | 2012-04-25 | 1 | -2/+1 |
| | | |||||
* | | Merge pull request #5841 from oscardelben/rename_count_observers | José Valim | 2012-04-24 | 1 | -1/+8 |
|\ \ | | | | | | | Rename Observing#count_observers to Observing#observers_count | ||||
| * | | Rename Observing#count_observers to Observing#observers_count | Oscar Del Ben | 2012-04-14 | 1 | -1/+8 |
| | | | |||||
* | | | Merge pull request #5966 from oscardelben/fix_secure_password_setter | José Valim | 2012-04-24 | 1 | -1/+1 |
|\ \ \ | | | | | | | | | Fix secure_password setter | ||||
| * | | | Fix secure_password setter | Oscar Del Ben | 2012-04-24 | 1 | -1/+1 |
| | |/ | |/| | |||||
* / | | Refactor SecurePassword#authenticate | Oscar Del Ben | 2012-04-24 | 1 | -5/+1 |
|/ / | |||||
* | | Improve observers documentation | Oscar Del Ben | 2012-04-18 | 1 | -0/+2 |
| | | |||||
* | | Merge branch 'master' of github.com:lifo/docrails | Vijay Dev | 2012-04-18 | 3 | -11/+12 |
|\ \ | |||||
| * | | Fix confusing example in ActiveModel::Errors | Thibaut Courouble | 2012-04-17 | 1 | -2/+2 |
| | | | |||||
| * | | fix ActiveModel::Validations::Callbacks doc | Jan Xie | 2012-04-15 | 1 | -1/+2 |
| | | | |||||
| * | | fix bad format [ci skip] | Michael de Silva | 2012-04-14 | 1 | -7/+7 |
| | | | |||||
| * | | Improve example in initializer | Oscar Del Ben | 2012-04-14 | 1 | -1/+1 |
| |/ | |||||
* / | Rename notify_observers argument *arg to *args to make it more clear | Oscar Del Ben | 2012-04-14 | 1 | -2/+2 |
|/ | | | | that the method accepts multiple arguments | ||||
* | Merge pull request #5736 from oscardelben/configuration_errors_reporting | Jon Leighton | 2012-04-11 | 1 | -3/+3 |
|\ | | | | | Add better errors reporting for ActiveModel::Configuration | ||||
| * | Add better errors reporting for ActiveModel::Configuration | Oscar Del Ben | 2012-04-04 | 1 | -3/+3 |
| | | |||||
* | | Updated/changed useless tr/gsubs | Jurriaan Pruis | 2012-04-03 | 1 | -1/+1 |
|/ | |||||
* | Don't include deprecation in AM::Naming anymore | Grant Hutchins | 2012-03-31 | 1 | -1/+0 |
| | |||||
* | Merge pull request #4904 from ask4prasath/refactor_dirty_module_with_helper | José Valim | 2012-03-28 | 1 | -1/+2 |
|\ | | | | | Changing active model dirty module helper method to more appropriate met... | ||||
| * | Changing active model dirty module helper method to more appropriate method ↵ | Prasath Venkatraman | 2012-02-06 | 1 | -1/+2 |
| | | | | | | | | | | | | | | | | with helper #4903 Changing active model dirty module helper method to more appropriate method with helper with Active Support Helper #4903 Changing active model dirty module helper method to more appropriate method with helper with Active Support Helper typo fixed #4903 | ||||
* | | Remove code duplication in InclusionValidator and ExclusionValidator. | Rafael Mendonça França | 2012-03-28 | 3 | -44/+39 |
| | | | | | | | | | | | | | | | | Orginal code by @jamescook Closes #1352 [Rafael Mendonça França + James Cook] | ||||
* | | Allow ActiveModel::Name to duck type | Piotr Sarnacki | 2012-03-28 | 1 | -4/+4 |
| | | |||||
* | | no need to freeze things all the time | Aaron Patterson | 2012-03-26 | 1 | -8/+7 |
| | | |||||
* | | ActiveModel::Name does not inherit from string | Lukasz Sarnacki | 2012-03-26 | 2 | -12/+17 |
| | | |||||
* | | Merge pull request #5374 from ↵ | José Valim | 2012-03-23 | 1 | -4/+1 |
|\ \ | | | | | | | | | | | | | nertzy/remove_deprecated_partial_path_from_active_model_naming Remove ActiveModel::Naming#partial_path | ||||
| * | | Remove ActiveModel::Naming#partial_path | Grant Hutchins | 2012-03-10 | 1 | -4/+1 |
| | | | | | | | | | It was deprecated in 3.2 | ||||
* | | | Speed up mass assignment by avoiding extra loops. | José Valim | 2012-03-16 | 1 | -7/+5 |
| | | | |||||
* | | | Revert "AM::MassAssingmentSecurity: improve performance" | José Valim | 2012-03-15 | 1 | -16/+18 |
| | | | | | | | | | | | | | | | | | | It introduces backwards incompatible changes in the API. This reverts commit 7d1379ffdbbaf01e99833dc06611b7e4f3799522. | ||||
* | | | AM::MassAssingmentSecurity: improve performance | Bogdan Gusiev | 2012-03-14 | 1 | -18/+16 |
| | | | |||||
* | | | Fix comments about to_partial_path | Grant Hutchins | 2012-03-10 | 1 | -2/+2 |
|/ / | |||||
* | | Rename variable to avoid using name "include" | Carlos Antonio da Silva | 2012-03-09 | 1 | -8/+4 |
| | | | | | | | | Better syntax highlight :) | ||||
* | | Remove Array#wrap usage in AMo serialization | Carlos Antonio da Silva | 2012-03-09 | 1 | -2/+1 |
| | | |||||
* | | Make sure serializable hash with :include always returns string keys | Carlos Antonio da Silva | 2012-03-09 | 1 | -2/+1 |
| | | |||||
* | | Added missing ActiveModel::Naming dependency. | Shane Hanna | 2012-03-09 | 1 | -0/+1 |
| | | | | | | | | | | ActiveModel::Name constructor expects to be able to call #blank? on a String but the core Object#blank? extension is never required. | ||||
* | | Merge branch 'master' of github.com:lifo/docrails | Vijay Dev | 2012-03-09 | 1 | -8/+10 |
|\ \ | |||||
| * | | Improve docs for attr_accessible|protected related to Hash#except|slice | Carlos Antonio da Silva | 2012-03-06 | 1 | -8/+10 |
| | | | |||||
* | | | minor corrections in AMo::Model docs [ci skip] | Vijay Dev | 2012-03-05 | 1 | -3/+3 |
|/ / | |||||
* | | Use public_send instead of send in ActiveModel::Model initialize | Guillermo Iguaran | 2012-03-03 | 1 | -1/+1 |
| | | |||||
* | | Add docs with usage examples for ActiveModel::Model | Carlos Antonio da Silva | 2012-03-03 | 1 | -1/+55 |
| | | | | | | | | | | Also add test to ensure basic model does not explode when initialized with nil. | ||||
* | | Add ActiveModel::Model, a mixin to make Ruby objects to work with AP inmediatly | Guillermo Iguaran | 2012-03-02 | 2 | -0/+23 |
| | | |||||
* | | Merge pull request #5130 from dlee/revised_patch_verb | Xavier Noria | 2012-02-22 | 1 | -3/+3 |
|\ \ | | | | | | | Add config.default_method_for_update to support PATCH | ||||
| * | | Add config.default_method_for_update to support PATCH | David Lee | 2012-02-22 | 1 | -3/+3 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | PATCH is the correct HTML verb to map to the #update action. The semantics for PATCH allows for partial updates, whereas PUT requires a complete replacement. Changes: * adds config.default_method_for_update you can set to :patch * optionally use PATCH instead of PUT in resource routes and forms * adds the #patch verb to routes to detect PATCH requests * adds #patch? to Request * changes documentation and comments to indicate support for PATCH This change maintains complete backwards compatibility by keeping :put as the default for config.default_method_for_update. |