This project is archived and is in readonly mode.
[PATCH] Make has_one with :conditions hash scope build or creation of object with those conditions
-
CancelProfileIsBroken
- Tag changed from 2-3-stable, :conditions, has_one to 2-3-stable, :conditions, bugmash, has_one
-
John Pignata
+1 on the feature - this makes a lot of sense to also be a part of has_one associations.
-1 on the patch as I couldn't get it to cleanly apply to 2-3-stable. As this is a new feature and not a maintenance fix it should be written as a patch to master though anyway.
-
Anuj Dutta
- Tag changed from 2-3-stable, :conditions, bugmash, has_one to 2-3-stable, :conditions, bugmash, bugmash-patch, has_one
+1 on the feature - makes sense
-
Anuj Dutta
- Tag changed from 2-3-stable, :conditions, bugmash, bugmash-patch, has_one to 2-3-stable, :conditions, bugmash-patch, has_one
-
Anuj Dutta
- Tag changed from 2-3-stable, :conditions, bugmash-patch, has_one to 2-3-stable, :conditions, bugmash, bugmash-patch, has_one
-
Luciano G. Panaro
Taking a look at the patch - will fix it right away
-
Luciano G. Panaro
Updated patch for 2-3-stable and created patch for master.
-
Elomar França
+1 for this feature.
Both patches from luciano.panaro applied successfully.
-
Anuj Dutta
Patch applies successfully on 2-3-stable. Green on tests.
-
sr.iniv.t
+1 verified.
The patches apply cleanly and all tests pass. I've always wanted this feature on AR.
-
CancelProfileIsBroken
- Tag changed from 2-3-stable, :conditions, bugmash, bugmash-patch, has_one to 2-3-stable, :conditions, bugmash, bugmash-review, has_one
-
CancelProfileIsBroken
- Tag changed from 2-3-stable, :conditions, bugmash, bugmash-review, has_one to 2-3-stable, :conditions, bugmash-review, has_one
-
Repository
- State changed from new to committed
(from [14a6794a8ef9995c45a86e95c45d315c61087103]) Make has_one with :conditions hash scope build or creation of the associated object with those conditions
Signed-off-by: Michael Koziarski michael@koziarski.com
[#3088 [PATCH] Make has_one with :conditions hash scope build or creation of object ... state:committed] http://github.com/rails/rails/commit/14a6794a8ef9995c45a86e95c45d31... -
Repository
(from [4168f876238982d0d584006f50188071928a8b7f]) Make has_one with :conditions hash scope build or creation of the associated object with those conditions
Signed-off-by: Michael Koziarski michael@koziarski.com
[#3088 [PATCH] Make has_one with :conditions hash scope build or creation of object ... state:committed] http://github.com/rails/rails/commit/4168f876238982d0d584006f501880... -
Rizwan Reza
- Tag changed from 2-3-stable, :conditions, bugmash-review, has_one to 2-3-stable, :conditions, has_one
