Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | | minor fixes in the composed_of doc | Vijay Dev | 2011-10-22 | 1 | -3/+4 | |
| | | ||||||
* | | Remove extra white spaces on ActiveRecord docs. | Sebastian Martinez | 2011-05-23 | 1 | -1/+1 | |
|/ | ||||||
* | remove unnecessary module_eval | Aaron Patterson | 2011-01-18 | 1 | -25/+20 | |
| | ||||||
* | send() will raise an ArgumentError, so we should leverage ruby | Aaron Patterson | 2011-01-07 | 1 | -16/+6 | |
| | ||||||
* | no need for parens | Aaron Patterson | 2011-01-07 | 1 | -1/+1 | |
| | ||||||
* | use a hash for caching aggregations rather than ivars | Aaron Patterson | 2011-01-07 | 1 | -12/+6 | |
| | ||||||
* | method is never called with arguments | Aaron Patterson | 2011-01-07 | 1 | -4/+2 | |
| | ||||||
* | use persisted? instead of new_record? wherever possible | David Chelimsky | 2010-11-09 | 1 | -1/+1 | |
| | | | | | | | | | | | - persisted? is the API defined in ActiveModel - makes it easier for extension libraries to conform to ActiveModel APIs without concern for whether the extended object is specifically ActiveRecord [#5927 state:committed] Signed-off-by: Santiago Pastorino <santiago@wyeworks.com> | |||||
* | Use new finders syntax in docs. | Emilio Tagua | 2010-09-01 | 1 | -1/+1 | |
| | ||||||
* | Deletes trailing whitespaces (over text files only find * -type f -exec sed ↵ | Santiago Pastorino | 2010-08-14 | 1 | -48/+48 | |
| | | | | 's/[ \t]*$//' -i {} \;) | |||||
* | ensuring that documentation does not exceed 100 columns | Neeraj Singh | 2010-08-01 | 1 | -7/+6 | |
| | ||||||
* | ensuring that documentation does not exceed 100 columns | Neeraj Singh | 2010-07-31 | 1 | -51/+65 | |
| | ||||||
* | Remove deprecated block usage in composed_of. | Emilio Tagua | 2010-06-24 | 1 | -4/+2 | |
| | ||||||
* | Adds title and basic description where needed. | Rizwan Reza | 2010-06-15 | 1 | -0/+1 | |
| | ||||||
* | eliminate alias_method_chain from ActiveRecord | wycats | 2010-05-09 | 1 | -0/+1 | |
| | ||||||
* | fisting uninitialized ivar warnings. [#4198 state:resolved] | Aaron Patterson | 2010-03-16 | 1 | -0/+5 | |
| | | | | Signed-off-by: wycats <wycats@gmail.com> | |||||
* | Break up DependencyModule's dual function of providing a "depend_on" DSL and ↵ | Joshua Peek | 2009-05-28 | 1 | -1/+1 | |
| | | | | "included" block DSL into separate modules. But, unify both approaches under AS::Concern. | |||||
* | Use DependencyModule for included hooks in ActiveRecord | Bryan Helmkamp | 2009-05-11 | 1 | -3/+1 | |
| | ||||||
* | Merge docrails | Pratik Naik | 2008-10-05 | 1 | -2/+2 | |
| | ||||||
* | Expanded documentation for new composed_of options | Rob Anderton | 2008-09-10 | 1 | -10/+53 | |
| | | | | | Signed-off-by: Michael Koziarski <michael@koziarski.com> [#892 state:committed] | |||||
* | Added :constructor and :converter options to composed_of and deprecated the ↵ | Rob Anderton | 2008-09-10 | 1 | -31/+60 | |
| | | | | | | conversion block Signed-off-by: Michael Koziarski <michael@koziarski.com> | |||||
* | Merge docrails. | Pratik Naik | 2008-05-25 | 1 | -9/+9 | |
| | | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | |||||
* | Partial updates include only unsaved attributes. Off by default; set ↵ | Jeremy Kemper | 2008-03-31 | 1 | -2/+2 | |
| | | | | | | YourClass.partial_updates = true to enable. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9157 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | |||||
* | Support aggregations in finder conditions. Closes #10572. | Jeremy Kemper | 2008-01-19 | 1 | -0/+9 | |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8671 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | |||||
* | Ruby 1.9 compat: introduce ActiveSupport::FrozenObjectError normalize ↵ | Jeremy Kemper | 2007-12-29 | 1 | -1/+1 | |
| | | | | | | TypeError vs RuntimeError handling. Closes #10645 [Frederick Cheung] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8510 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | |||||
* | Ruby 1.9 compat: workaround module_eval bug. Closes #10641 [Frederick Cheung] | Jeremy Kemper | 2007-12-29 | 1 | -1/+1 | |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8507 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | |||||
* | Fix typos (closes #10378) | David Heinemeier Hansson | 2007-12-05 | 1 | -1/+1 | |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8301 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | |||||
* | Assigning an instance of a foreign class to a composed_of aggregate calls an ↵ | Jeremy Kemper | 2007-10-23 | 1 | -37/+26 | |
| | | | | | | optional conversion block. Refactor and simplify composed_of implementation. Closes #6322. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8003 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | |||||
* | Assigning nil to a composed_of aggregate also sets its immediate value to ↵ | Jeremy Kemper | 2007-10-23 | 1 | -2/+2 | |
| | | | | | | nil. Closes #9843. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8002 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | |||||
* | eval with __FILE__ and __LINE__ | Jeremy Kemper | 2007-10-10 | 1 | -5/+5 | |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7827 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | |||||
* | Formatting, grammar and spelling fixes for the associations documentation. ↵ | Michael Koziarski | 2007-08-28 | 1 | -11/+11 | |
| | | | | | | [seanhussey] Closes #8899 git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7368 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | |||||
* | Backed out of new_record? to new? transformation as it would screw up ↵ | David Heinemeier Hansson | 2006-09-05 | 1 | -1/+1 | |
| | | | | | | existing models that did boolean calls on "new" attributes [DHH] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5018 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | |||||
* | Deprecated ActiveRecord::Base.new_record? in favor of ↵ | David Heinemeier Hansson | 2006-09-05 | 1 | -1/+1 | |
| | | | | | | ActiveRecord::Base.new? (old version still works until Rails 2.0) [DHH] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5017 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | |||||
* | Grammar fix in aggregations rdoc. Closes #5613. | Jeremy Kemper | 2006-07-06 | 1 | -2/+2 | |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4561 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | |||||
* | Added :allow_nil option for aggregations (closes #5091) [ian.w.white@gmail.com] | David Heinemeier Hansson | 2006-05-21 | 1 | -16/+43 | |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4353 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | |||||
* | Replace superfluous name_to_class_name variant with camelize. [Marcel Molina ↵ | Marcel Molina | 2006-04-29 | 1 | -4/+1 | |
| | | | | | | Jr.] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4313 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | |||||
* | Reloading an instance refreshes its aggregations as well as its ↵ | Jeremy Kemper | 2005-12-08 | 1 | -0/+6 | |
| | | | | | | associations. References #3024. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3242 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | |||||
* | Added preliminary support for join models [DHH] Added preliminary support ↵ | David Heinemeier Hansson | 2005-12-03 | 1 | -2/+3 | |
| | | | | | | for polymorphic associations [DHH] Refactored associations to use reflections to get DRYer, beware, major refactoring -- double check before deploying anything with this (all tests pass, but..) git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3213 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | |||||
* | Fix docs (closes #2491) | David Heinemeier Hansson | 2005-10-26 | 1 | -4/+4 | |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2744 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | |||||
* | Refactored away all the legacy validate_options calls and replaced them with ↵ | David Heinemeier Hansson | 2005-09-09 | 1 | -7/+1 | |
| | | | | | | Hash#assert_valid_keys git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2167 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | |||||
* | Removed broken attempt to DRY module ClassMethod #970 | David Heinemeier Hansson | 2005-04-02 | 1 | -0/+5 | |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1069 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | |||||
* | Automatically extend the class which gets a module included with the ↵ | David Heinemeier Hansson | 2005-04-02 | 1 | -5/+0 | |
| | | | | | | ClassMethods module if it exists #970 [Lucas Carlson] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1068 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | |||||
* | Added better defaults for composed_of, so statements like composed_of ↵ | David Heinemeier Hansson | 2005-03-01 | 1 | -1/+2 | |
| | | | | | | :time_zone, :mapping => %w( time_zone time_zone ) can be written without the mapping part (it's now assumed) git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@821 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | |||||
* | Fixed documentation snafus #575, #576, #577, #585 | David Heinemeier Hansson | 2005-02-07 | 1 | -2/+2 | |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@525 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | |||||
* | Initial | David Heinemeier Hansson | 2004-11-24 | 1 | -0/+165 | |
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4 5ecf4fe2-1ee6-0310-87b1-e25e094e27de |