This project is archived and is in readonly mode.
has_many :through :conditions on join tables are ignored on create
-
Pascal Friederich
- Tag changed from activerecord, bug to activerecord, bug, patch
i made a patch on has_many_through_association.rb which adds the condition to the join table if a new object is added through the hmt association.
it only does if the value is a string.
The tests did all pass here but iam not a very experienced ruby programmer so please could you check this? maybe i'm totally wrong but at least i tried :)
-
Pascal Friederich
wrong email in patch.. its paukul@gmail.com (if it matters)
here's the right one
-
Pratik
- State changed from new to incomplete
- Assigned user set to Pratik
Patch is missing tests.
Thanks.
-
CancelProfileIsBroken
- Tag changed from activerecord, bug, patch to activerecord, bug, bugmash, patch
-
Pascal Friederich
that feature was already added by mattbauer with commit 83c1934003740ed01c618a8943457a0df53e2adb
-
CancelProfileIsBroken
- Tag changed from activerecord, bug, bugmash, patch to activerecord, bug, patch
- State changed from incomplete to resolved
Good catch, thanks!
-
Jeff Kreeftmeijer
- Tag changed from activerecord, bug, patch to activerecord bug patch
- Importance changed from to Low
Automatic cleanup of spam.
-
joson
A Replica Breitling is a timepiece of high quality and functionality and you will have all the class, prestige and luxury of a wealthy, successful individual. By choosing from our selection of luxury Replica Watches , you can improve your self-esteem and feel confident to enter new circles of business associates and friends. These Rolex Replicas will surely enhance your style and only you will know the watch you wear did not cost you $1,000's of dollars.
