aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/models/developer.rb
Commit message (Collapse)AuthorAgeFilesLines
* Fix a bug where default_scope was overriding attributes given on model ↵Henry Hsu2010-02-261-0/+5
| | | | | | initialization [#3218 status:resolved] Signed-off-by: José Valim <jose.valim@gmail.com>
* Rename named_scope to scopePratik Naik2010-01-181-2/+2
|
* Make sure default_scope#create checks for options[:conditions] [#2181 ↵Pratik Naik2009-05-181-0/+10
| | | | state:resolved] [James Le Cuirot]
* Fix default_scope to work in combination with named scopesTom Stuart2008-11-171-7/+7
| | | | Signed-off-by: David Heinemeier Hansson <david@loudthinking.com>
* Added default_scope to Base [#1381 state:committed] (Paweł Kondzior)Pratik Naik2008-11-161-0/+12
|
* Revert "Added default_scope to Base [#1381 state:committed] (Paweł ↵David Heinemeier Hansson2008-11-161-12/+0
| | | | | | Kondzior)" -- won't gel with threads. This reverts commit ff594b2bc94ff2a942fe6ca05672387722dee686.
* Added default_scope to Base [#1381 state:committed] (Paweł Kondzior)David Heinemeier Hansson2008-11-161-0/+12
|
* Fix generated WHERE IN query for named scopes. [#583 state:resolved]Philip Hallstrom2008-08-211-0/+2
| | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* Disable validations for associated belongs_to record by defaultPratik Naik2008-06-111-2/+2
|
* Add :validate option to associations. [#301 state:resolved]Jan De Poorter2008-06-111-0/+1
| | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* Calling ActiveRecord#inspect on an unloaded association won't wipe the ↵Andreas Neuhaus2008-05-081-0/+4
| | | | | | collection [#9 state:resolved] Signed-off-by: Joshua Peek <josh@joshpeek.com>
* move assets and modelsJeremy Kemper2008-01-181-0/+72
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8657 5ecf4fe2-1ee6-0310-87b1-e25e094e27de