- 15 5月, 2011 1 次提交
-
-
由 Guillermo Iguaran 提交于
-
- 15 4月, 2011 1 次提交
-
-
由 Jon Leighton 提交于
-
- 11 4月, 2011 1 次提交
-
-
由 Prem Sichanugrist 提交于
There're a lot of places in Rails source code which make a lot of sense to switching to Object#in? or Object#either? instead of using [].include?.
-
- 28 3月, 2011 2 次提交
-
-
由 Sebastian Martinez 提交于
Signed-off-by: NSantiago Pastorino <santiago@wyeworks.com>
-
由 Sebastian Martinez 提交于
This reverts commit 45c233ef. Signed-off-by: NSantiago Pastorino <santiago@wyeworks.com>
-
- 26 3月, 2011 1 次提交
-
-
由 Sebastian Martinez 提交于
Signed-off-by: NSantiago Pastorino <santiago@wyeworks.com>
-
- 23 3月, 2011 1 次提交
-
-
由 Aaron Patterson 提交于
-
- 17 3月, 2011 1 次提交
-
-
由 Jon Leighton 提交于
-
- 01 3月, 2011 1 次提交
-
-
由 Jon Leighton 提交于
-
- 18 2月, 2011 1 次提交
-
-
由 Jon Leighton 提交于
Split AssociationProxy into an Association class (and subclasses) which manages the association, and a CollectionProxy class which is *only* a proxy. Singular associations no longer have a proxy. See CHANGELOG for more.
-
- 12 1月, 2011 2 次提交
-
-
由 Aaron Patterson 提交于
-
由 Jon Leighton 提交于
In a number of places in the tests, we only need to turn off transactional fixtures when the DB does not support savepoints. This speeds the test run up by about 8-9% on my computer, when running rake test_sqlite3_mem :)
-
- 04 1月, 2011 1 次提交
-
-
由 Jon Leighton 提交于
Let AssociationCollection#find use #scoped to do its finding. Note that I am removing test_polymorphic_has_many_going_through_join_model_with_disabled_include, since this specifies different behaviour for an association than for a regular scope. It seems reasonable to expect scopes and association proxies to behave in roughly the same way rather than having subtle differences.
-
- 24 12月, 2010 1 次提交
-
-
由 Jon Leighton 提交于
Raise an error for associations which try to go :through a polymorphic association [#6212 state:resolved]
-
- 21 12月, 2010 1 次提交
-
-
由 Aaron Patterson 提交于
-
- 16 12月, 2010 1 次提交
-
-
由 Jon Leighton 提交于
-
- 04 12月, 2010 1 次提交
-
-
由 Aaron Patterson 提交于
-
- 23 11月, 2010 1 次提交
-
-
由 Aaron Patterson 提交于
-
- 20 11月, 2010 1 次提交
-
-
由 Marcin Raczkowski 提交于
-
- 09 11月, 2010 1 次提交
-
-
由 David Chelimsky 提交于
- 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: NSantiago Pastorino <santiago@wyeworks.com>
-
- 14 10月, 2010 1 次提交
-
-
由 Jon Leighton 提交于
-
- 13 10月, 2010 1 次提交
-
-
由 Jon Leighton 提交于
Add some tests for functionality in JoinAssociation which already exists but was previously untested
-
- 06 10月, 2010 1 次提交
-
-
由 Jon Leighton 提交于
Refactoring JoinDependency and friends. This improves the code (IMO) including adding some explanatory comments, but more importantly structures it in such a way as to allow a JoinAssociation to produce an arbitrary number of actual joins, which will be necessary for nested has many through support. Also added 3 tests covering functionality which existed but was not previously covered.
-
- 26 9月, 2010 1 次提交
-
-
由 Bodaniel Jeanes 提交于
-
- 22 9月, 2010 1 次提交
-
-
由 Aaron Patterson 提交于
-
- 17 8月, 2010 1 次提交
-
-
由 Xavier Noria 提交于
code gardening: we have assert_(nil|blank|present), more concise, with better default failure messages - let's use them
-
- 14 8月, 2010 2 次提交
-
-
由 Santiago Pastorino 提交于
-
由 Santiago Pastorino 提交于
-
- 19 5月, 2010 1 次提交
-
-
由 Neeraj Singh 提交于
[#4645 state:resolved] Signed-off-by: NJosé Valim <jose.valim@gmail.com>
-
- 16 5月, 2010 1 次提交
-
-
由 Santiago Pastorino 提交于
Make use of assert_equal to test equallity between object assert expects and object and a message of error [#4611 state:committed] Signed-off-by: NJosé Valim <jose.valim@gmail.com>
-
- 16 3月, 2010 1 次提交
-
-
由 Aaron Patterson 提交于
Signed-off-by: Nwycats <wycats@gmail.com>
-
- 16 8月, 2009 1 次提交
-
-
由 Jay Pignata 提交于
Signed-off-by: NPratik Naik <pratiknaik@gmail.com>
-
- 10 8月, 2009 2 次提交
-
-
由 Gabe da Silveira 提交于
[#1196 state:committed] Signed-off-by: NJeremy Kemper <jeremy@bitsweat.net>
-
由 Gabe da Silveira 提交于
Enable has_many :through for going through a has_one association on the join model [#2719 state:resolved] Signed-off-by: NPratik Naik <pratiknaik@gmail.com>
-
- 07 8月, 2009 1 次提交
-
-
由 Raimonds Simanovskis 提交于
Oracle stores '' string as NULL Oracle cannot have identifiers larger than 30 characters added missing fixtures to test setup method
-
- 04 2月, 2009 1 次提交
-
-
由 Jeremy Kemper 提交于
-
- 17 8月, 2008 1 次提交
-
-
由 Tarmo Tänav 提交于
Signed-off-by: NPratik Naik <pratiknaik@gmail.com>
-
- 20 5月, 2008 1 次提交
-
-
由 Ryan Bates 提交于
Signed-off-by: NPratik Naik <pratiknaik@gmail.com>
-
- 06 4月, 2008 1 次提交
-
-
由 Pratik Naik 提交于
Refactor HasManyThroughAssociation to inherit from HasManyAssociation. Association callbacks and <association>_ids= now work with hm:t. Closes #11516 [rubyruy] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9230 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
-
- 02 4月, 2008 1 次提交
-
-
由 Rick Olson 提交于
Add efficient #include? to AssociationCollection (for has_many/has_many :through/habtm). [stopdropandrew] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9200 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
-